mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
* amd64-tdep.c (amd64_init_frame_cache): Enhance comment describing
saved_regs.
This commit is contained in:
parent
52efb61a1c
commit
bba66b87ef
@ -1,3 +1,8 @@
|
||||
2009-11-05 Doug Evans <dje@google.com>
|
||||
|
||||
* amd64-tdep.c (amd64_init_frame_cache): Enhance comment describing
|
||||
saved_regs.
|
||||
|
||||
2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* top.c (execute_command): Select a frame before checking the current
|
||||
|
@ -1402,7 +1402,10 @@ amd64_init_frame_cache (struct amd64_frame_cache *cache)
|
||||
cache->pc = 0;
|
||||
|
||||
/* Saved registers. We initialize these to -1 since zero is a valid
|
||||
offset (that's where %rbp is supposed to be stored). */
|
||||
offset (that's where %rbp is supposed to be stored).
|
||||
The values start out as being offsets, and are later converted to
|
||||
addresses (at which point -1 is interpreted as an address, still meaning
|
||||
"invalid"). */
|
||||
for (i = 0; i < AMD64_NUM_SAVED_REGS; i++)
|
||||
cache->saved_regs[i] = -1;
|
||||
cache->saved_sp = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user