This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] multi-executable support
- From: Ken Werner <ken at linux dot vnet dot ibm dot com>
- To: gdb-patches at sourceware dot org, Pedro Alves <pedro at codesourcery dot com>
- Date: Tue, 20 Oct 2009 17:04:22 +0200
- Subject: Re: [commit] multi-executable support
- References: <200910191106.28905.pedro@codesourcery.com>
Pedro Alves wrote:
> On Tuesday 13 October 2009 14:40:47, Pedro Alves wrote:
>> ... I'll aim at applying this at the end of the week, say.
>
> Here's the patch that I just committed.
I noticed the gdb/go32-nat.c and gdb/remote-sim.c are calling
inferior_appeared_silent which is not declared by the inferior.h header. It
looks like this is a typo. The attached patch calls inferior_appeared
instead.
-ken
Index: src/gdb/go32-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/go32-nat.c,v
retrieving revision 1.78
diff -u -r1.78 go32-nat.c
--- src/gdb/go32-nat.c 19 Oct 2009 09:51:41 -0000 1.78
+++ src/gdb/go32-nat.c 20 Oct 2009 07:26:33 -0000
@@ -716,7 +716,7 @@
inferior_ptid = pid_to_ptid (SOME_PID);
inf = current_inferior ();
- inferior_appeared_silent (inf, SOME_PID);
+ inferior_appeared (inf, SOME_PID);
push_target (&go32_ops);
Index: src/gdb/remote-sim.c
===================================================================
RCS file: /cvs/src/src/gdb/remote-sim.c,v
retrieving revision 1.91
diff -u -r1.91 remote-sim.c
--- src/gdb/remote-sim.c 19 Oct 2009 09:51:41 -0000 1.91
+++ src/gdb/remote-sim.c 20 Oct 2009 07:26:33 -0000
@@ -471,7 +471,7 @@
sim_create_inferior (gdbsim_desc, exec_bfd, argv, env);
inferior_ptid = remote_sim_ptid;
- inferior_appeared_silent (current_inferior (), ptid_get_pid (inferior_ptid));
+ inferior_appeared (current_inferior (), ptid_get_pid (inferior_ptid));
add_thread_silent (inferior_ptid);
insert_breakpoints (); /* Needed to get correct instruction in cache */