aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/cli/cli-script.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4b14824..dcace77 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2011-03-04 Michael Snyder <msnyder@vmware.com>
+ Reverting this patch:
+ * cli/cli-script.c (script_from_file): Add break for lint.
+
+2011-03-04 Michael Snyder <msnyder@vmware.com>
+
* solib.c (reload_shared_libraries_1): Close memory leak.
2011-03-03 Tom Tromey <tromey@redhat.com>
diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c
index 459ea5a..5903015 100644
--- a/gdb/cli/cli-script.c
+++ b/gdb/cli/cli-script.c
@@ -1641,7 +1641,6 @@ script_from_file (FILE *stream, const char *file)
throw_error (e.error,
_("%s:%d: Error in sourced command file:\n%s"),
source_file_name, source_line_number, e.message);
- break; /* lint */
default:
internal_error (__FILE__, __LINE__, _("bad reason"));
}