This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Disabling stack access for remote targets?


Debugging u-boot/bios direcly from reset using remote gdb can be a challenge.
One reason is that gdb insists on reading stack contents each time it stops execution.

This can be devastating for a board that hasn't initialized RAM yet.
Would it be possible for a remote target to inform gdb not to touch the
stack? In its simplest form one could just test for sp == 0

 Jocke


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]