projects
/
external
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c200990
)
(mi_cmd_data_list_register_values): Remove test for
author
Nick Roberts
<nickrob@snap.net.nz>
Mon, 13 Jun 2005 22:21:57 +0000
(22:21 +0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Mon, 13 Jun 2005 22:21:57 +0000
(22:21 +0000)
registers now that mi_execute_command rewinds after an error.
gdb/mi/mi-main.c
patch
|
blob
|
history
diff --git
a/gdb/mi/mi-main.c
b/gdb/mi/mi-main.c
index
e30901e
..
17c9c38
100644
(file)
--- a/
gdb/mi/mi-main.c
+++ b/
gdb/mi/mi-main.c
@@
-433,12
+433,6
@@
mi_cmd_data_list_register_values (char *command, char **argv, int argc)
format = (int) argv[0][0];
- if (!target_has_registers)
- {
- mi_error_message = xstrprintf ("mi_cmd_data_list_register_values: No registers.");
- return MI_CMD_ERROR;
- }
-
list_cleanup = make_cleanup_ui_out_list_begin_end (uiout, "register-values");
if (argc == 1) /* No args, beside the format: do all the regs */