This is the mail archive of the gdb-patches@sources.redhat.com 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] |
The attached patch changes init_remote_state() so that sizeof_g_packet computed using REGISTER_RAW_SIZE() instead of blindly set to DEPRECATED_REGISTER_BYTES. I'm assuming two things which I'm not sure are true: 1) REGISTER_RAW_SIZE() is usable for all targets now 2) REGISTER_RAW_SIZE() is valid when passed pseudo register. Ok to commit? Ted Roth 2003-06-03 Theodore A. Roth <troth@openavr.org> * remote.c (init_remote_state): Compute sizeof_g_packet by accumulation of the size of all registers instead of using DEPRECATED_REGISTER_BYTES.
Attachment:
sizeof-g-packet-fix.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |