diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-02-22 15:14:12 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-02-22 15:14:12 +0000 |
commit | 115d86cfaa1c3ecbf7ce54222a7622a2adb994f9 (patch) | |
tree | 8dd09675f52116311112b3da905d8049129539b7 | |
parent | fef862e5feb0560292cdf3a4406408833340f3d7 (diff) | |
download | gdb-115d86cfaa1c3ecbf7ce54222a7622a2adb994f9.zip gdb-115d86cfaa1c3ecbf7ce54222a7622a2adb994f9.tar.gz gdb-115d86cfaa1c3ecbf7ce54222a7622a2adb994f9.tar.bz2 |
* infrun.c (inferior_stop_reason, print_stop_reason): Remove
BREAKPOINT_HIT and STOP_UNKNOWN.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/infrun.c | 12 |
2 files changed, 5 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5d84add..a1bdf89 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2007-02-22 Markus Deuling <deuling@de.ibm.com> + * infrun.c (inferior_stop_reason, print_stop_reason): Remove + BREAKPOINT_HIT and STOP_UNKNOWN. + +2007-02-22 Markus Deuling <deuling@de.ibm.com> + * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT. 2007-02-20 Joel Brobecker <brobecker@adacore.com> diff --git a/gdb/infrun.c b/gdb/infrun.c index 7b1caee..1cdfadf 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -904,12 +904,8 @@ enum infwait_states to the interface from within handle_inferior_event(). */ enum inferior_stop_reason { - /* We don't know why. */ - STOP_UNKNOWN, /* Step, next, nexti, stepi finished. */ END_STEPPING_RANGE, - /* Found breakpoint. */ - BREAKPOINT_HIT, /* Inferior terminated by signal. */ SIGNAL_EXITED, /* Inferior exited. */ @@ -2986,10 +2982,6 @@ print_stop_reason (enum inferior_stop_reason stop_reason, int stop_info) { switch (stop_reason) { - case STOP_UNKNOWN: - /* We don't deal with these cases from handle_inferior_event() - yet. */ - break; case END_STEPPING_RANGE: /* We are done with a step/next/si/ni command. */ /* For now print nothing. */ @@ -3001,10 +2993,6 @@ print_stop_reason (enum inferior_stop_reason stop_reason, int stop_info) (uiout, "reason", async_reason_lookup (EXEC_ASYNC_END_STEPPING_RANGE)); break; - case BREAKPOINT_HIT: - /* We found a breakpoint. */ - /* For now print nothing. */ - break; case SIGNAL_EXITED: /* The inferior was terminated by a signal. */ annotate_signalled (); |