Linux MIPS Architecture development
 help / color / mirror / Atom feed
* backtrace issues on GDB 5.3
@ 2003-11-27 13:26 Vince Bridgers
  2003-11-27 13:26 ` Vince Bridgers
  2003-11-28 15:34 ` Daniel Jacobowitz
  0 siblings, 2 replies; 5+ messages in thread
From: Vince Bridgers @ 2003-11-27 13:26 UTC (permalink / raw)
  To: linux-mips

I'm using GDB 5.3 for mipsel cross-compiled on an x86 box running RedHat
7.3. When I try to use the backtrace capability from GDB most of the
time I do not get a full stack context - I usually just get the function
I'm in at the time. I'm using GCC 3.2 to compile the kernel,
cross-compiled the same way. I've tried making sure the
omit-frame-pointer option and the "no instruction schedule" options are
on for when we do source level debugging with no joy.  

Does backtrace work for GCC and GDB cross compiled for mipsel? If so,
can someone briefly outline the "known good" configuration (GCC/GDB
versions, + relevant configuration options)?

TIA

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

* backtrace issues on GDB 5.3
  2003-11-27 13:26 backtrace issues on GDB 5.3 Vince Bridgers
@ 2003-11-27 13:26 ` Vince Bridgers
  2003-11-28 15:34 ` Daniel Jacobowitz
  1 sibling, 0 replies; 5+ messages in thread
From: Vince Bridgers @ 2003-11-27 13:26 UTC (permalink / raw)
  To: linux-mips

I'm using GDB 5.3 for mipsel cross-compiled on an x86 box running RedHat
7.3. When I try to use the backtrace capability from GDB most of the
time I do not get a full stack context - I usually just get the function
I'm in at the time. I'm using GCC 3.2 to compile the kernel,
cross-compiled the same way. I've tried making sure the
omit-frame-pointer option and the "no instruction schedule" options are
on for when we do source level debugging with no joy.  

Does backtrace work for GCC and GDB cross compiled for mipsel? If so,
can someone briefly outline the "known good" configuration (GCC/GDB
versions, + relevant configuration options)?

TIA

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

* Re: backtrace issues on GDB 5.3
  2003-11-27 13:26 backtrace issues on GDB 5.3 Vince Bridgers
  2003-11-27 13:26 ` Vince Bridgers
@ 2003-11-28 15:34 ` Daniel Jacobowitz
  1 sibling, 0 replies; 5+ messages in thread
From: Daniel Jacobowitz @ 2003-11-28 15:34 UTC (permalink / raw)
  To: Vince Bridgers; +Cc: linux-mips

On Thu, Nov 27, 2003 at 07:26:59AM -0600, Vince Bridgers wrote:
> I'm using GDB 5.3 for mipsel cross-compiled on an x86 box running RedHat
> 7.3. When I try to use the backtrace capability from GDB most of the
> time I do not get a full stack context - I usually just get the function
> I'm in at the time. I'm using GCC 3.2 to compile the kernel,
> cross-compiled the same way. I've tried making sure the
> omit-frame-pointer option and the "no instruction schedule" options are
> on for when we do source level debugging with no joy.  
> 
> Does backtrace work for GCC and GDB cross compiled for mipsel? If so,
> can someone briefly outline the "known good" configuration (GCC/GDB
> versions, + relevant configuration options)?

Not excellently, but definitely better - try the most recent GDB
release.

I have a number of ugly local patches that I hope to clean up for 6.1,
if I have time.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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

* RE: backtrace issues on GDB 5.3
@ 2003-12-01 20:34 Vince Bridgers
  2003-12-01 20:34 ` Vince Bridgers
  0 siblings, 1 reply; 5+ messages in thread
From: Vince Bridgers @ 2003-12-01 20:34 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: linux-mips

Tried it. It does work "better", but not "much better".

Thanks for the tip


-----Original Message-----
From: Daniel Jacobowitz [mailto:dan@debian.org] 
Sent: Friday, November 28, 2003 9:35 AM
To: Vince Bridgers
Cc: linux-mips@linux-mips.org
Subject: Re: backtrace issues on GDB 5.3

On Thu, Nov 27, 2003 at 07:26:59AM -0600, Vince Bridgers wrote:
> I'm using GDB 5.3 for mipsel cross-compiled on an x86 box running
RedHat
> 7.3. When I try to use the backtrace capability from GDB most of the
> time I do not get a full stack context - I usually just get the
function
> I'm in at the time. I'm using GCC 3.2 to compile the kernel,
> cross-compiled the same way. I've tried making sure the
> omit-frame-pointer option and the "no instruction schedule" options
are
> on for when we do source level debugging with no joy.  
> 
> Does backtrace work for GCC and GDB cross compiled for mipsel? If so,
> can someone briefly outline the "known good" configuration (GCC/GDB
> versions, + relevant configuration options)?

Not excellently, but definitely better - try the most recent GDB
release.

I have a number of ugly local patches that I hope to clean up for 6.1,
if I have time.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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

* RE: backtrace issues on GDB 5.3
  2003-12-01 20:34 Vince Bridgers
@ 2003-12-01 20:34 ` Vince Bridgers
  0 siblings, 0 replies; 5+ messages in thread
From: Vince Bridgers @ 2003-12-01 20:34 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: linux-mips

Tried it. It does work "better", but not "much better".

Thanks for the tip


-----Original Message-----
From: Daniel Jacobowitz [mailto:dan@debian.org] 
Sent: Friday, November 28, 2003 9:35 AM
To: Vince Bridgers
Cc: linux-mips@linux-mips.org
Subject: Re: backtrace issues on GDB 5.3

On Thu, Nov 27, 2003 at 07:26:59AM -0600, Vince Bridgers wrote:
> I'm using GDB 5.3 for mipsel cross-compiled on an x86 box running
RedHat
> 7.3. When I try to use the backtrace capability from GDB most of the
> time I do not get a full stack context - I usually just get the
function
> I'm in at the time. I'm using GCC 3.2 to compile the kernel,
> cross-compiled the same way. I've tried making sure the
> omit-frame-pointer option and the "no instruction schedule" options
are
> on for when we do source level debugging with no joy.  
> 
> Does backtrace work for GCC and GDB cross compiled for mipsel? If so,
> can someone briefly outline the "known good" configuration (GCC/GDB
> versions, + relevant configuration options)?

Not excellently, but definitely better - try the most recent GDB
release.

I have a number of ugly local patches that I hope to clean up for 6.1,
if I have time.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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

end of thread, other threads:[~2003-12-01 20:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-27 13:26 backtrace issues on GDB 5.3 Vince Bridgers
2003-11-27 13:26 ` Vince Bridgers
2003-11-28 15:34 ` Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2003-12-01 20:34 Vince Bridgers
2003-12-01 20:34 ` Vince Bridgers

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