- Import archer-tromey-python.
- Import archer-tromey-optional-psymtab (as present in FSF GDB post-7.2). - Provide /usr/bin/gdb-add-index for rpm-build (Tom Tromey).
This commit is contained in:
parent
4d3bc055ec
commit
20f9f675af
6 changed files with 8864 additions and 3591 deletions
|
|
@ -1,7 +1,7 @@
|
|||
Index: gdb-7.1.90.20100711/gdb/event-top.c
|
||||
Index: gdb-7.1.90.20100721/gdb/event-top.c
|
||||
===================================================================
|
||||
--- gdb-7.1.90.20100711.orig/gdb/event-top.c 2010-06-26 08:44:47.000000000 +0200
|
||||
+++ gdb-7.1.90.20100711/gdb/event-top.c 2010-07-12 11:37:04.000000000 +0200
|
||||
--- gdb-7.1.90.20100721.orig/gdb/event-top.c 2010-06-26 08:44:47.000000000 +0200
|
||||
+++ gdb-7.1.90.20100721/gdb/event-top.c 2010-07-22 11:58:24.000000000 +0200
|
||||
@@ -33,6 +33,7 @@
|
||||
#include "cli/cli-script.h" /* for reset_command_nest_depth */
|
||||
#include "main.h"
|
||||
|
|
@ -28,10 +28,10 @@ Index: gdb-7.1.90.20100711/gdb/event-top.c
|
|||
/* Each interpreter has its own rules on displaying the command
|
||||
prompt. */
|
||||
if (!current_interp_display_prompt_p ())
|
||||
Index: gdb-7.1.90.20100711/gdb/elfread.c
|
||||
Index: gdb-7.1.90.20100721/gdb/elfread.c
|
||||
===================================================================
|
||||
--- gdb-7.1.90.20100711.orig/gdb/elfread.c 2010-07-12 11:30:30.000000000 +0200
|
||||
+++ gdb-7.1.90.20100711/gdb/elfread.c 2010-07-12 11:37:04.000000000 +0200
|
||||
--- gdb-7.1.90.20100721.orig/gdb/elfread.c 2010-07-22 11:58:14.000000000 +0200
|
||||
+++ gdb-7.1.90.20100721/gdb/elfread.c 2010-07-22 11:58:24.000000000 +0200
|
||||
@@ -42,6 +42,7 @@
|
||||
#include "gdbcore.h"
|
||||
#include "gdbcmd.h"
|
||||
|
|
@ -40,7 +40,7 @@ Index: gdb-7.1.90.20100711/gdb/elfread.c
|
|||
|
||||
extern void _initialize_elfread (void);
|
||||
|
||||
@@ -1368,8 +1369,353 @@ build_id_to_filename (struct build_id *b
|
||||
@@ -1371,8 +1372,353 @@ build_id_to_filename (struct build_id *b
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
@ -395,7 +395,7 @@ Index: gdb-7.1.90.20100711/gdb/elfread.c
|
|||
avoidance. */
|
||||
|
||||
struct missing_filepair
|
||||
@@ -1423,11 +1769,17 @@ missing_filepair_change (void)
|
||||
@@ -1426,11 +1772,17 @@ missing_filepair_change (void)
|
||||
/* All their memory came just from missing_filepair_OBSTACK. */
|
||||
missing_filepair_hash = NULL;
|
||||
}
|
||||
|
|
@ -413,7 +413,7 @@ Index: gdb-7.1.90.20100711/gdb/elfread.c
|
|||
missing_filepair_change ();
|
||||
}
|
||||
|
||||
@@ -1494,14 +1846,34 @@ debug_print_missing (const char *binary,
|
||||
@@ -1497,14 +1849,34 @@ debug_print_missing (const char *binary,
|
||||
|
||||
*slot = missing_filepair;
|
||||
|
||||
|
|
@ -455,11 +455,11 @@ Index: gdb-7.1.90.20100711/gdb/elfread.c
|
|||
}
|
||||
|
||||
static char *
|
||||
Index: gdb-7.1.90.20100711/gdb/symfile.h
|
||||
Index: gdb-7.1.90.20100721/gdb/symfile.h
|
||||
===================================================================
|
||||
--- gdb-7.1.90.20100711.orig/gdb/symfile.h 2010-07-12 11:06:18.000000000 +0200
|
||||
+++ gdb-7.1.90.20100711/gdb/symfile.h 2010-07-12 11:37:04.000000000 +0200
|
||||
@@ -568,6 +568,7 @@ extern struct build_id *build_id_addr_ge
|
||||
--- gdb-7.1.90.20100721.orig/gdb/symfile.h 2010-07-22 11:58:14.000000000 +0200
|
||||
+++ gdb-7.1.90.20100721/gdb/symfile.h 2010-07-22 11:58:24.000000000 +0200
|
||||
@@ -577,6 +577,7 @@ extern struct build_id *build_id_addr_ge
|
||||
extern char *build_id_to_filename (struct build_id *build_id,
|
||||
char **link_return, int add_debug_suffix);
|
||||
extern void debug_print_missing (const char *binary, const char *debug);
|
||||
|
|
@ -467,11 +467,11 @@ Index: gdb-7.1.90.20100711/gdb/symfile.h
|
|||
|
||||
/* From dwarf2read.c */
|
||||
|
||||
Index: gdb-7.1.90.20100711/gdb/testsuite/lib/gdb.exp
|
||||
Index: gdb-7.1.90.20100721/gdb/testsuite/lib/gdb.exp
|
||||
===================================================================
|
||||
--- gdb-7.1.90.20100711.orig/gdb/testsuite/lib/gdb.exp 2010-07-12 11:05:57.000000000 +0200
|
||||
+++ gdb-7.1.90.20100711/gdb/testsuite/lib/gdb.exp 2010-07-12 11:37:04.000000000 +0200
|
||||
@@ -1353,7 +1353,7 @@ proc default_gdb_start { } {
|
||||
--- gdb-7.1.90.20100721.orig/gdb/testsuite/lib/gdb.exp 2010-07-22 11:58:14.000000000 +0200
|
||||
+++ gdb-7.1.90.20100721/gdb/testsuite/lib/gdb.exp 2010-07-22 11:58:24.000000000 +0200
|
||||
@@ -1359,7 +1359,7 @@ proc default_gdb_start { } {
|
||||
warning "Couldn't set the width to 0."
|
||||
}
|
||||
}
|
||||
|
|
@ -480,10 +480,10 @@ Index: gdb-7.1.90.20100711/gdb/testsuite/lib/gdb.exp
|
|||
send_gdb "set build-id-verbose 0\n"
|
||||
gdb_expect 10 {
|
||||
-re "$gdb_prompt $" {
|
||||
Index: gdb-7.1.90.20100711/gdb/testsuite/lib/mi-support.exp
|
||||
Index: gdb-7.1.90.20100721/gdb/testsuite/lib/mi-support.exp
|
||||
===================================================================
|
||||
--- gdb-7.1.90.20100711.orig/gdb/testsuite/lib/mi-support.exp 2010-07-12 11:05:57.000000000 +0200
|
||||
+++ gdb-7.1.90.20100711/gdb/testsuite/lib/mi-support.exp 2010-07-12 11:37:04.000000000 +0200
|
||||
--- gdb-7.1.90.20100721.orig/gdb/testsuite/lib/mi-support.exp 2010-07-22 11:58:14.000000000 +0200
|
||||
+++ gdb-7.1.90.20100721/gdb/testsuite/lib/mi-support.exp 2010-07-22 11:58:24.000000000 +0200
|
||||
@@ -221,7 +221,7 @@ proc default_mi_gdb_start { args } {
|
||||
}
|
||||
}
|
||||
|
|
@ -493,10 +493,10 @@ Index: gdb-7.1.90.20100711/gdb/testsuite/lib/mi-support.exp
|
|||
send_gdb "190-gdb-set build-id-verbose 0\n"
|
||||
gdb_expect 10 {
|
||||
-re ".*190-gdb-set build-id-verbose 0\r\n190\\\^done\r\n$mi_gdb_prompt$" {
|
||||
Index: gdb-7.1.90.20100711/gdb/tui/tui-interp.c
|
||||
Index: gdb-7.1.90.20100721/gdb/tui/tui-interp.c
|
||||
===================================================================
|
||||
--- gdb-7.1.90.20100711.orig/gdb/tui/tui-interp.c 2010-05-18 00:21:43.000000000 +0200
|
||||
+++ gdb-7.1.90.20100711/gdb/tui/tui-interp.c 2010-07-12 11:37:04.000000000 +0200
|
||||
--- gdb-7.1.90.20100721.orig/gdb/tui/tui-interp.c 2010-05-18 00:21:43.000000000 +0200
|
||||
+++ gdb-7.1.90.20100721/gdb/tui/tui-interp.c 2010-07-22 11:58:24.000000000 +0200
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "tui/tui.h"
|
||||
#include "tui/tui-io.h"
|
||||
|
|
@ -514,10 +514,10 @@ Index: gdb-7.1.90.20100711/gdb/tui/tui-interp.c
|
|||
/* Tell readline what the prompt to display is and what function
|
||||
it will need to call after a whole line is read. This also
|
||||
displays the first prompt. */
|
||||
Index: gdb-7.1.90.20100711/gdb/aclocal.m4
|
||||
Index: gdb-7.1.90.20100721/gdb/aclocal.m4
|
||||
===================================================================
|
||||
--- gdb-7.1.90.20100711.orig/gdb/aclocal.m4 2010-05-23 02:56:59.000000000 +0200
|
||||
+++ gdb-7.1.90.20100711/gdb/aclocal.m4 2010-07-12 11:37:04.000000000 +0200
|
||||
--- gdb-7.1.90.20100721.orig/gdb/aclocal.m4 2010-05-23 02:56:59.000000000 +0200
|
||||
+++ gdb-7.1.90.20100721/gdb/aclocal.m4 2010-07-22 11:58:24.000000000 +0200
|
||||
@@ -19,6 +19,162 @@ You have another version of autoconf. I
|
||||
If you have problems, you may need to regenerate the build system entirely.
|
||||
To do so, use the procedure documented by the package, typically `autoreconf'.])])
|
||||
|
|
@ -681,10 +681,10 @@ Index: gdb-7.1.90.20100711/gdb/aclocal.m4
|
|||
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
Index: gdb-7.1.90.20100711/gdb/config.in
|
||||
Index: gdb-7.1.90.20100721/gdb/config.in
|
||||
===================================================================
|
||||
--- gdb-7.1.90.20100711.orig/gdb/config.in 2010-07-06 21:03:11.000000000 +0200
|
||||
+++ gdb-7.1.90.20100711/gdb/config.in 2010-07-12 11:38:30.000000000 +0200
|
||||
--- gdb-7.1.90.20100721.orig/gdb/config.in 2010-07-22 11:57:09.000000000 +0200
|
||||
+++ gdb-7.1.90.20100721/gdb/config.in 2010-07-22 11:58:24.000000000 +0200
|
||||
@@ -46,6 +46,9 @@
|
||||
/* Define to BFD's default target vector. */
|
||||
#undef DEFAULT_BFD_VEC
|
||||
|
|
@ -695,7 +695,7 @@ Index: gdb-7.1.90.20100711/gdb/config.in
|
|||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#undef ENABLE_NLS
|
||||
@@ -232,6 +235,9 @@
|
||||
@@ -231,6 +234,9 @@
|
||||
/* Define if Python 2.7 is being used. */
|
||||
#undef HAVE_LIBPYTHON2_7
|
||||
|
||||
|
|
@ -705,10 +705,10 @@ Index: gdb-7.1.90.20100711/gdb/config.in
|
|||
/* Define if libunwind library is being used. */
|
||||
#undef HAVE_LIBUNWIND
|
||||
|
||||
Index: gdb-7.1.90.20100711/gdb/configure
|
||||
Index: gdb-7.1.90.20100721/gdb/configure
|
||||
===================================================================
|
||||
--- gdb-7.1.90.20100711.orig/gdb/configure 2010-07-07 19:36:39.000000000 +0200
|
||||
+++ gdb-7.1.90.20100711/gdb/configure 2010-07-12 11:38:15.000000000 +0200
|
||||
--- gdb-7.1.90.20100721.orig/gdb/configure 2010-07-22 11:57:09.000000000 +0200
|
||||
+++ gdb-7.1.90.20100721/gdb/configure 2010-07-22 11:59:13.000000000 +0200
|
||||
@@ -679,6 +679,9 @@ REPORT_BUGS_TO
|
||||
PKGVERSION
|
||||
TARGET_OBS
|
||||
|
|
@ -716,18 +716,18 @@ Index: gdb-7.1.90.20100711/gdb/configure
|
|||
+RPM_LIBS
|
||||
+RPM_CFLAGS
|
||||
+PKG_CONFIG
|
||||
pythondir
|
||||
GDB_DATADIR_PATH
|
||||
GDB_DATADIR
|
||||
DEBUGDIR
|
||||
am__fastdepCC_FALSE
|
||||
@@ -945,6 +948,7 @@ enable_dependency_tracking
|
||||
with_separate_debug_dir
|
||||
@@ -948,6 +951,7 @@ with_separate_debug_dir
|
||||
with_gdb_datadir
|
||||
with_relocated_sources
|
||||
with_pythondir
|
||||
+with_rpm
|
||||
enable_targets
|
||||
enable_64_bit_bfd
|
||||
enable_gdbcli
|
||||
@@ -985,6 +989,9 @@ LDFLAGS
|
||||
@@ -988,6 +992,9 @@ LDFLAGS
|
||||
LIBS
|
||||
CPPFLAGS
|
||||
CPP
|
||||
|
|
@ -737,16 +737,16 @@ Index: gdb-7.1.90.20100711/gdb/configure
|
|||
YACC
|
||||
YFLAGS
|
||||
XMKMF'
|
||||
@@ -1646,6 +1653,8 @@ Optional Packages:
|
||||
@@ -1653,6 +1660,8 @@ Optional Packages:
|
||||
[DATADIR/gdb]
|
||||
--with-relocated-sources=PATH
|
||||
automatically relocate this path for source files
|
||||
--with-pythondir install Python data files in this path
|
||||
[DATADIR/gdb/python]
|
||||
+ --with-rpm query rpm database for missing debuginfos (yes/no,
|
||||
+ def. auto=librpm.so)
|
||||
--with-libunwind use libunwind frame unwinding support
|
||||
--with-curses use the curses library instead of the termcap
|
||||
library
|
||||
@@ -1681,6 +1690,9 @@ Some influential environment variables:
|
||||
@@ -1688,6 +1697,9 @@ Some influential environment variables:
|
||||
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
||||
you have headers in a nonstandard directory <include dir>
|
||||
CPP C preprocessor
|
||||
|
|
@ -756,7 +756,7 @@ Index: gdb-7.1.90.20100711/gdb/configure
|
|||
YACC The `Yet Another C Compiler' implementation to use. Defaults to
|
||||
the first program found out of: `bison -y', `byacc', `yacc'.
|
||||
YFLAGS The list of arguments that will be passed by default to $YACC.
|
||||
@@ -7878,6 +7890,486 @@ _ACEOF
|
||||
@@ -7951,6 +7963,485 @@ _ACEOF
|
||||
fi
|
||||
|
||||
|
||||
|
|
@ -1239,17 +1239,16 @@ Index: gdb-7.1.90.20100711/gdb/configure
|
|||
+ fi
|
||||
+ fi
|
||||
+fi
|
||||
+
|
||||
|
||||
|
||||
subdirs="$subdirs doc testsuite"
|
||||
Index: gdb-7.1.90.20100711/gdb/configure.ac
|
||||
|
||||
Index: gdb-7.1.90.20100721/gdb/configure.ac
|
||||
===================================================================
|
||||
--- gdb-7.1.90.20100711.orig/gdb/configure.ac 2010-07-07 19:36:39.000000000 +0200
|
||||
+++ gdb-7.1.90.20100711/gdb/configure.ac 2010-07-12 11:38:02.000000000 +0200
|
||||
@@ -108,6 +108,199 @@ AS_HELP_STRING([--with-relocated-sources
|
||||
[Relocated directory for source files. ])
|
||||
])
|
||||
--- gdb-7.1.90.20100721.orig/gdb/configure.ac 2010-07-22 11:57:09.000000000 +0200
|
||||
+++ gdb-7.1.90.20100721/gdb/configure.ac 2010-07-22 11:59:04.000000000 +0200
|
||||
@@ -152,6 +152,198 @@ else
|
||||
fi
|
||||
AC_SUBST(pythondir)
|
||||
|
||||
+# Integration with rpm library to support missing debuginfo suggestions.
|
||||
+# --without-rpm: Disable any rpm support.
|
||||
|
|
@ -1443,14 +1442,13 @@ Index: gdb-7.1.90.20100711/gdb/configure.ac
|
|||
+ fi
|
||||
+ fi
|
||||
+fi
|
||||
+
|
||||
|
||||
AC_CONFIG_SUBDIRS(doc testsuite)
|
||||
|
||||
# Check whether to support alternative target configurations
|
||||
Index: gdb-7.1.90.20100711/gdb/acinclude.m4
|
||||
Index: gdb-7.1.90.20100721/gdb/acinclude.m4
|
||||
===================================================================
|
||||
--- gdb-7.1.90.20100711.orig/gdb/acinclude.m4 2010-05-27 05:40:45.000000000 +0200
|
||||
+++ gdb-7.1.90.20100711/gdb/acinclude.m4 2010-07-12 11:37:04.000000000 +0200
|
||||
--- gdb-7.1.90.20100721.orig/gdb/acinclude.m4 2010-05-27 05:40:45.000000000 +0200
|
||||
+++ gdb-7.1.90.20100721/gdb/acinclude.m4 2010-07-22 11:58:24.000000000 +0200
|
||||
@@ -1,3 +1,5 @@
|
||||
+# serial 1
|
||||
+
|
||||
|
|
|
|||
Loading…
Reference in a new issue