This is the mail archive of the gdb-cvs@sourceware.org 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]

src/gdb ChangeLog remote-sim.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	palves@sourceware.org	2013-09-06 18:10:39

Modified files:
	gdb            : ChangeLog remote-sim.c 

Log message:
	remote-sim.c: Don't install a deprecated_xfer_memory method.
	
	Manually tested with a --target=arm-eabi build, and doing things like:
	
	$ arm-eabi-gcc ~/gdb/tests/main.c -o a.out -c -g
	$ ./gdb a.out
	...
	(gdb) tar sim
	(gdb) load
	(gdb) disassemble 0
	Dump of assembler code for function main:
	0x00000000 <+0>:     mov     r12, sp
	0x00000004 <+4>:     push    {r11, r12, lr, pc}
	0x00000008 <+8>:     sub     r11, r12, #4
	0x0000000c <+12>:    sub     sp, sp, #8
	0x00000010 <+16>:    str     r0, [r11, #-16]
	0x00000014 <+20>:    str     r1, [r11, #-20]
	0x00000018 <+24>:    mov     r3, #0
	0x0000001c <+28>:    mov     r0, r3
	0x00000020 <+32>:    sub     sp, r11, #12
	0x00000024 <+36>:    ldm     sp, {r11, sp, pc}
	End of assembler dump.
	(gdb) p *0 = 1
	0x00000001
	
	gdb/
	2013-09-06  Pedro Alves  <palves@redhat.com>
	
	* remote-sim.c (dump_mem): Constify buf parameter.
	gdbsim_xfer_inferior_memory): Rename to ...
	(gdbsim_xfer_memory): ... this.  Adjust interface as
	target_xfer_partial helper.
	(gdbsim_xfer_partial): New function.
	(init_gdbsim_ops): Don't install a deprecated_xfer_memory hook.
	Install a to_xfer_partial hook.  Send output to gdb_stdlog.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15988&r2=1.15989
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/remote-sim.c.diff?cvsroot=src&r1=1.123&r2=1.124


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]