1/1
gdb: backtrace and single-step?
by Unknown on Jan 14, 2004 |
Not available! | ||
Hi folks,
I'm currently working on gdb, and I have some problems. One, I don't get a stack backtrace. I digged fairly deep into gdb and found things that are going wrong, still I can't see what needs fixing. Two, I can't do single stepping. This seems to be caused by my code being in ROM. Has anyone done either of these two things successfully? Scott, would single-stepping with ROMmed code be possible? Heiko |
gdb: backtrace and single-step?
by Unknown on Jan 14, 2004 |
Not available! | ||
Not actually used backtrace much but I don't think it is working.
I can single step no problem but my code is in RAM. Obviously you can only
do ROM breakpoints if using the hardware debug unit, as RAM-based debugging
uses an exception to trap the breakpoint. Which environment are you using?
It strikes me that there will need to be specific support in perhaps both
gdb and the embedded gdb stubs for hardware breakpoints via JTAG and
hardware debug unit. I am using serial port connection and the files
provided with the eCos distribution for debug server; AFAICT this does not
support hardware-based debugging.
Robert Cragie, Design Engineer
_______________________________________________________________
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
http://www.jennic.com Tel: +44 (0) 114 281 2655
_______________________________________________________________
-----Original Message-----
From: openrisc-bounces@opencores.org
[mailto:openrisc-bounces@opencores.org]On Behalf Of Heiko Panther
Sent: 14 January 2004 16:12
To: openrisc@opencores.org; Scott Furman
Subject: [openrisc] gdb: backtrace and single-step?
Hi folks,
I'm currently working on gdb, and I have some problems. One, I don't get
a stack backtrace. I digged fairly deep into gdb and found things that
are going wrong, still I can't see what needs fixing. Two, I can't do
single stepping. This seems to be caused by my code being in ROM.
Has anyone done either of these two things successfully? Scott, would
single-stepping with ROMmed code be possible?
Heiko
_______________________________________________
http://www.opencores.org/mailman/listinfo/openrisc
|
1/1