- Upgrade to the upstream gdb-6.8.50 snapshot.

This commit is contained in:
Jan Kratochvil 2008-12-14 14:43:40 +00:00
parent 407ebe9063
commit 23cdd3f2da
4 changed files with 121 additions and 255 deletions

View File

@ -1 +1 @@
gdb-6.8.50.20081209.tar.bz2 gdb-6.8.50.20081214.tar.bz2

View File

@ -5,10 +5,10 @@ http://sourceware.org/ml/gdb-patches/2008-07/msg00317.html
Removed dwarf_expr_frame_base NULL check duplicity with *-vla.patch. Removed dwarf_expr_frame_base NULL check duplicity with *-vla.patch.
Index: gdb-6.8.50.20081209/gdb/NEWS Index: gdb-6.8.50.20081214/gdb/NEWS
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/NEWS 2008-12-02 08:57:36.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/NEWS 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/NEWS 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/NEWS 2008-12-14 15:31:03.000000000 +0100
@@ -26,6 +26,9 @@ completions will be "f1" and "f2". @@ -26,6 +26,9 @@ completions will be "f1" and "f2".
operators when expanding macros. It also supports variable-arity operators when expanding macros. It also supports variable-arity
macros. macros.
@ -19,10 +19,10 @@ Index: gdb-6.8.50.20081209/gdb/NEWS
* New remote packets * New remote packets
qSearch:memory: qSearch:memory:
Index: gdb-6.8.50.20081209/gdb/block.c Index: gdb-6.8.50.20081214/gdb/block.c
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/block.c 2008-09-05 13:37:16.000000000 +0200 --- gdb-6.8.50.20081214.orig/gdb/block.c 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/block.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/block.c 2008-12-14 15:31:03.000000000 +0100
@@ -47,8 +47,16 @@ contained_in (const struct block *a, con @@ -47,8 +47,16 @@ contained_in (const struct block *a, con
{ {
if (!a || !b) if (!a || !b)
@ -65,10 +65,10 @@ Index: gdb-6.8.50.20081209/gdb/block.c
/* Return the blockvector immediately containing the innermost lexical /* Return the blockvector immediately containing the innermost lexical
block containing the specified pc value and section, or 0 if there block containing the specified pc value and section, or 0 if there
is none. PBLOCK is a pointer to the block. If PBLOCK is NULL, we is none. PBLOCK is a pointer to the block. If PBLOCK is NULL, we
Index: gdb-6.8.50.20081209/gdb/block.h Index: gdb-6.8.50.20081214/gdb/block.h
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/block.h 2008-09-05 13:37:16.000000000 +0200 --- gdb-6.8.50.20081214.orig/gdb/block.h 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/block.h 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/block.h 2008-12-14 15:31:03.000000000 +0100
@@ -65,7 +65,7 @@ struct block @@ -65,7 +65,7 @@ struct block
CORE_ADDR endaddr; CORE_ADDR endaddr;
@ -87,10 +87,10 @@ Index: gdb-6.8.50.20081209/gdb/block.h
extern int contained_in (const struct block *, const struct block *); extern int contained_in (const struct block *, const struct block *);
extern struct blockvector *blockvector_for_pc (CORE_ADDR, struct block **); extern struct blockvector *blockvector_for_pc (CORE_ADDR, struct block **);
Index: gdb-6.8.50.20081209/gdb/blockframe.c Index: gdb-6.8.50.20081214/gdb/blockframe.c
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/blockframe.c 2008-09-05 13:37:16.000000000 +0200 --- gdb-6.8.50.20081214.orig/gdb/blockframe.c 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/blockframe.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/blockframe.c 2008-12-14 15:31:03.000000000 +0100
@@ -36,6 +36,7 @@ @@ -36,6 +36,7 @@
#include "command.h" #include "command.h"
#include "gdbcmd.h" #include "gdbcmd.h"
@ -159,10 +159,10 @@ Index: gdb-6.8.50.20081209/gdb/blockframe.c
return frame; return frame;
frame = get_prev_frame (frame); frame = get_prev_frame (frame);
Index: gdb-6.8.50.20081209/gdb/breakpoint.c Index: gdb-6.8.50.20081214/gdb/breakpoint.c
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/breakpoint.c 2008-12-10 01:28:28.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/breakpoint.c 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/breakpoint.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/breakpoint.c 2008-12-14 15:31:03.000000000 +0100
@@ -2572,19 +2572,21 @@ watchpoint_check (void *p) @@ -2572,19 +2572,21 @@ watchpoint_check (void *p)
within_current_scope = 1; within_current_scope = 1;
else else
@ -340,10 +340,10 @@ Index: gdb-6.8.50.20081209/gdb/breakpoint.c
bp_until); bp_until);
make_cleanup_delete_breakpoint (breakpoint2); make_cleanup_delete_breakpoint (breakpoint2);
} }
Index: gdb-6.8.50.20081209/gdb/buildsym.c Index: gdb-6.8.50.20081214/gdb/buildsym.c
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/buildsym.c 2008-08-21 20:40:34.000000000 +0200 --- gdb-6.8.50.20081214.orig/gdb/buildsym.c 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/buildsym.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/buildsym.c 2008-12-14 15:31:03.000000000 +0100
@@ -1159,6 +1159,12 @@ end_symtab (CORE_ADDR end_addr, struct o @@ -1159,6 +1159,12 @@ end_symtab (CORE_ADDR end_addr, struct o
struct symbol *sym; struct symbol *sym;
struct dict_iterator iter; struct dict_iterator iter;
@ -357,10 +357,10 @@ Index: gdb-6.8.50.20081209/gdb/buildsym.c
for (sym = dict_iterator_first (BLOCK_DICT (block), &iter); for (sym = dict_iterator_first (BLOCK_DICT (block), &iter);
sym != NULL; sym != NULL;
sym = dict_iterator_next (&iter)) sym = dict_iterator_next (&iter))
Index: gdb-6.8.50.20081209/gdb/doc/gdb.texinfo Index: gdb-6.8.50.20081214/gdb/doc/gdb.texinfo
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/doc/gdb.texinfo 2008-12-10 01:28:28.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/doc/gdb.texinfo 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/doc/gdb.texinfo 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/doc/gdb.texinfo 2008-12-14 15:31:03.000000000 +0100
@@ -147,6 +147,7 @@ software in general. We will miss him. @@ -147,6 +147,7 @@ software in general. We will miss him.
* Stack:: Examining the stack * Stack:: Examining the stack
* Source:: Examining source files * Source:: Examining source files
@ -510,10 +510,10 @@ Index: gdb-6.8.50.20081209/gdb/doc/gdb.texinfo
@node Macros @node Macros
@chapter C Preprocessor Macros @chapter C Preprocessor Macros
Index: gdb-6.8.50.20081209/gdb/dwarf2loc.c Index: gdb-6.8.50.20081214/gdb/dwarf2loc.c
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/dwarf2loc.c 2008-12-10 01:22:11.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/dwarf2loc.c 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/dwarf2loc.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/dwarf2loc.c 2008-12-14 15:31:03.000000000 +0100
@@ -31,6 +31,7 @@ @@ -31,6 +31,7 @@
#include "regcache.h" #include "regcache.h"
#include "objfiles.h" #include "objfiles.h"
@ -534,10 +534,10 @@ Index: gdb-6.8.50.20081209/gdb/dwarf2loc.c
/* If we found a frame-relative symbol then it was certainly within /* If we found a frame-relative symbol then it was certainly within
some function associated with a frame. If we can't find the frame, some function associated with a frame. If we can't find the frame,
Index: gdb-6.8.50.20081209/gdb/dwarf2read.c Index: gdb-6.8.50.20081214/gdb/dwarf2read.c
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/dwarf2read.c 2008-12-10 01:28:28.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/dwarf2read.c 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/dwarf2read.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/dwarf2read.c 2008-12-14 15:31:03.000000000 +0100
@@ -45,6 +45,7 @@ @@ -45,6 +45,7 @@
#include "hashtab.h" #include "hashtab.h"
#include "command.h" #include "command.h"
@ -656,10 +656,10 @@ Index: gdb-6.8.50.20081209/gdb/dwarf2read.c
attr = dwarf2_attr (die, DW_AT_location, cu); attr = dwarf2_attr (die, DW_AT_location, cu);
if (attr) if (attr)
{ {
Index: gdb-6.8.50.20081209/gdb/frame-unwind.c Index: gdb-6.8.50.20081214/gdb/frame-unwind.c
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/frame-unwind.c 2008-05-06 20:37:46.000000000 +0200 --- gdb-6.8.50.20081214.orig/gdb/frame-unwind.c 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/frame-unwind.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/frame-unwind.c 2008-12-14 15:31:03.000000000 +0100
@@ -21,6 +21,7 @@ @@ -21,6 +21,7 @@
#include "frame.h" #include "frame.h"
#include "frame-unwind.h" #include "frame-unwind.h"
@ -680,10 +680,10 @@ Index: gdb-6.8.50.20081209/gdb/frame-unwind.c
return table; return table;
} }
Index: gdb-6.8.50.20081209/gdb/frame.c Index: gdb-6.8.50.20081214/gdb/frame.c
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/frame.c 2008-12-10 01:27:33.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/frame.c 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/frame.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/frame.c 2008-12-14 15:31:03.000000000 +0100
@@ -41,8 +41,14 @@ @@ -41,8 +41,14 @@
#include "objfiles.h" #include "objfiles.h"
#include "exceptions.h" #include "exceptions.h"
@ -1049,10 +1049,10 @@ Index: gdb-6.8.50.20081209/gdb/frame.c
deprecated_update_frame_pc_hack (struct frame_info *frame, CORE_ADDR pc) deprecated_update_frame_pc_hack (struct frame_info *frame, CORE_ADDR pc)
{ {
if (frame_debug) if (frame_debug)
Index: gdb-6.8.50.20081209/gdb/frame.h Index: gdb-6.8.50.20081214/gdb/frame.h
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/frame.h 2008-08-26 19:40:24.000000000 +0200 --- gdb-6.8.50.20081214.orig/gdb/frame.h 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/frame.h 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/frame.h 2008-12-14 15:31:03.000000000 +0100
@@ -34,6 +34,9 @@ @@ -34,6 +34,9 @@
frame_unwind_WHAT...(): Unwind THIS frame's WHAT from the NEXT frame_unwind_WHAT...(): Unwind THIS frame's WHAT from the NEXT
frame. frame.
@ -1129,10 +1129,10 @@ Index: gdb-6.8.50.20081209/gdb/frame.h
/* FIXME: cagney/2002-12-18: Has the frame's base changed? Or to be /* FIXME: cagney/2002-12-18: Has the frame's base changed? Or to be
more exact, was that initial guess at the frame's base as returned more exact, was that initial guess at the frame's base as returned
by the deleted read_fp() wrong? If it was, fix it. This shouldn't by the deleted read_fp() wrong? If it was, fix it. This shouldn't
Index: gdb-6.8.50.20081209/gdb/gdbthread.h Index: gdb-6.8.50.20081214/gdb/gdbthread.h
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/gdbthread.h 2008-11-17 13:13:49.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/gdbthread.h 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/gdbthread.h 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/gdbthread.h 2008-12-14 15:31:03.000000000 +0100
@@ -83,6 +83,13 @@ struct thread_info @@ -83,6 +83,13 @@ struct thread_info
This is how we know when we step into a subroutine call, and how This is how we know when we step into a subroutine call, and how
to set the frame for the breakpoint used to step out. */ to set the frame for the breakpoint used to step out. */
@ -1147,10 +1147,10 @@ Index: gdb-6.8.50.20081209/gdb/gdbthread.h
int current_line; int current_line;
struct symtab *current_symtab; struct symtab *current_symtab;
Index: gdb-6.8.50.20081209/gdb/infcall.c Index: gdb-6.8.50.20081214/gdb/infcall.c
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/infcall.c 2008-12-04 22:41:00.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/infcall.c 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/infcall.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/infcall.c 2008-12-14 15:31:03.000000000 +0100
@@ -734,11 +734,8 @@ The program being debugged exited while @@ -734,11 +734,8 @@ The program being debugged exited while
if (unwind_on_signal_p) if (unwind_on_signal_p)
@ -1165,10 +1165,10 @@ Index: gdb-6.8.50.20081209/gdb/infcall.c
/* FIXME: Insert a bunch of wrap_here; name can be very /* FIXME: Insert a bunch of wrap_here; name can be very
long if it's a C++ name with arguments and stuff. */ long if it's a C++ name with arguments and stuff. */
Index: gdb-6.8.50.20081209/gdb/infcmd.c Index: gdb-6.8.50.20081214/gdb/infcmd.c
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/infcmd.c 2008-12-05 23:38:10.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/infcmd.c 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/infcmd.c 2008-12-10 01:34:41.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/infcmd.c 2008-12-14 15:37:04.000000000 +0100
@@ -52,6 +52,7 @@ @@ -52,6 +52,7 @@
#include "cli/cli-decode.h" #include "cli/cli-decode.h"
#include "gdbthread.h" #include "gdbthread.h"
@ -1195,104 +1195,7 @@ Index: gdb-6.8.50.20081209/gdb/infcmd.c
/* Step until outside of current statement. */ /* Step until outside of current statement. */
static void static void
@@ -799,73 +811,39 @@ step_1 (int skip_subroutines, int single @@ -899,6 +911,20 @@ step_once (int skip_subroutines, int sin
make_cleanup (delete_longjmp_breakpoint_cleanup, &thread);
}
- /* In synchronous case, all is well, just use the regular for loop. */
+ /* In synchronous case, all is well; each step_once call will step once. */
if (!target_can_async_p ())
{
for (; count > 0; count--)
{
struct thread_info *tp = inferior_thread ();
- clear_proceed_status ();
-
- frame = get_current_frame ();
- tp->step_frame_id = get_frame_id (frame);
- if (!single_inst)
- {
- CORE_ADDR pc;
-
- pc = get_frame_pc (frame);
- find_pc_line_pc_range (pc,
- &tp->step_range_start, &tp->step_range_end);
- if (tp->step_range_end == 0)
- {
- char *name;
- if (find_pc_partial_function (pc, &name,
- &tp->step_range_start,
- &tp->step_range_end) == 0)
- error (_("Cannot find bounds of current function"));
+ step_once (skip_subroutines, single_inst, count, thread);
- target_terminal_ours ();
- printf_filtered (_("\
-Single stepping until exit from function %s, \n\
-which has no line number information.\n"), name);
- }
- }
- else
+ if (!tp->step_multi || (!target_has_execution
+ || !inferior_thread ()->stop_step))
{
- /* Say we are stepping, but stop after one insn whatever it does. */
- tp->step_range_start = tp->step_range_end = 1;
- if (!skip_subroutines)
- /* It is stepi.
- Don't step over function calls, not even to functions lacking
- line numbers. */
- tp->step_over_calls = STEP_OVER_NONE;
+ /* If we stopped for some reason that is not stepping
+ there are no further steps to make. */
+ tp->step_multi = 0;
+ break;
}
-
- if (skip_subroutines)
- tp->step_over_calls = STEP_OVER_ALL;
-
- tp->step_multi = (count > 1);
- proceed ((CORE_ADDR) -1, TARGET_SIGNAL_DEFAULT, 1);
-
- if (!target_has_execution
- || !inferior_thread ()->stop_step)
- break;
}
do_cleanups (cleanups);
- return;
}
- /* In case of asynchronous target things get complicated, do only
- one step for now, before returning control to the event loop. Let
- the continuation figure out how many other steps we need to do,
- and handle them one at the time, through step_once(). */
else
{
+ /* In the case of an asynchronous target things get complicated;
+ do only one step for now, before returning control to the
+ event loop. Let the continuation figure out how many other
+ steps we need to do, and handle them one at the time, through
+ step_once. */
step_once (skip_subroutines, single_inst, count, thread);
+
/* We are running, and the continuation is installed. It will
disable the longjmp breakpoint as appropriate. */
- discard_cleanups (cleanups);
+ discard_cleanups (cleanups);
}
}
@@ -919,7 +897,6 @@ static void
step_once (int skip_subroutines, int single_inst, int count, int thread)
{
struct frame_info *frame;
- struct step_1_continuation_args *args;
if (count > 0)
{
@@ -929,6 +906,20 @@ step_once (int skip_subroutines, int sin
THREAD is set. */ THREAD is set. */
struct thread_info *tp = inferior_thread (); struct thread_info *tp = inferior_thread ();
clear_proceed_status (); clear_proceed_status ();
@ -1313,52 +1216,15 @@ Index: gdb-6.8.50.20081209/gdb/infcmd.c
frame = get_current_frame (); frame = get_current_frame ();
tp->step_frame_id = get_frame_id (frame); tp->step_frame_id = get_frame_id (frame);
@@ -977,12 +968,21 @@ which has no line number information.\n" @@ -1155,6 +1181,7 @@ until_next_command (int from_tty)
tp->step_multi = (count > 1);
proceed ((CORE_ADDR) -1, TARGET_SIGNAL_DEFAULT, 1);
- args = xmalloc (sizeof (*args));
- args->skip_subroutines = skip_subroutines;
- args->single_inst = single_inst;
- args->count = count;
- args->thread = thread;
- add_intermediate_continuation (tp, step_1_continuation, args, xfree);
+ /* For async targets, register a continuation to do any
+ additional steps. For sync targets, the caller will handle
+ further stepping. */
+ if (target_can_async_p ())
+ {
+ struct step_1_continuation_args *args;
+
+ args = xmalloc (sizeof (*args));
+ args->skip_subroutines = skip_subroutines;
+ args->single_inst = single_inst;
+ args->count = count;
+ args->thread = thread;
+
+ add_intermediate_continuation (tp, step_1_continuation, args, xfree);
+ }
}
}
@@ -1167,15 +1167,13 @@ signal_command (char *signum_exp, int fr
static void
until_next_command (int from_tty)
{
- struct frame_info *frame;
CORE_ADDR pc;
struct symbol *func;
struct symtab_and_line sal;
struct thread_info *tp = inferior_thread ();
clear_proceed_status (); clear_proceed_status ();
-
- frame = get_current_frame (); frame = get_current_frame ();
+ set_step_frame (tp); + set_step_frame (tp);
/* Step until either exited from this function or greater /* Step until either exited from this function or greater
than the current line (if in symbolic section) or pc (if than the current line (if in symbolic section) or pc (if
@@ -1203,7 +1201,6 @@ until_next_command (int from_tty) @@ -1182,7 +1209,6 @@ until_next_command (int from_tty)
} }
tp->step_over_calls = STEP_OVER_ALL; tp->step_over_calls = STEP_OVER_ALL;
@ -1366,7 +1232,7 @@ Index: gdb-6.8.50.20081209/gdb/infcmd.c
tp->step_multi = 0; /* Only one call to proceed */ tp->step_multi = 0; /* Only one call to proceed */
@@ -1534,6 +1531,37 @@ finish_command (char *arg, int from_tty) @@ -1515,6 +1541,37 @@ finish_command (char *arg, int from_tty)
clear_proceed_status (); clear_proceed_status ();
@ -1404,10 +1270,10 @@ Index: gdb-6.8.50.20081209/gdb/infcmd.c
/* Find the function we will return from. */ /* Find the function we will return from. */
function = find_pc_function (get_frame_pc (get_selected_frame (NULL))); function = find_pc_function (get_frame_pc (get_selected_frame (NULL)));
Index: gdb-6.8.50.20081209/gdb/inferior.h Index: gdb-6.8.50.20081214/gdb/inferior.h
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/inferior.h 2008-12-10 01:22:23.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/inferior.h 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/inferior.h 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/inferior.h 2008-12-14 15:31:03.000000000 +0100
@@ -249,6 +249,9 @@ extern void error_is_running (void); @@ -249,6 +249,9 @@ extern void error_is_running (void);
/* Calls error_is_running if the current thread is running. */ /* Calls error_is_running if the current thread is running. */
extern void ensure_not_running (void); extern void ensure_not_running (void);
@ -1418,10 +1284,10 @@ Index: gdb-6.8.50.20081209/gdb/inferior.h
/* From infcmd.c */ /* From infcmd.c */
extern void tty_command (char *, int); extern void tty_command (char *, int);
Index: gdb-6.8.50.20081209/gdb/infrun.c Index: gdb-6.8.50.20081214/gdb/infrun.c
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/infrun.c 2008-12-10 01:27:34.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/infrun.c 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/infrun.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/infrun.c 2008-12-14 15:31:03.000000000 +0100
@@ -45,6 +45,7 @@ @@ -45,6 +45,7 @@
#include "language.h" #include "language.h"
#include "solib.h" #include "solib.h"
@ -1538,7 +1404,7 @@ Index: gdb-6.8.50.20081209/gdb/infrun.c
/* Given an execution control state that has been freshly filled in /* Given an execution control state that has been freshly filled in
by an event from the inferior, figure out what it means and take by an event from the inferior, figure out what it means and take
appropriate action. */ appropriate action. */
@@ -2781,6 +2809,12 @@ targets should add new threads to the th @@ -2787,6 +2815,12 @@ targets should add new threads to the th
ecs->random_signal = 0; ecs->random_signal = 0;
stopped_by_random_signal = 0; stopped_by_random_signal = 0;
@ -1551,7 +1417,7 @@ Index: gdb-6.8.50.20081209/gdb/infrun.c
if (ecs->event_thread->stop_signal == TARGET_SIGNAL_TRAP if (ecs->event_thread->stop_signal == TARGET_SIGNAL_TRAP
&& ecs->event_thread->trap_expected && ecs->event_thread->trap_expected
&& gdbarch_single_step_through_delay_p (current_gdbarch) && gdbarch_single_step_through_delay_p (current_gdbarch)
@@ -3013,8 +3047,8 @@ process_event_stop_test: @@ -3019,8 +3053,8 @@ process_event_stop_test:
&& ecs->event_thread->stop_signal != TARGET_SIGNAL_0 && ecs->event_thread->stop_signal != TARGET_SIGNAL_0
&& (ecs->event_thread->step_range_start <= stop_pc && (ecs->event_thread->step_range_start <= stop_pc
&& stop_pc < ecs->event_thread->step_range_end) && stop_pc < ecs->event_thread->step_range_end)
@ -1562,7 +1428,7 @@ Index: gdb-6.8.50.20081209/gdb/infrun.c
&& ecs->event_thread->step_resume_breakpoint == NULL) && ecs->event_thread->step_resume_breakpoint == NULL)
{ {
/* The inferior is about to take a signal that will take it /* The inferior is about to take a signal that will take it
@@ -3400,10 +3434,10 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME ( @@ -3406,10 +3440,10 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (
NOTE: frame_id_eq will never report two invalid frame IDs as NOTE: frame_id_eq will never report two invalid frame IDs as
being equal, so to get into this block, both the current and being equal, so to get into this block, both the current and
previous frame must have valid frame IDs. */ previous frame must have valid frame IDs. */
@ -1576,7 +1442,7 @@ Index: gdb-6.8.50.20081209/gdb/infrun.c
|| execution_direction == EXEC_REVERSE)) || execution_direction == EXEC_REVERSE))
{ {
CORE_ADDR real_stop_pc; CORE_ADDR real_stop_pc;
@@ -3646,6 +3680,82 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME ( @@ -3652,6 +3686,82 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (
return; return;
} }
@ -1659,7 +1525,7 @@ Index: gdb-6.8.50.20081209/gdb/infrun.c
if ((stop_pc == stop_pc_sal.pc) if ((stop_pc == stop_pc_sal.pc)
&& (ecs->event_thread->current_line != stop_pc_sal.line && (ecs->event_thread->current_line != stop_pc_sal.line
|| ecs->event_thread->current_symtab != stop_pc_sal.symtab)) || ecs->event_thread->current_symtab != stop_pc_sal.symtab))
@@ -3671,9 +3781,7 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME ( @@ -3677,9 +3787,7 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (
ecs->event_thread->step_range_start = stop_pc_sal.pc; ecs->event_thread->step_range_start = stop_pc_sal.pc;
ecs->event_thread->step_range_end = stop_pc_sal.end; ecs->event_thread->step_range_end = stop_pc_sal.end;
@ -1670,7 +1536,7 @@ Index: gdb-6.8.50.20081209/gdb/infrun.c
if (debug_infrun) if (debug_infrun)
fprintf_unfiltered (gdb_stdlog, "infrun: keep going\n"); fprintf_unfiltered (gdb_stdlog, "infrun: keep going\n");
@@ -4197,17 +4305,6 @@ normal_stop (void) @@ -4203,17 +4311,6 @@ normal_stop (void)
previous_inferior_ptid = inferior_ptid; previous_inferior_ptid = inferior_ptid;
} }
@ -1688,7 +1554,7 @@ Index: gdb-6.8.50.20081209/gdb/infrun.c
if (!breakpoints_always_inserted_mode () && target_has_execution) if (!breakpoints_always_inserted_mode () && target_has_execution)
{ {
if (remove_breakpoints ()) if (remove_breakpoints ())
@@ -4776,6 +4873,7 @@ struct inferior_status @@ -4790,6 +4887,7 @@ struct inferior_status
CORE_ADDR step_range_start; CORE_ADDR step_range_start;
CORE_ADDR step_range_end; CORE_ADDR step_range_end;
struct frame_id step_frame_id; struct frame_id step_frame_id;
@ -1696,7 +1562,7 @@ Index: gdb-6.8.50.20081209/gdb/infrun.c
enum step_over_calls_kind step_over_calls; enum step_over_calls_kind step_over_calls;
CORE_ADDR step_resume_break_address; CORE_ADDR step_resume_break_address;
int stop_after_trap; int stop_after_trap;
@@ -4814,6 +4912,7 @@ save_inferior_status (int restore_stack_ @@ -4828,6 +4926,7 @@ save_inferior_status (int restore_stack_
inf_status->step_range_start = tp->step_range_start; inf_status->step_range_start = tp->step_range_start;
inf_status->step_range_end = tp->step_range_end; inf_status->step_range_end = tp->step_range_end;
inf_status->step_frame_id = tp->step_frame_id; inf_status->step_frame_id = tp->step_frame_id;
@ -1704,7 +1570,7 @@ Index: gdb-6.8.50.20081209/gdb/infrun.c
inf_status->step_over_calls = tp->step_over_calls; inf_status->step_over_calls = tp->step_over_calls;
inf_status->stop_after_trap = stop_after_trap; inf_status->stop_after_trap = stop_after_trap;
inf_status->stop_soon = inf->stop_soon; inf_status->stop_soon = inf->stop_soon;
@@ -4869,6 +4968,7 @@ restore_inferior_status (struct inferior @@ -4883,6 +4982,7 @@ restore_inferior_status (struct inferior
tp->step_range_start = inf_status->step_range_start; tp->step_range_start = inf_status->step_range_start;
tp->step_range_end = inf_status->step_range_end; tp->step_range_end = inf_status->step_range_end;
tp->step_frame_id = inf_status->step_frame_id; tp->step_frame_id = inf_status->step_frame_id;
@ -1712,10 +1578,10 @@ Index: gdb-6.8.50.20081209/gdb/infrun.c
tp->step_over_calls = inf_status->step_over_calls; tp->step_over_calls = inf_status->step_over_calls;
stop_after_trap = inf_status->stop_after_trap; stop_after_trap = inf_status->stop_after_trap;
inf->stop_soon = inf_status->stop_soon; inf->stop_soon = inf_status->stop_soon;
Index: gdb-6.8.50.20081209/gdb/inline-frame.c Index: gdb-6.8.50.20081214/gdb/inline-frame.c
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ gdb-6.8.50.20081209/gdb/inline-frame.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/inline-frame.c 2008-12-14 15:31:03.000000000 +0100
@@ -0,0 +1,382 @@ @@ -0,0 +1,382 @@
+/* Inline frame unwinder for GDB. +/* Inline frame unwinder for GDB.
+ +
@ -2099,10 +1965,10 @@ Index: gdb-6.8.50.20081209/gdb/inline-frame.c
+ +
+ return inline_count; + return inline_count;
+} +}
Index: gdb-6.8.50.20081209/gdb/inline-frame.h Index: gdb-6.8.50.20081214/gdb/inline-frame.h
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ gdb-6.8.50.20081209/gdb/inline-frame.h 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/inline-frame.h 2008-12-14 15:31:03.000000000 +0100
@@ -0,0 +1,62 @@ @@ -0,0 +1,62 @@
+/* Definitions for inline frame support. +/* Definitions for inline frame support.
+ +
@ -2166,10 +2032,10 @@ Index: gdb-6.8.50.20081209/gdb/inline-frame.h
+int frame_inlined_callees (struct frame_info *this_frame); +int frame_inlined_callees (struct frame_info *this_frame);
+ +
+#endif /* !defined (INLINE_FRAME_H) */ +#endif /* !defined (INLINE_FRAME_H) */
Index: gdb-6.8.50.20081209/gdb/minsyms.c Index: gdb-6.8.50.20081214/gdb/minsyms.c
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/minsyms.c 2008-12-10 01:27:33.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/minsyms.c 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/minsyms.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/minsyms.c 2008-12-14 15:31:03.000000000 +0100
@@ -767,7 +767,7 @@ prim_record_minimal_symbol_and_info (con @@ -767,7 +767,7 @@ prim_record_minimal_symbol_and_info (con
if (msym_bunch_index == BUNCH_SIZE) if (msym_bunch_index == BUNCH_SIZE)
@ -2179,10 +2045,10 @@ Index: gdb-6.8.50.20081209/gdb/minsyms.c
msym_bunch_index = 0; msym_bunch_index = 0;
new->next = msym_bunch; new->next = msym_bunch;
msym_bunch = new; msym_bunch = new;
Index: gdb-6.8.50.20081209/gdb/s390-tdep.c Index: gdb-6.8.50.20081214/gdb/s390-tdep.c
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/s390-tdep.c 2008-09-11 16:23:15.000000000 +0200 --- gdb-6.8.50.20081214.orig/gdb/s390-tdep.c 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/s390-tdep.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/s390-tdep.c 2008-12-14 15:31:03.000000000 +0100
@@ -1182,6 +1182,7 @@ s390_prologue_frame_unwind_cache (struct @@ -1182,6 +1182,7 @@ s390_prologue_frame_unwind_cache (struct
CORE_ADDR prev_sp; CORE_ADDR prev_sp;
int frame_pointer; int frame_pointer;
@ -2216,10 +2082,10 @@ Index: gdb-6.8.50.20081209/gdb/s390-tdep.c
|| get_frame_type (get_next_frame (this_frame)) != NORMAL_FRAME)) || get_frame_type (get_next_frame (this_frame)) != NORMAL_FRAME))
{ {
/* See the comment in s390_in_function_epilogue_p on why this is /* See the comment in s390_in_function_epilogue_p on why this is
Index: gdb-6.8.50.20081209/gdb/stack.c Index: gdb-6.8.50.20081214/gdb/stack.c
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/stack.c 2008-12-10 01:22:11.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/stack.c 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/stack.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/stack.c 2008-12-14 15:31:03.000000000 +0100
@@ -45,6 +45,7 @@ @@ -45,6 +45,7 @@
#include "valprint.h" #include "valprint.h"
#include "gdbthread.h" #include "gdbthread.h"
@ -2366,10 +2232,10 @@ Index: gdb-6.8.50.20081209/gdb/stack.c
/* Compute the return value. If the computation triggers an error, /* Compute the return value. If the computation triggers an error,
let it bail. If the return type can't be handled, set let it bail. If the return type can't be handled, set
RETURN_VALUE to NULL, and QUERY_PREFIX to an informational RETURN_VALUE to NULL, and QUERY_PREFIX to an informational
Index: gdb-6.8.50.20081209/gdb/symtab.c Index: gdb-6.8.50.20081214/gdb/symtab.c
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/symtab.c 2008-12-10 01:27:33.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/symtab.c 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/symtab.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/symtab.c 2008-12-14 15:31:03.000000000 +0100
@@ -1373,10 +1373,13 @@ lookup_symbol_aux_local (const char *nam @@ -1373,10 +1373,13 @@ lookup_symbol_aux_local (const char *nam
sym = lookup_symbol_aux_block (name, linkage_name, block, domain); sym = lookup_symbol_aux_block (name, linkage_name, block, domain);
if (sym != NULL) if (sym != NULL)
@ -2567,10 +2433,10 @@ Index: gdb-6.8.50.20081209/gdb/symtab.c
/* The case in which compiler's optimizer/scheduler has /* The case in which compiler's optimizer/scheduler has
moved instructions into the prologue. We look ahead in moved instructions into the prologue. We look ahead in
the function looking for address ranges whose the function looking for address ranges whose
Index: gdb-6.8.50.20081209/gdb/symtab.h Index: gdb-6.8.50.20081214/gdb/symtab.h
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/symtab.h 2008-10-01 19:25:22.000000000 +0200 --- gdb-6.8.50.20081214.orig/gdb/symtab.h 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/symtab.h 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/symtab.h 2008-12-14 15:31:03.000000000 +0100
@@ -556,9 +556,18 @@ struct symbol @@ -556,9 +556,18 @@ struct symbol
unsigned is_argument : 1; unsigned is_argument : 1;
@ -2601,10 +2467,10 @@ Index: gdb-6.8.50.20081209/gdb/symtab.h
#define SYMBOL_TYPE(symbol) (symbol)->type #define SYMBOL_TYPE(symbol) (symbol)->type
#define SYMBOL_LINE(symbol) (symbol)->line #define SYMBOL_LINE(symbol) (symbol)->line
#define SYMBOL_SYMTAB(symbol) (symbol)->symtab #define SYMBOL_SYMTAB(symbol) (symbol)->symtab
Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.base/break.exp Index: gdb-6.8.50.20081214/gdb/testsuite/gdb.base/break.exp
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/testsuite/gdb.base/break.exp 2008-08-06 14:52:07.000000000 +0200 --- gdb-6.8.50.20081214.orig/gdb/testsuite/gdb.base/break.exp 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/testsuite/gdb.base/break.exp 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/testsuite/gdb.base/break.exp 2008-12-14 15:31:03.000000000 +0100
@@ -880,6 +880,13 @@ gdb_expect { @@ -880,6 +880,13 @@ gdb_expect {
# marker4() is defined at line 46 when compiled with -DPROTOTYPES # marker4() is defined at line 46 when compiled with -DPROTOTYPES
pass "run until breakpoint set at small function, optimized file (line bp_location14)" pass "run until breakpoint set at small function, optimized file (line bp_location14)"
@ -2619,10 +2485,10 @@ Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.base/break.exp
-re ".*$gdb_prompt " { -re ".*$gdb_prompt " {
fail "run until breakpoint set at small function, optimized file" fail "run until breakpoint set at small function, optimized file"
} }
Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.cp/annota2.exp Index: gdb-6.8.50.20081214/gdb/testsuite/gdb.cp/annota2.exp
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/testsuite/gdb.cp/annota2.exp 2008-05-04 21:39:00.000000000 +0200 --- gdb-6.8.50.20081214.orig/gdb/testsuite/gdb.cp/annota2.exp 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/testsuite/gdb.cp/annota2.exp 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/testsuite/gdb.cp/annota2.exp 2008-12-14 15:31:03.000000000 +0100
@@ -119,10 +119,11 @@ gdb_expect { @@ -119,10 +119,11 @@ gdb_expect {
# continue until exit # continue until exit
# this will test: # this will test:
@ -2636,10 +2502,10 @@ Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.cp/annota2.exp
{ pass "continue until exit" } { pass "continue until exit" }
-re ".*$gdb_prompt$" { fail "continue to exit" } -re ".*$gdb_prompt$" { fail "continue to exit" }
timeout { fail "continue to exit (timeout)" } timeout { fail "continue to exit (timeout)" }
Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-bt.c Index: gdb-6.8.50.20081214/gdb/testsuite/gdb.opt/inline-bt.c
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-bt.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/testsuite/gdb.opt/inline-bt.c 2008-12-14 15:31:03.000000000 +0100
@@ -0,0 +1,47 @@ @@ -0,0 +1,47 @@
+/* Copyright (C) 2008 Free Software Foundation, Inc. +/* Copyright (C) 2008 Free Software Foundation, Inc.
+ +
@ -2688,10 +2554,10 @@ Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-bt.c
+ +
+ return 0; + return 0;
+} +}
Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-bt.exp Index: gdb-6.8.50.20081214/gdb/testsuite/gdb.opt/inline-bt.exp
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-bt.exp 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/testsuite/gdb.opt/inline-bt.exp 2008-12-14 15:31:03.000000000 +0100
@@ -0,0 +1,63 @@ @@ -0,0 +1,63 @@
+# Copyright 2008 Free Software Foundation, Inc. +# Copyright 2008 Free Software Foundation, Inc.
+ +
@ -2756,10 +2622,10 @@ Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-bt.exp
+gdb_test "info frame" ".*inlined into frame.*" "func1 inlined (3)" +gdb_test "info frame" ".*inlined into frame.*" "func1 inlined (3)"
+gdb_test "up" "#2 .*func2.*" "up from func1 (3)" +gdb_test "up" "#2 .*func2.*" "up from func1 (3)"
+gdb_test "info frame" ".*inlined into frame.*" "func2 inlined (3)" +gdb_test "info frame" ".*inlined into frame.*" "func2 inlined (3)"
Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-cmds.c Index: gdb-6.8.50.20081214/gdb/testsuite/gdb.opt/inline-cmds.c
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-cmds.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/testsuite/gdb.opt/inline-cmds.c 2008-12-14 15:31:03.000000000 +0100
@@ -0,0 +1,85 @@ @@ -0,0 +1,85 @@
+/* Copyright (C) 2008 Free Software Foundation, Inc. +/* Copyright (C) 2008 Free Software Foundation, Inc.
+ +
@ -2846,10 +2712,10 @@ Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-cmds.c
+ +
+ return 0; + return 0;
+} +}
Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-cmds.exp Index: gdb-6.8.50.20081214/gdb/testsuite/gdb.opt/inline-cmds.exp
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-cmds.exp 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/testsuite/gdb.opt/inline-cmds.exp 2008-12-14 15:31:03.000000000 +0100
@@ -0,0 +1,279 @@ @@ -0,0 +1,279 @@
+# Copyright 2008 Free Software Foundation, Inc. +# Copyright 2008 Free Software Foundation, Inc.
+ +
@ -3130,10 +2996,10 @@ Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-cmds.exp
+gdb_test "info frame" ".*inlined into frame.*" "outer_inline2 inlined" +gdb_test "info frame" ".*inlined into frame.*" "outer_inline2 inlined"
+gdb_test "up" "#4 main.*" "up from outer_inline2" +gdb_test "up" "#4 main.*" "up from outer_inline2"
+gdb_test "info frame" ".*\n caller of frame.*" "main not inlined" +gdb_test "info frame" ".*\n caller of frame.*" "main not inlined"
Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-locals.c Index: gdb-6.8.50.20081214/gdb/testsuite/gdb.opt/inline-locals.c
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-locals.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/testsuite/gdb.opt/inline-locals.c 2008-12-14 15:31:03.000000000 +0100
@@ -0,0 +1,52 @@ @@ -0,0 +1,52 @@
+/* Copyright (C) 2008 Free Software Foundation, Inc. +/* Copyright (C) 2008 Free Software Foundation, Inc.
+ +
@ -3187,10 +3053,10 @@ Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-locals.c
+ +
+ return 0; + return 0;
+} +}
Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-locals.exp Index: gdb-6.8.50.20081214/gdb/testsuite/gdb.opt/inline-locals.exp
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-locals.exp 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/testsuite/gdb.opt/inline-locals.exp 2008-12-14 15:31:03.000000000 +0100
@@ -0,0 +1,118 @@ @@ -0,0 +1,118 @@
+# Copyright 2008 Free Software Foundation, Inc. +# Copyright 2008 Free Software Foundation, Inc.
+ +
@ -3310,10 +3176,10 @@ Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-locals.exp
+} +}
+ +
+gdb_test "print array\[0\]" "\\\$$decimal = 184" "print local (3)" +gdb_test "print array\[0\]" "\\\$$decimal = 184" "print local (3)"
Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-markers.c Index: gdb-6.8.50.20081214/gdb/testsuite/gdb.opt/inline-markers.c
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-markers.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/testsuite/gdb.opt/inline-markers.c 2008-12-14 15:31:03.000000000 +0100
@@ -0,0 +1,36 @@ @@ -0,0 +1,36 @@
+/* Copyright (C) 2008 Free Software Foundation, Inc. +/* Copyright (C) 2008 Free Software Foundation, Inc.
+ +
@ -3351,10 +3217,10 @@ Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/inline-markers.c
+{ +{
+ inlined_fn (); /* inlined */ + inlined_fn (); /* inlined */
+} +}
Index: gdb-6.8.50.20081209/gdb/testsuite/lib/gdb.exp Index: gdb-6.8.50.20081214/gdb/testsuite/lib/gdb.exp
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/testsuite/lib/gdb.exp 2008-12-10 01:28:27.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/testsuite/lib/gdb.exp 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/testsuite/lib/gdb.exp 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/testsuite/lib/gdb.exp 2008-12-14 15:31:03.000000000 +0100
@@ -1471,6 +1471,37 @@ proc skip_hp_tests {} { @@ -1471,6 +1471,37 @@ proc skip_hp_tests {} {
return $skip_hp return $skip_hp
} }
@ -3393,10 +3259,10 @@ Index: gdb-6.8.50.20081209/gdb/testsuite/lib/gdb.exp
set compiler_info "unknown" set compiler_info "unknown"
set gcc_compiled 0 set gcc_compiled 0
set hp_cc_compiler 0 set hp_cc_compiler 0
Index: gdb-6.8.50.20081209/gdb/valops.c Index: gdb-6.8.50.20081214/gdb/valops.c
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/valops.c 2008-12-10 01:25:43.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/valops.c 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/valops.c 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/valops.c 2008-12-14 15:31:03.000000000 +0100
@@ -1051,7 +1051,7 @@ value_of_variable (struct symbol *var, s @@ -1051,7 +1051,7 @@ value_of_variable (struct symbol *var, s
frame = block_innermost_frame (b); frame = block_innermost_frame (b);
if (!frame) if (!frame)
@ -3406,10 +3272,10 @@ Index: gdb-6.8.50.20081209/gdb/valops.c
&& SYMBOL_PRINT_NAME (BLOCK_FUNCTION (b))) && SYMBOL_PRINT_NAME (BLOCK_FUNCTION (b)))
error (_("No frame is currently executing in block %s."), error (_("No frame is currently executing in block %s."),
SYMBOL_PRINT_NAME (BLOCK_FUNCTION (b))); SYMBOL_PRINT_NAME (BLOCK_FUNCTION (b)));
Index: gdb-6.8.50.20081209/gdb/Makefile.in Index: gdb-6.8.50.20081214/gdb/Makefile.in
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/Makefile.in 2008-12-10 01:28:27.000000000 +0100 --- gdb-6.8.50.20081214.orig/gdb/Makefile.in 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/Makefile.in 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/Makefile.in 2008-12-14 15:31:03.000000000 +0100
@@ -630,6 +630,7 @@ SFILES = ada-exp.y ada-lang.c ada-typepr @@ -630,6 +630,7 @@ SFILES = ada-exp.y ada-lang.c ada-typepr
inf-loop.c \ inf-loop.c \
infcall.c \ infcall.c \
@ -3426,10 +3292,10 @@ Index: gdb-6.8.50.20081209/gdb/Makefile.in
gnu-v2-abi.o gnu-v3-abi.o cp-abi.o cp-support.o \ gnu-v2-abi.o gnu-v3-abi.o cp-abi.o cp-support.o \
cp-namespace.o \ cp-namespace.o \
reggroups.o regset.o \ reggroups.o regset.o \
Index: gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/Makefile.in Index: gdb-6.8.50.20081214/gdb/testsuite/gdb.opt/Makefile.in
=================================================================== ===================================================================
--- gdb-6.8.50.20081209.orig/gdb/testsuite/gdb.opt/Makefile.in 2008-04-18 01:06:54.000000000 +0200 --- gdb-6.8.50.20081214.orig/gdb/testsuite/gdb.opt/Makefile.in 2008-12-14 15:30:03.000000000 +0100
+++ gdb-6.8.50.20081209/gdb/testsuite/gdb.opt/Makefile.in 2008-12-10 01:28:37.000000000 +0100 +++ gdb-6.8.50.20081214/gdb/testsuite/gdb.opt/Makefile.in 2008-12-14 15:31:03.000000000 +0100
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
VPATH = @srcdir@ VPATH = @srcdir@
srcdir = @srcdir@ srcdir = @srcdir@

View File

@ -9,7 +9,7 @@ Name: gdb%{?_with_debug:-debug}
# Set version to contents of gdb/version.in. # Set version to contents of gdb/version.in.
# NOTE: the FSF gdb versions are numbered N.M for official releases, like 6.3 # NOTE: the FSF gdb versions are numbered N.M for official releases, like 6.3
# and, since January 2005, X.Y.Z.date for daily snapshots, like 6.3.50.20050112 # (daily snapshot from mailine), or 6.3.0.20040112 (head of the release branch). # and, since January 2005, X.Y.Z.date for daily snapshots, like 6.3.50.20050112 # (daily snapshot from mailine), or 6.3.0.20040112 (head of the release branch).
Version: 6.8.50.20081209 Version: 6.8.50.20081214
# The release always contains a leading reserved number, start it at 1. # 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. # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
@ -834,7 +834,7 @@ fi
%endif %endif
%changelog %changelog
* Sun Dec 14 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20081209-1 * Sun Dec 14 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20081214-1
- Upgrade to the upstream gdb-6.8.50 snapshot. - Upgrade to the upstream gdb-6.8.50 snapshot.
* Mon Dec 1 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-33 * Mon Dec 1 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-33

View File

@ -1 +1 @@
508fc616b9481c29f4d4eb44d518deb6 gdb-6.8.50.20081209.tar.bz2 92a6d781eafdf1412c4516f1bdd979bb gdb-6.8.50.20081214.tar.bz2