This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog remote.c
- From: drow at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 8 Jun 2006 18:32:12 -0000
- Subject: src/gdb ChangeLog remote.c
CVSROOT: /cvs/src
Module name: src
Changes by: drow@sourceware.org 2006-06-08 18:32:12
Modified files:
gdb : ChangeLog remote.c
Log message:
* (struct remote_state): New type, only containing
buf and buf_size.
(remote_state): New variable.
(get_remote_state): New function.
(struct remote_arch_state): Renamed from struct remote_state.
Removed buf and buf_size.
(get_remote_arch_state): Renamed from get_remote_state. All
necessary callers updated to call this function.
(init_remote_state): Initialize the architecture-specific state.
Update the target-specific state if necessary.
(get_remote_packet_size): New function. All previous references
changed to use this accessor function.
(packet_reg_from_regnum, packet_reg_from_pnum): Take a
remote_arch_state instead of a remote_state. All callers changed.
(_initialize_remote): Initialize the packet buffer here.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.7761&r2=1.7762
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/remote.c.diff?cvsroot=src&r1=1.211&r2=1.212