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]

[commit] (breakpoint_sals_to_pc): Delete arg address, unused.


Hi.

fyi, I committed this cleanup.

2010-06-28  Doug Evans  <dje@google.com>

	* breakpoint.c (breakpoint_sals_to_pc): Delete arg address, unused.
	All callers updated.

Index: breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.493
diff -u -p -r1.493 breakpoint.c
--- breakpoint.c	24 Jun 2010 15:17:28 -0000	1.493
+++ breakpoint.c	28 Jun 2010 18:55:13 -0000
@@ -7223,8 +7223,7 @@ parse_breakpoint_sals (char **address,
    inserted as a breakpoint.  If it can't throw an error. */
 
 static void
-breakpoint_sals_to_pc (struct symtabs_and_lines *sals,
-		       char *address)
+breakpoint_sals_to_pc (struct symtabs_and_lines *sals)
 {    
   int i;
 
@@ -7462,7 +7461,7 @@ create_breakpoint (struct gdbarch *gdbar
   /* Resolve all line numbers to PC's and verify that the addresses
      are ok for the target.  */
   if (!pending)
-    breakpoint_sals_to_pc (&sals, addr_start);
+    breakpoint_sals_to_pc (&sals);
 
   type_wanted = (traceflag
 		 ? (hardwareflag ? bp_fast_tracepoint : bp_tracepoint)


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