Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: GNU
@ 1996-06-06  7:02 Craig Burley
  0 siblings, 0 replies; 7+ messages in thread
From: Craig Burley @ 1996-06-06  7:02 UTC (permalink / raw)


>Making "attach" work was a matter of a one-line patch (#define ATTACH
>or some such).  The binary at:
>
> ftp://ftp.azstarnet.com/pub/linux/axp/axpbin-gdb-4.16.tar.gz
>
>should work fine.

If that's the version I picked up May 25 at 2:00 AM EDT, then it
does have some problems.  Trying to use "next" to step through
code, I've had it just keep going until it hit some breakpoint
farther _up_ the stack (suggesting it didn't properly place the
temporary breakpoint for the "next").  I've also had it crash
on me when trying to print a member of a structure.

I've assumed these are known problems, but, if not, please let
me know what I should do next time I run into this.  Just emailing
in a debug session probably isn't much use, since I use Emacs' gud
mode, so there's no source code visible, and the executable I'm
usually debugging is around 9MB long.

BTW, the latest gdb _does_ fix the "p $f10" problem I reported,
where f10 had a denorm in it!  I've suggested to the gdb developers
that they change "info reg" to _first_ print the raw hex values,
in case gdb has trouble with the FP representation -- that way
you'd at least see the hex value before gdb gave up!

        tq vm, (burley)

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: GNU
@ 1996-06-07 14:19 Craig Burley
  0 siblings, 0 replies; 7+ messages in thread
From: Craig Burley @ 1996-06-07 14:19 UTC (permalink / raw)


I'll try and look into the gdb problems later, and see if
lack of -g, or non-constant integer division, might be the
culprit.  (Since this was gcc I was building, I wouldn't
think -g was omitted for anything, and I had been happily
"next"ing through the code until it suddenly acted like
I'd typed "continue" -- though I've seen that behavior in
gdb on other systems a few years back.)

Meanwhile, the f771 executable's .lita section is 0x167b0
bytes in size.

        tq vm, (burley)

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <199606060702.DAA28796@apple-gunkies.gnu.ai.mit.edu>]
* Re: GNU
@ 1996-06-06 15:12 David Mosberger-Tang
  0 siblings, 0 replies; 7+ messages in thread
From: David Mosberger-Tang @ 1996-06-06 15:12 UTC (permalink / raw)


>>>>> On Thu, 6 Jun 1996 03:02:59 -0400, Craig Burley <burley@gnu.ai.mit.edu> said:

  >> Making "attach" work was a matter of a one-line patch (#define
  >> ATTACH or some such).  The binary at:
  >> 
  >> ftp://ftp.azstarnet.com/pub/linux/axp/axpbin-gdb-4.16.tar.gz
  >> 
  >> should work fine.

  Craig> If that's the version I picked up May 25 at 2:00 AM EDT, then
  Craig> it does have some problems.  Trying to use "next" to step
  Craig> through code, I've had it just keep going until it hit some
  Craig> breakpoint farther _up_ the stack (suggesting it didn't
  Craig> properly place the temporary breakpoint for the "next").
  Craig> I've also had it crash on me when trying to print a member of
  Craig> a structure.

This is the behavior you'd get if part of the program has been
compiled without debugging info.  Typically, it happens when linking
against -lc instead of -lg.  Could this explain what you're seeing?

	--david

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: GNU
@ 1996-06-06  1:01 David Mosberger-Tang
  0 siblings, 0 replies; 7+ messages in thread
From: David Mosberger-Tang @ 1996-06-06  1:01 UTC (permalink / raw)


>>>>> On Wed, 5 Jun 1996 20:54:26 -0400 (EDT), Erik Troan <ewt@redhat.com> said:

  Erik> On Mon, 20 May 1996, Barry James wrote:
  >> I've been searching the archive to see if i could find anything,
  >> but haven't been able to turn up any results (with the exception
  >> of what I got from the linux mailing list archives, but they are
  >> in a state of turmoil right now and it only had one pointer to
  >> gnu axp-linux) on the status of the GDB on RedHat Linux AXP.
  >> Does anyone have any pointers on this?  Any help would be greatly
  >> appreciated.

  Erik> Afaik the gdb which shipped with 3.0.3 works fine, except for
  Erik> attaching to an already running process.

Making "attach" work was a matter of a one-line patch (#define ATTACH
or some such).  The binary at:

 ftp://ftp.azstarnet.com/pub/linux/axp/axpbin-gdb-4.16.tar.gz

should work fine.

	--david

^ permalink raw reply	[flat|nested] 7+ messages in thread
* GNU
@ 1996-05-20 19:08 Barry James
  1996-06-06  0:54 ` GNU Erik Troan
  0 siblings, 1 reply; 7+ messages in thread
From: Barry James @ 1996-05-20 19:08 UTC (permalink / raw)


I've been searching the archive to see if i could find anything, but 
haven't been able to turn up any results (with the exception of what I 
got from the linux mailing list archives, but they are in a state of 
turmoil right now and it only had one pointer to gnu axp-linux) on the 
status of the GDB on RedHat Linux AXP.  Does anyone have any pointers on 
this?  Any help would be greatly appreciated.

Regards,
Barry

Barry L James			|  Mikrotec Internet Services, Inc (AS3801)
Sr Internet Engineer		|  1001 Winchester Rd
bjames@mis.net			|  Lexington KY 40505
http://www.mis.net/		|  606/225.1488 (noc) x219 (corp HQ)
Qui desiderat pacem, praeparet bellum   -- Vegetius

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1996-06-07 14:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-06  7:02 GNU Craig Burley
  -- strict thread matches above, loose matches on Subject: below --
1996-06-07 14:19 GNU Craig Burley
     [not found] <199606060702.DAA28796@apple-gunkies.gnu.ai.mit.edu>
1996-06-06 22:39 ` GNU Richard Henderson
1996-06-06 15:12 GNU David Mosberger-Tang
1996-06-06  1:01 GNU David Mosberger-Tang
1996-05-20 19:08 GNU Barry James
1996-06-06  0:54 ` GNU Erik Troan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox