aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-09-13 20:54:00 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-09-13 20:54:00 +0000
commit37c99ddb4ef28794e0f9cc37f02e239a1adaf881 (patch)
treeba70a74388336a485daa7964eae8e47fa041f9f8 /gdb/infcmd.c
parent54e3e909d2af84a5b1eedec6d7be06579dbe5a38 (diff)
downloadgdb-37c99ddb4ef28794e0f9cc37f02e239a1adaf881.zip
gdb-37c99ddb4ef28794e0f9cc37f02e239a1adaf881.tar.gz
gdb-37c99ddb4ef28794e0f9cc37f02e239a1adaf881.tar.bz2
* inferior.h, infrun.c, thread.c, infcmd.c: Remove all uses of
pc_changed. If it was ever set to a non-zero value, it was before GDB 2.8. It doesn't seem to have any useful function.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index d11b40d..ca5b00f 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -526,7 +526,7 @@ run_stack_dummy (addr, buffer)
if (stack_dummy_testing & 4)
{
POP_FRAME;
- return;
+ return(0);
}
proceed_to_finish = 1; /* We want stop_registers, please... */
proceed (addr, 0, 0);
@@ -918,7 +918,6 @@ write_pc (val)
#endif
#endif
#endif
- pc_changed = 0;
}
/* Cope with strage ways of getting to the stack and frame pointers */