aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.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/infrun.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/infrun.c')
-rw-r--r--gdb/infrun.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 82cbb83..76ba71e 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -2727,15 +2727,10 @@ step_into_function (struct execution_control_state *ecs)
/* If the prologue ends in the middle of a source line, continue to
the end of that source line (if it is still within the function).
Otherwise, just go to end of prologue. */
-#ifdef PROLOGUE_FIRSTLINE_OVERLAP
- /* no, don't either. It skips any code that's legitimately on the
- first line. */
-#else
if (ecs->sal.end
&& ecs->sal.pc != ecs->stop_func_start
&& ecs->sal.end < ecs->stop_func_end)
ecs->stop_func_start = ecs->sal.end;
-#endif
if (ecs->stop_func_start == stop_pc)
{