aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-22 16:01:03 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-22 16:01:03 +0000
commit369864a44db723c61b3bc457e869abfe73ec7664 (patch)
treec46a376215c13018ed456942c3d5331a1d972d6a /gdb/symtab.c
parenta5a12285cc65e6c179d0be2ce54b505f3d19af37 (diff)
downloadgdb-369864a44db723c61b3bc457e869abfe73ec7664.zip
gdb-369864a44db723c61b3bc457e869abfe73ec7664.tar.gz
gdb-369864a44db723c61b3bc457e869abfe73ec7664.tar.bz2
2003-11-22 Andrew Cagney <cagney@redhat.com>
* config/powerpc/tm-linux.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete #if 0'ed macro. * infrun.c (step_into_function): Delete #ifdef PROLOGUE_FIRSTLINE_OVERLAP code. * symtab.c (find_function_start_sal): Ditto.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 76e436c..6e35e84 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -2314,10 +2314,6 @@ find_function_start_sal (struct symbol *sym, int funfirstline)
}
sal = find_pc_sect_line (pc, SYMBOL_BFD_SECTION (sym), 0);
-#ifdef PROLOGUE_FIRSTLINE_OVERLAP
- /* Convex: no need to suppress code on first line, if any */
- sal.pc = pc;
-#else
/* Check if SKIP_PROLOGUE left us in mid-line, and the next
line is still part of the same function. */
if (sal.pc != pc
@@ -2330,7 +2326,6 @@ find_function_start_sal (struct symbol *sym, int funfirstline)
sal = find_pc_sect_line (pc, SYMBOL_BFD_SECTION (sym), 0);
}
sal.pc = pc;
-#endif
return sal;
}