mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-12 22:46:16 +00:00
2013-03-04 Luis Machado <lgustavo@codesourcery.com>
* tracepoint.c (build_traceframe_info): Add code for byte order.
This commit is contained in:
parent
f75e0e336f
commit
e83b17baa4
@ -1,3 +1,7 @@
|
||||
2013-03-04 Luis Machado <lgustavo@codesourcery.com>
|
||||
|
||||
* tracepoint.c (build_traceframe_info): Add code for byte order.
|
||||
|
||||
2013-03-02 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* v850-tdep.c: (v850e2_register_name): Revise system register
|
||||
|
@ -4716,7 +4716,14 @@ build_traceframe_info (char blocktype, void *data)
|
||||
unsigned short mlen;
|
||||
|
||||
tfile_read ((gdb_byte *) &maddr, 8);
|
||||
maddr = extract_unsigned_integer ((gdb_byte *) &maddr, 8,
|
||||
gdbarch_byte_order
|
||||
(target_gdbarch ()));
|
||||
tfile_read ((gdb_byte *) &mlen, 2);
|
||||
mlen = (unsigned short)
|
||||
extract_unsigned_integer ((gdb_byte *) &mlen,
|
||||
2, gdbarch_byte_order
|
||||
(target_gdbarch ()));
|
||||
|
||||
r = VEC_safe_push (mem_range_s, info->memory, NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user