- Remove the `original-location' patch as it has testsuite regressions.

This commit is contained in:
Jan Kratochvil 2008-08-01 14:31:40 +00:00
parent 3f974e0437
commit 0fc889748f
2 changed files with 4 additions and 81 deletions

View File

@ -1638,83 +1638,3 @@ gdb/
/* Shared library handling. */
set_gdbarch_skip_trampoline_code (gdbarch, ppc64_skip_trampoline_code);
set_solib_svr4_fetch_link_map_offsets
http://sourceware.org/ml/gdb-cvs/2008-04/msg00100.html
2008-04-17 Joel Brobecker <brobecker@adacore.com>
* breakpoint.c (print_one_breakpoint_location): Make sure to print
the breakpoint address only once.
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.308
retrieving revision 1.309
diff -u -r1.308 -r1.309
--- src/gdb/breakpoint.c 2008/04/15 14:32:12 1.308
+++ src/gdb/breakpoint.c 2008/04/17 22:43:17 1.309
@@ -3607,7 +3607,7 @@
annotate_field (4);
if (header_of_multiple)
ui_out_field_string (uiout, "addr", "<MULTIPLE>");
- if (b->loc == NULL || loc->shlib_disabled)
+ else if (b->loc == NULL || loc->shlib_disabled)
ui_out_field_string (uiout, "addr", "<PENDING>");
else
ui_out_field_core_addr (uiout, "addr", loc->address);
http://sourceware.org/ml/gdb-cvs/2008-04/msg00148.html
gdb/
2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
* breakpoint.c (print_one_breakpoint_location): In MI
mode, report the location string the breakpoint was
originally created with.
gdb/testsuite/
2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_runto_helper): Adjust
for the original-location field.
(mi_create_breakpoint, mi_list_breakpoints): New.
* gdb.mi/mi-break.exp: Adjust.
* gdb.mi/mi2-break.exp: Adjust.
* gdb.mi/mi-pending.exp: Adjust.
* gdb.mi/mi-simplerun.exp: Adjust.
* gdb.mi/mi2-simplerun.exp: Adjust.
* gdb.mi/mi-syn-frame.exp: Adjust.
* gdb.mi/mi2-syn-frame.exp: Adjust.
* gdb.mi/mi-until.exp: Adjust.
* gdb.mi/mi2-until.exp: Adjust.
* gdb.mi/mi-var-display.exp: Adjust.
* gdb.mi/mi2-var-display.exp: Adjust.
* gdb.mi/mi-watch.exp: Adjust.
* gdb.mi/mi2-watch.exp: Adjust.
[ REMOVED ]
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.310
retrieving revision 1.311
diff -u -r1.310 -r1.311
--- src/gdb/breakpoint.c 2008/04/18 00:41:28 1.310
+++ src/gdb/breakpoint.c 2008/04/24 08:46:18 1.311
@@ -3696,6 +3696,15 @@
print_command_lines (uiout, l, 4);
do_cleanups (script_chain);
}
+
+ if (ui_out_is_mi_like_p (uiout) && !part_of_multiple)
+ {
+ if (b->addr_string)
+ ui_out_field_string (uiout, "original-location", b->addr_string);
+ else if (b->exp_string)
+ ui_out_field_string (uiout, "original-location", b->exp_string);
+ }
+
do_cleanups (bkpt_chain);
do_cleanups (old_chain);
}

View File

@ -16,7 +16,7 @@ Version: 6.8
# The release always contains a leading reserved number, start it at 1.
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
Release: 15%{?_with_upstream:.upstream}%{?dist}
Release: 16%{?_with_upstream:.upstream}%{?dist}
License: GPLv3+
Group: Development/Debuggers
@ -795,6 +795,9 @@ fi
%endif
%changelog
* Fri Aug 1 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-16
- Remove the `original-location' patch as it has testsuite regressions.
* Fri Aug 1 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-15
- Fix register assignments with no GDB stack frames, Denys Vlasenko (BZ 436037).