forked from Imagelibrary/binutils-gdb
gdb: make get_frame_register_bytes take the next frame
Similar to the previous patches, change get_frame_register_bytes to take the "next frame" instead of "this frame". Change-Id: Ie8f35042bfa6e93565fcefaee71b6b3903f0fe9f Reviewed-By: John Baldwin <jhb@FreeBSD.org>
This commit is contained in:
10
gdb/frame.h
10
gdb/frame.h
@@ -733,11 +733,11 @@ extern bool read_frame_register_unsigned (frame_info_ptr frame,
|
||||
extern void put_frame_register (frame_info_ptr next_frame, int regnum,
|
||||
gdb::array_view<const gdb_byte> buf);
|
||||
|
||||
/* Read LEN bytes from one or multiple registers starting with REGNUM
|
||||
in frame FRAME, starting at OFFSET, into BUF. If the register
|
||||
contents are optimized out or unavailable, set *OPTIMIZEDP,
|
||||
*UNAVAILABLEP accordingly. */
|
||||
extern bool get_frame_register_bytes (frame_info_ptr frame, int regnum,
|
||||
/* Read LEN bytes from one or multiple registers starting with REGNUM in
|
||||
NEXT_FRAME's previous frame, starting at OFFSET, into BUF. If the register
|
||||
contents are optimized out or unavailable, set *OPTIMIZEDP, *UNAVAILABLEP
|
||||
accordingly. */
|
||||
extern bool get_frame_register_bytes (frame_info_ptr next_frame, int regnum,
|
||||
CORE_ADDR offset,
|
||||
gdb::array_view<gdb_byte> buffer,
|
||||
int *optimizedp, int *unavailablep);
|
||||
|
||||
Reference in New Issue
Block a user