Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Xtensa port
@ 2006-09-22 18:30 Maxim Grigoriev
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Grigoriev @ 2006-09-22 18:30 UTC (permalink / raw)
  To: gdb

Hello everybody,

I just sent a basic Xtensa port to gdb-patches@sources.redhat.com.
If maintainers can evaluate this patch I'd really appreciate it.

If anybody has questions regarding GDB Xtensa support I'd be happy to 
answer you.

Maxim Grigoriev
Tensilica, Inc.
3255-6 Scott Boulevard
Santa Clara, CA 95054-3013
(w) 408-566-1770


^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <45142A88.7000805@hq.tensilica.com>]
* Xtensa port
@ 2006-09-28  1:15 Maxim Grigoriev
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Grigoriev @ 2006-09-28  1:15 UTC (permalink / raw)
  To: gdb

I just sent an updated patch with the following comments:

After some investigation, it turns out that the get_fp_num() function, 
which was "grubbing around in the private data structures of the symbol 
reader", is not needed at all.  Perhaps that code was left over from an 
earlier version of GDB. Stack unwinding on Xtensa can be done using the 
register windows -- it requires neither prologue analysis to find the 
frame pointer nor DWARF unwind info.  The only thing the get_fp_num() 
function was used for was identifying frames, but it seems like we can 
just use the stack pointer for the frame ID.  (Is that right?)  I've 
changed the code to do this and it appears to work fine: no DejaGnu 
regression has been detected, and manual testing on alloca-tests hasn't 
exposed anything.

The other suggestions that I've received so far were easy to use and 
I've done that.  By the way, I also removed the line to use the 
dwarf2_frame_sniffer, because DWARF unwind info is not currently used 
for Xtensa.

Maxim Grigoriev
Tensilica, Inc.
3255-6 Scott Boulevard
Santa Clara, CA 95054-3013
(w) 408-566-1770


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

end of thread, other threads:[~2006-09-28  1:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-22 18:30 Xtensa port Maxim Grigoriev
     [not found] <45142A88.7000805@hq.tensilica.com>
     [not found] ` <20060922190726.GA8221@nevyn.them.org>
2006-09-23  0:28   ` Maxim Grigoriev
2006-09-23 14:26     ` Daniel Jacobowitz
2006-09-28  1:15 Maxim Grigoriev

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