summaryrefslogtreecommitdiff
path: root/gdb/monitor.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2001-09-13 18:53:42 +0000
committerJim Blandy <jimb@codesourcery.com>2001-09-13 18:53:42 +0000
commit30abbf4610c1ce4c8d9b319a093d9b9ee54fd8ec (patch)
tree5d51b3592cdeeed783ed43202875bb54c8a4371d /gdb/monitor.c
parent51eaf82a64046076fd38aee18ed291017ae5b44e (diff)
downloadgdb-30abbf4610c1ce4c8d9b319a093d9b9ee54fd8ec.tar.gz
(monitor_load): Fix indentation.
Diffstat (limited to 'gdb/monitor.c')
-rw-r--r--gdb/monitor.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/gdb/monitor.c b/gdb/monitor.c
index d1a48f27dd6..060380616cb 100644
--- a/gdb/monitor.c
+++ b/gdb/monitor.c
@@ -2202,19 +2202,18 @@ monitor_load (char *file, int from_tty)
monitor_expect_prompt (NULL, 0);
}
-/* Finally, make the PC point at the start address */
-
+ /* Finally, make the PC point at the start address */
if (exec_bfd)
write_pc (bfd_get_start_address (exec_bfd));
inferior_ptid = null_ptid ; /* No process now */
-/* This is necessary because many things were based on the PC at the time that
- we attached to the monitor, which is no longer valid now that we have loaded
- new code (and just changed the PC). Another way to do this might be to call
- normal_stop, except that the stack may not be valid, and things would get
- horribly confused... */
-
+ /* This is necessary because many things were based on the PC at the
+ time that we attached to the monitor, which is no longer valid
+ now that we have loaded new code (and just changed the PC).
+ Another way to do this might be to call normal_stop, except that
+ the stack may not be valid, and things would get horribly
+ confused... */
clear_symtab_users ();
}