]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: rename find_pc_line_pc_range -> find_line_pc_range_for_pc
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 16 Oct 2025 00:08:00 +0000 (20:08 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 20 Oct 2025 19:12:38 +0000 (15:12 -0400)
Change-Id: Iff7590d9d4e914ae74ba4818f338e911f7ab5416
Approved-by: Kevin Buettner <kevinb@redhat.com>
gdb/infcmd.c
gdb/symtab.c
gdb/symtab.h

index bb929240978f9e12c6b5cb6f989cf47807ee82c9..285086ebb1c661cce968fce6f4cc7a8f5b599766 100644 (file)
@@ -964,9 +964,9 @@ prepare_one_step (thread_info *tp, struct step_command_fsm *sm)
            }
 
          pc = get_frame_pc (frame);
-         find_pc_line_pc_range (pc,
-                                &tp->control.step_range_start,
-                                &tp->control.step_range_end);
+         find_line_pc_range_for_pc (pc,
+                                    &tp->control.step_range_start,
+                                    &tp->control.step_range_end);
 
          if (execution_direction == EXEC_REVERSE)
            {
index 8a65fdfb226ab129fdc864a39da68c94f8cb5a67..f3377ff2a7eb722757d05cca02f17d8f26419142 100644 (file)
@@ -3505,7 +3505,7 @@ find_line_common (const linetable *l, int lineno,
 }
 
 bool
-find_pc_line_pc_range (CORE_ADDR pc, CORE_ADDR *startptr, CORE_ADDR *endptr)
+find_line_pc_range_for_pc (CORE_ADDR pc, CORE_ADDR *startptr, CORE_ADDR *endptr)
 {
   struct symtab_and_line sal;
 
index 795611eacf18097c0ee98ee07b53045f0821ba28..1d419dd16e680c59e54c74f4e2732c677e4ba97a 100644 (file)
@@ -2315,7 +2315,7 @@ extern struct compunit_symtab *find_compunit_symtab_for_pc (CORE_ADDR);
 extern struct compunit_symtab *
   find_compunit_symtab_for_pc_sect (CORE_ADDR, struct obj_section *);
 
-extern bool find_pc_line_pc_range (CORE_ADDR, CORE_ADDR *, CORE_ADDR *);
+extern bool find_line_pc_range_for_pc (CORE_ADDR, CORE_ADDR *, CORE_ADDR *);
 
 extern void reread_symbols (int from_tty);