This is the mail archive of the gdb-patches@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]

Re: [commit] multi-executable support


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 */


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