public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: pmuldoon@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  archer-pmuldoon-python-backtrace: Merge remote-tracking branch 'gdb/master' into archer-pmuldoon-python-backtrace
Date: Wed, 28 Nov 2012 14:55:00 -0000	[thread overview]
Message-ID: <20121128145458.30261.qmail@sourceware.org> (raw)

The branch, archer-pmuldoon-python-backtrace has been updated
       via  e934dfbae52cf15314f8a64d9f2e0ae32861a52c (commit)
       via  deb7a4b128895057de7a7ac5cc2216b13dd018f7 (commit)
       via  61c3ddd8447153f63481b517372860d905224ae5 (commit)
       via  4fd7fc8edc02d8183265582e8b8e45a51f6b5abf (commit)
       via  15f7a7a69c94a05585593bda8f78103aa427f0cf (commit)
       via  59614b926eac56b5dab6d9308f050e07197cd3bd (commit)
       via  25a3161f3fe2c7ab1302e9149f1c01a5b5d5b40e (commit)
       via  bfb1c7c5505a19645d79b974f673e912ddab4ae2 (commit)
       via  38fba98aebd50b8086dd8ee34f64d03024839747 (commit)
       via  32934e23b68a44a502a03d4f81b407e4e751e57d (commit)
       via  d648bdbe906ff1b0b4b20694cd0155742ce889aa (commit)
       via  509e15b533a0490cc498a71a1f1f8a75814146d7 (commit)
       via  05ce6e8848c0618974f48db10224135d73c62d6c (commit)
       via  96ceb3bde62efa99d273fbbc0cc0e97972cf385c (commit)
       via  10f12b5d422fc22a9011d6440e2b6d902415b18c (commit)
       via  0b48a6d936c01e813f4fc842aae6d6500e7a9cdf (commit)
       via  77be3edd8c16c3debecfe5e177be2c1706250097 (commit)
       via  54625e3a2ad2f8120edab2c4b35519c3fe448fe6 (commit)
       via  210b2c6cf73a2e2ec2987dbbef629e97306578b5 (commit)
       via  077a4ce440fab9a5d7c454a6d5063752f362d3c3 (commit)
       via  7997531c53969c824499ea3d18acf3e58cd38907 (commit)
       via  d45a39267e9ce07e185c02d08376853f852e7f47 (commit)
       via  a25623586739ea4ed150ff70ce9c7947ad5171cc (commit)
       via  4be0389a2c5277a15e77d32329cedd2741b56676 (commit)
       via  fb2cd0b257ae624704ff24b79f818de28be2db7f (commit)
       via  99f9af6173dec4a647c865a9a0ebb4347d1598a3 (commit)
       via  705ba44c60c7ccd7af9170266a8ddf9bf97a4052 (commit)
       via  9dce9009bc6861ab64aed4f65a28f63d12679cfd (commit)
      from  9c487bcfd34ba3552ff86016798746333e3d53b2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit e934dfbae52cf15314f8a64d9f2e0ae32861a52c
Merge: 9c487bc deb7a4b
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Wed Nov 28 14:54:42 2012 +0000

    Merge remote-tracking branch 'gdb/master' into archer-pmuldoon-python-backtrace

commit deb7a4b128895057de7a7ac5cc2216b13dd018f7
Author: qiyao <qiyao>
Date:   Wed Nov 28 11:56:15 2012 +0000

    gdb/
    2012-11-28  Yao Qi  <yao@codesourcery.com>
    
    	* breakpoint.c (_initialize_breakpoint): Call add_alias_cmd to
    	abbreviate 'delete tracepoints' to 'delete tr'.
    	* corefile.c (_initialize_core): Call add_alias_cmd to
    	abbreviate 'set gnutarget' to 'set g'.
    	* value.c (_initialize_values): Call add_alias_cmd to abbreviate
    	'show convenience' to 'show conv'.

commit 61c3ddd8447153f63481b517372860d905224ae5
Author: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Date:   Wed Nov 28 11:43:47 2012 +0000

    Disable libsanitizer for non-C++ builds.
    
    	* configure.ac (noconfigdirs): Merge from GCC.
    	* configure: Regenerate.

commit 4fd7fc8edc02d8183265582e8b8e45a51f6b5abf
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Nov 28 00:00:02 2012 +0000

    *** empty log message ***

commit 15f7a7a69c94a05585593bda8f78103aa427f0cf
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Nov 27 23:00:05 2012 +0000

    daily update

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |    5 +
 bfd/ChangeLog                                      |    4 +
 bfd/elf-nacl.c                                     |    5 +-
 bfd/version.h                                      |    2 +-
 configure                                          |    4 +-
 configure.ac                                       |    4 +-
 gdb/ChangeLog                                      |  155 ++++++
 gdb/Makefile.in                                    |    8 +-
 gdb/NEWS                                           |    5 +
 gdb/ada-lang.c                                     |    2 +-
 gdb/breakpoint.c                                   |    1 +
 gdb/common/linux-osdata.c                          |    2 +-
 gdb/config.in                                      |    3 +
 gdb/configure                                      |  496 ++++++++++++++++++++
 gdb/configure.ac                                   |   21 +
 gdb/corefile.c                                     |    1 +
 gdb/doc/ChangeLog                                  |    5 +
 gdb/doc/gdb.texinfo                                |   50 ++
 gdb/dwarf2read.c                                   |    7 +-
 gdb/eval.c                                         |   40 +-
 gdb/exec.c                                         |    4 +-
 gdb/f-valprint.c                                   |    2 +-
 gdb/fbsd-nat.c                                     |    2 +-
 gdb/gdbserver/ChangeLog                            |   12 +
 gdb/gdbserver/configure                            |    2 +-
 gdb/gdbserver/configure.ac                         |    2 +-
 gdb/gdbserver/hostio.c                             |    2 +-
 gdb/gdbserver/linux-low.c                          |    4 +-
 gdb/inf-child.c                                    |    2 +-
 gdb/linux-nat.c                                    |    2 +-
 gdb/minidebug.c                                    |  288 ++++++++++++
 gdb/nbsd-nat.c                                     |    2 +-
 gdb/objfiles.c                                     |   34 +-
 gdb/remote.c                                       |    2 +-
 gdb/skip.c                                         |    2 +-
 gdb/solib-svr4.c                                   |    5 +-
 gdb/sparc-linux-nat.c                              |    6 +-
 gdb/sparc-linux-tdep.c                             |    4 +-
 gdb/sparc-nat.c                                    |   13 +-
 gdb/sparc-nat.h                                    |    8 +-
 gdb/sparc-sol2-nat.c                               |    4 +-
 gdb/sparc-sol2-tdep.c                              |    6 +
 gdb/sparc-tdep.c                                   |   30 +-
 gdb/sparc-tdep.h                                   |   15 +-
 gdb/sparc64-linux-nat.c                            |    4 +-
 gdb/sparc64-linux-tdep.c                           |    4 +-
 gdb/sparc64-sol2-tdep.c                            |    6 +
 gdb/sparc64-tdep.c                                 |   31 +-
 gdb/sparc64-tdep.h                                 |    9 +-
 gdb/sparc64fbsd-tdep.c                             |    4 +-
 gdb/sparc64nbsd-nat.c                              |   11 +-
 gdb/sparc64nbsd-tdep.c                             |    2 +-
 gdb/sparc64obsd-tdep.c                             |    2 +-
 gdb/sparcnbsd-nat.c                                |    1 +
 gdb/sparcnbsd-tdep.c                               |    5 +-
 gdb/symfile.c                                      |   38 +-
 gdb/symfile.h                                      |    4 +
 gdb/symtab.c                                       |   11 +-
 gdb/testsuite/ChangeLog                            |   24 +
 .../gdb.base/{enumval.exp => empty_exe.exp}        |   23 +-
 gdb/testsuite/gdb.base/enumval.exp                 |   48 ++-
 .../gdb.base/gnu-debugdata.c}                      |   37 +-
 gdb/testsuite/gdb.base/gnu-debugdata.exp           |  157 ++++++
 gdb/testsuite/gdb.cp/member-ptr.cc                 |   15 +
 gdb/testsuite/gdb.cp/member-ptr.exp                |   28 ++
 gdb/testsuite/lib/gdb.exp                          |    9 +
 gdb/value.c                                        |    1 +
 gdb/version.in                                     |    2 +-
 68 files changed, 1583 insertions(+), 166 deletions(-)
 create mode 100644 gdb/minidebug.c
 copy gdb/testsuite/gdb.base/{enumval.exp => empty_exe.exp} (66%)
 copy gdb/{nbsd-nat.c => testsuite/gdb.base/gnu-debugdata.c} (52%)
 create mode 100644 gdb/testsuite/gdb.base/gnu-debugdata.exp

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index fdd7c76..e22f63e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-28  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
+
+	* configure.ac (noconfigdirs): Merge from GCC.
+	* configure: Regenerate.
+
 2012-11-19  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
 
 	* config.sub (arm): Merge from upstream: Handle armv[6-8] targets.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ff60564..5d033a6 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2012-11-26  Roland McGrath  <mcgrathr@google.com>
+
+	* elf-nacl.c (nacl_modify_segment_map): Don't crash when INFO is null.
+
 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR binutils/14493
diff --git a/bfd/elf-nacl.c b/bfd/elf-nacl.c
index 04659e7..ce401fa 100644
--- a/bfd/elf-nacl.c
+++ b/bfd/elf-nacl.c
@@ -75,7 +75,7 @@ nacl_modify_segment_map (bfd *abfd, struct bfd_link_info *info)
   struct elf_segment_map **first_load = NULL;
   struct elf_segment_map **last_load = NULL;
   bfd_boolean moved_headers = FALSE;
-  int sizeof_headers = bfd_sizeof_headers (abfd, info);
+  int sizeof_headers = info == NULL ? 0 : bfd_sizeof_headers (abfd, info);
   bfd_vma maxpagesize = get_elf_backend_data (abfd)->maxpagesize;
 
   if (info != NULL && info->user_phdrs)
@@ -149,8 +149,7 @@ nacl_modify_segment_map (bfd *abfd, struct bfd_link_info *info)
    proper order for the ELF rule that they must appear in ascending address
    order.  So find the two segments we swapped before, and swap them back.  */
 bfd_boolean
-nacl_modify_program_headers (bfd *abfd,
-                             struct bfd_link_info *info ATTRIBUTE_UNUSED)
+nacl_modify_program_headers (bfd *abfd, struct bfd_link_info *info)
 {
   struct elf_segment_map **m = &elf_tdata (abfd)->segment_map;
   Elf_Internal_Phdr *phdr = elf_tdata (abfd)->phdr;
diff --git a/bfd/version.h b/bfd/version.h
index 142ebee..589c54b 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20121123
+#define BFD_VERSION_DATE 20121128
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/configure b/configure
index d72d4f9..16bbaa8 100755
--- a/configure
+++ b/configure
@@ -6437,11 +6437,11 @@ case ,${enable_languages},:${enable_objc_gc} in
     ;;
 esac
 
-# Disable libitm if we're not building C++
+# Disable libitm and libsanitizer if we're not building C++
 case ,${enable_languages}, in
   *,c++,*) ;;
   *)
-    noconfigdirs="$noconfigdirs target-libitm"
+    noconfigdirs="$noconfigdirs target-libitm target-libsanitizer"
     ;;
 esac
 
diff --git a/configure.ac b/configure.ac
index 24ea7e5..cd6721e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2008,11 +2008,11 @@ case ,${enable_languages},:${enable_objc_gc} in
     ;;
 esac
 
-# Disable libitm if we're not building C++
+# Disable libitm and libsanitizer if we're not building C++
 case ,${enable_languages}, in
   *,c++,*) ;;
   *)
-    noconfigdirs="$noconfigdirs target-libitm"
+    noconfigdirs="$noconfigdirs target-libitm target-libsanitizer"
     ;;
 esac
 
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f567d47..757e64a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,158 @@
+2012-11-28  Yao Qi  <yao@codesourcery.com>
+
+	* breakpoint.c (_initialize_breakpoint): Call add_alias_cmd to
+	abbreviate 'delete tracepoints' to 'delete tr'.
+	* corefile.c (_initialize_core): Call add_alias_cmd to
+	abbreviate 'set gnutarget' to 'set g'.
+	* value.c (_initialize_values): Call add_alias_cmd to abbreviate
+	'show convenience' to 'show conv'.
+
+2012-11-27  Joel Brobecker  <brobecker@adacore.com>
+
+	* sparc-sol2-nat.c (supply_gregset): Fix first parameter in
+	call to sparc_supply_fpregset.
+	(fill_fpregset): Fix first parameter in call to
+	sparc_collect_fpregset.
+
+2012-11-27  Daniel Jacobowitz  <dan@codesourcery.com>
+	    Kazu Hirata  <kazu@codesourcery.com>
+	    Yao Qi  <yao@codesourcery.com>
+
+	* objfiles.c (init_entry_point_info): Call
+	gdbarch_convert_from_func_ptr_addr and
+	gdbarch_addr_bits_remove here ...
+	(entry_point_address_query): ... instead of here.
+	* solib-svr4.c (exec_entry_point): Call
+	gdbarch_addr_bits_remove.
+	* symfile.c (generic_load): Call gdbarch_addr_bits_remove on
+	the entry address.
+
+2012-11-27  Daniel Jacobowitz  <dan@codesourcery.com>
+	    Yao Qi  <yao@codesourcery.com>
+
+	* eval.c (evaluate_subexp_standard): Add handling of
+	TYPE_CODE_MEMBERPTR when calling functions.  Correct the
+	result of ptype for calling a TYPE_CODE_METHODPTR.
+
+2012-11-27  Yao Qi  <yao@codesourcery.com>
+
+	* symtab.c (symtab_symbol_info): Fix a -Wformat-extra-args
+	warning.
+	Add i18n markup.
+
+2012-11-26  Alexander Larsson  <alexl@redhat.com>
+	    Jan Kratochvil  <jan.kratochvil@redhat.com>
+	    Tom Tromey  <tromey@redhat.com>
+
+	* NEWS: Mention mini debuginfo feature.
+	* minidebug.c: New file.
+	* configure.ac: Check for lzma.
+	* configure, config.in: Rebuild.
+	* Makefile.in (LIBLZMA): New variable.
+	(CLIBS): Include LIBLZMA.
+	(SFILES): Mention minidebug.c.
+	(COMMON_OBS): Mention minidebug.o.
+	* symfile.c (read_symbols): New function.
+	(syms_from_objfile, reread_symbols): Call it.
+	* symfile.h (find_separate_debug_file_in_section): Declare.
+
+2012-11-26  Keith Seitz  <keiths@redhat.com>
+
+	* exec.c (exec_file_attach): Move cleanup after verifying that
+	memory has in fact been allocated.
+
+2012-11-26  Tom Tromey  <tromey@redhat.com>
+
+	* ada-lang.c (user_select_syms): Use SYMBOL_SYMTAB.
+	* dwarf2read.c (dw2_find_symbol_file, fixup_go_packaging): Use
+	SYMBOL_SYMTAB.
+	* skip.c (skip_info): Use SYMBOL_SYMTAB.
+
+2012-11-26  Maxime Villard  <rustyBSD@gmx.fr>
+	    Pedro Alves  <palves@redhat.com>
+
+	* common/linux-osdata.c (linux_xfer_osdata_fds): Decrease buffer
+	size parameter passed to readlink by one byte.
+	* fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
+	* linux-nat.c (linux_child_pid_to_exec_file): Ditto.
+	* nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
+	* inf-child.c (inf_child_fileio_readlink): Decrease local buffer's
+	size by one byte.
+
+2012-11-26  Yao Qi  <yao@codesourcery.com>
+
+	* f-valprint.c (f77_create_arrayprint_offset_tbl): Remove
+	extraneous parentheses.
+
+2012-11-26  Yao Qi  <yao@codesourcery.com>
+
+	* remote.c (remote_start_remote): Typo fix.
+
+2012-11-23  David S. Miller  <davem@davemloft.net>
+
+	* sparc-tdep.h (struct sparc_fpregset): New data structure.
+	(sparc32_sunos4_fpregset, sparc32_bsd_fpregset,
+	sparc32_sol2_fpregset): Declare new globals.
+	(sparc32_supply_fpregset, sparc32_collect_fpregset): Add new
+	'fpregset' argument.
+	* sparc64-tdep.h (sparc64_supply_fpregset,
+	sparc64_collect_fpregset): Likewise.
+	(sparc64_sol2_fpregset, sparc64_bsd_fpregset): Declare new
+	globals.
+	* sparc-nat.h (struct sparc_fpregset): Add forward declaration.
+	(sparc_fpregset): Declare new global.
+	(sparc_supply_fpregset, sparc_collect_fpregset): Add new
+	'fpregset' argument.
+	* sparc-linux-nat.c (supply_fpregset): Pass sparc_fpregset down
+	into handler.
+	(fill_fpregset): Likewise.
+	(_initialize_sparc_linux_nat): Set sparc_fpregset to
+	sparc32_bsd_fpregset.
+	* sparc-linux-tdep.c (sparc32_linux_supply_core_fpregset): Pass
+	sparc32_bsd_fpregset down into handler.
+	(sparc32_linux_collect_core_fpregset): Likewise.
+	* sparc-nat.c (sparc_fpregset): Define.
+	(sparc_supply_fpregset): Add 'fpregset' argument.
+	(sparc_collect_fpregset): Likewise.
+	(sparc_fetch_inferior_registers): Pass sparc_fpregset down
+	into fpregset handler.
+	(sparc_store_inferior_registers): Likewise.
+	(_initialize_sparc_nat): Set sparc_fpregset to
+	sparc32_sunos4_fpregset if NULL.
+	* sparc-sol2-nat.c (supply_gregset): Pass sparc_sol2_fpregset
+	down into handler.
+	(fill_fpregset): Likewise.
+	* sparc-sol2-tdep.c (sparc32_sol2_fpregset): Define.
+	* sparc-tdep.c (sparc32_supply_fpregset): Add fpregset arg and
+	use it to compute offsets.
+	(sparc32_collect_fpregset): Likewise.
+	(sparc32_sunos4_fpregset, sparc32_bsd_fpregset): Define.
+	* sparc64-linux-nat.c (supply_fpregset): Pass sparc64_bsd_fpregset
+	down into handler.
+	(fill_fpregset): Likewise.
+	* sparc64-linux-tdep.c (sparc64_linux_supply_core_fpregset):
+	Likewise.
+	(sparc64_linux_collect_core_fpregset): Likewise.
+	* sparc64-sol2-tdep.c (sparc64_sol2_fpregset): Define.
+	* sparc64-tdep.c (sparc64_supply_fpregset): Add fpregset arg and
+	use it to compute offsets.
+	(sparc64_collect_fpregset): Likewise.
+	(sparc64_bsd_fpregset): Define.
+	* sparc64fbsd-tdep.c (sparc64fbsd_supply_fpregset): Padd
+	sparc64_bsd_fpregset down into handler.
+	(sparc64fbsd_collect_fpregset): Likewise.
+	* sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Add fpregset arg
+	and pass sparc{32,64}_bsd_fpregset down into handler.
+	(sparc64nbsd_collect_fpregset): Likewise.
+	* sparc64nbsd-tdep.c (sparc64nbsd_supply_fpregset): Pass
+	sparc64_bsd_fpregset down into handler.
+	* sparc64obsd-tdep.c (sparc64obsd_supply_gregset): Likewise.
+	* sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Set sparc_fpregset
+	to sparc32_bsd_fpregset.
+	* sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Pass
+	sparc32_bsd_fpregset down into sparc32_supply_fpregset.
+	(sparc32nbsd_supply_fpregset): Likewise.
+
 2012-11-21  Tom Tromey  <tromey@redhat.com>
 
 	* gdbtypes.h (struct cplus_struct_type) <localtype_ptr>: Remove
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index ddb42f0..7e30242 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -151,6 +151,9 @@ READLINE_CFLAGS = @READLINE_CFLAGS@
 # Where is expat?  This will be empty if expat was not available.
 LIBEXPAT = @LIBEXPAT@
 
+# Where is lzma?  This will be empty if lzma was not available.
+LIBLZMA = @LIBLZMA@
+
 WARN_CFLAGS = @WARN_CFLAGS@
 WERROR_CFLAGS = @WERROR_CFLAGS@
 GDB_WARN_CFLAGS = $(WARN_CFLAGS)
@@ -471,7 +474,7 @@ INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(MH_LDFLAGS) $(LDFLAGS) $(CONFIG_
 # LIBIBERTY appears twice on purpose.
 CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(INTL) $(LIBIBERTY) $(LIBDECNUMBER) \
 	$(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ @PYTHON_LIBS@ \
-	$(LIBEXPAT) \
+	$(LIBEXPAT) $(LIBLZMA) \
 	$(LIBIBERTY) $(WIN32LIBS) $(LIBGNU)
 CDEPS = $(XM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) \
 	$(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU)
@@ -716,7 +719,7 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \
 	inline-frame.c \
 	interps.c \
 	jv-exp.y jv-lang.c jv-valprint.c jv-typeprint.c \
-	language.c linespec.c \
+	language.c linespec.c minidebug.c \
 	m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c \
 	macrotab.c macroexp.c macrocmd.c macroscope.c main.c maint.c \
 	mdebugread.c memattr.c mem-break.c minsyms.c mipsread.c memory-map.c \
@@ -879,6 +882,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
 	filesystem.o \
 	inf-child.o \
 	interps.o \
+	minidebug.o \
 	main.o \
 	macrotab.o macrocmd.o macroexp.o macroscope.o \
 	mi-common.o \
diff --git a/gdb/NEWS b/gdb/NEWS
index 5e3f54d..3b09e5f 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -100,6 +100,11 @@ show print type typedefs
   ** New optional parameter COUNT added to the "-data-write-memory-bytes" 
      command, to allow pattern filling of memory areas.
 
+* GDB now supports the "mini debuginfo" section, .gnu_debugdata.
+  You must have the LZMA library available when configuring GDB for this
+  feature to be enabled.  For more information, see:
+      http://fedoraproject.org/wiki/Features/MiniDebugInfo
+
 *** Changes in GDB 7.5
 
 * GDB now supports x32 ABI.  Visit <http://sites.google.com/site/x32abi/>
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index e1dced5..0621c79 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -3583,7 +3583,7 @@ See set/show multiple-symbol."));
             (SYMBOL_CLASS (syms[i].sym) == LOC_CONST
              && SYMBOL_TYPE (syms[i].sym) != NULL
              && TYPE_CODE (SYMBOL_TYPE (syms[i].sym)) == TYPE_CODE_ENUM);
-          struct symtab *symtab = syms[i].sym->symtab;
+          struct symtab *symtab = SYMBOL_SYMTAB (syms[i].sym);
 
           if (SYMBOL_LINE (syms[i].sym) != 0 && symtab != NULL)
             printf_unfiltered (_("[%d] %s at %s:%d\n"),
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 5749fa7..57d4434 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -16339,6 +16339,7 @@ Delete specified tracepoints.\n\
 Arguments are tracepoint numbers, separated by spaces.\n\
 No argument means delete all tracepoints."),
 	   &deletelist);
+  add_alias_cmd ("tr", "tracepoints", class_trace, 1, &deletelist);
 
   c = add_cmd ("tracepoints", class_trace, disable_trace_command, _("\
 Disable specified tracepoints.\n\
diff --git a/gdb/common/linux-osdata.c b/gdb/common/linux-osdata.c
index d54f9d3..b275495 100644
--- a/gdb/common/linux-osdata.c
+++ b/gdb/common/linux-osdata.c
@@ -737,7 +737,7 @@ linux_xfer_osdata_fds (gdb_byte *readbuf,
 			    continue;
 
 			  fdname = xstrprintf ("%s/%s", pathname, dp2->d_name);
-			  rslt = readlink (fdname, buf, 1000);
+			  rslt = readlink (fdname, buf, sizeof (buf) - 1);
 			  if (rslt >= 0)
 			    buf[rslt] = '\0';
 
diff --git a/gdb/config.in b/gdb/config.in
index 34aa31e..a3b8f42 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -192,6 +192,9 @@
 /* Define to 1 if you have the `libiconvlist' function. */
 #undef HAVE_LIBICONVLIST
 
+/* Define if you have the lzma library. */
+#undef HAVE_LIBLZMA
+
 /* Define to 1 if you have the `m' library (-lm). */
 #undef HAVE_LIBM
 
diff --git a/gdb/configure b/gdb/configure
index 0d70d0a..1ee8c78 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -641,6 +641,9 @@ TCL_VERSION
 WIN32LDAPP
 GUI_CFLAGS_X
 LIBGUI
+LTLIBLZMA
+LIBLZMA
+HAVE_LIBLZMA
 WIN32LIBS
 SER_HARDWIRE
 WERROR_CFLAGS
@@ -808,6 +811,8 @@ with_system_gdbinit
 enable_werror
 enable_build_warnings
 enable_gdb_build_warnings
+with_lzma
+with_liblzma_prefix
 with_tcl
 with_tk
 with_x
@@ -1521,6 +1526,9 @@ Optional Packages:
   --with-sysroot[=DIR]    search for usr/lib et al within DIR
   --with-system-gdbinit=PATH
                           automatically load a system-wide gdbinit file
+  --with-lzma             support lzma compression (auto/yes/no)
+  --with-liblzma-prefix[=DIR]  search for liblzma in DIR/include and DIR/lib
+  --without-liblzma-prefix     don't search for liblzma in includedir and libdir
   --with-tcl              directory containing tcl configuration (tclConfig.sh)
   --with-tk               directory containing tk configuration (tkConfig.sh)
   --with-x                use the X Window System
@@ -12617,6 +12625,494 @@ LIBS=$OLD_LIBS
 # Add any host-specific objects to GDB.
 CONFIG_OBS="${CONFIG_OBS} ${gdb_host_obs}"
 
+# If building on ELF, look for lzma support for embedded compressed debug info.
+if test $gdb_cv_var_elf = yes; then
+
+# Check whether --with-lzma was given.
+if test "${with_lzma+set}" = set; then :
+  withval=$with_lzma;
+else
+  with_lzma=auto
+fi
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use lzma" >&5
+$as_echo_n "checking whether to use lzma... " >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_lzma" >&5
+$as_echo "$with_lzma" >&6; }
+
+  if test "${with_lzma}" != no; then
+
+
+
+
+
+
+
+
+    use_additional=yes
+
+  acl_save_prefix="$prefix"
+  prefix="$acl_final_prefix"
+  acl_save_exec_prefix="$exec_prefix"
+  exec_prefix="$acl_final_exec_prefix"
+
+    eval additional_includedir=\"$includedir\"
+    eval additional_libdir=\"$libdir\"
+
+  exec_prefix="$acl_save_exec_prefix"
+  prefix="$acl_save_prefix"
+
+
+# Check whether --with-liblzma-prefix was given.
+if test "${with_liblzma_prefix+set}" = set; then :
+  withval=$with_liblzma_prefix;
+    if test "X$withval" = "Xno"; then
+      use_additional=no
+    else
+      if test "X$withval" = "X"; then
+
+  acl_save_prefix="$prefix"
+  prefix="$acl_final_prefix"
+  acl_save_exec_prefix="$exec_prefix"
+  exec_prefix="$acl_final_exec_prefix"
+
+          eval additional_includedir=\"$includedir\"
+          eval additional_libdir=\"$libdir\"
+
+  exec_prefix="$acl_save_exec_prefix"
+  prefix="$acl_save_prefix"
+
+      else
+        additional_includedir="$withval/include"
+        additional_libdir="$withval/lib"
+      fi
+    fi
+
+fi
+
+      LIBLZMA=
+  LTLIBLZMA=
+  INCLZMA=
+  rpathdirs=
+  ltrpathdirs=
+  names_already_handled=
+  names_next_round='lzma '
+  while test -n "$names_next_round"; do
+    names_this_round="$names_next_round"
+    names_next_round=
+    for name in $names_this_round; do
+      already_handled=
+      for n in $names_already_handled; do
+        if test "$n" = "$name"; then
+          already_handled=yes
+          break
+        fi
+      done
+      if test -z "$already_handled"; then
+        names_already_handled="$names_already_handled $name"
+                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
+        eval value=\"\$HAVE_LIB$uppername\"
+        if test -n "$value"; then
+          if test "$value" = yes; then
+            eval value=\"\$LIB$uppername\"
+            test -z "$value" || LIBLZMA="${LIBLZMA}${LIBLZMA:+ }$value"
+            eval value=\"\$LTLIB$uppername\"
+            test -z "$value" || LTLIBLZMA="${LTLIBLZMA}${LTLIBLZMA:+ }$value"
+          else
+                                    :
+          fi
+        else
+                              found_dir=


hooks/post-receive
--
Repository for Project Archer.


             reply	other threads:[~2012-11-28 14:55 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-28 14:55 pmuldoon [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-02-26 10:18 pmuldoon
2013-02-02 13:02 pmuldoon
2013-01-04 11:43 pmuldoon
2012-11-23 16:55 pmuldoon
2012-11-09 15:09 pmuldoon
2012-10-22 13:01 pmuldoon
2012-09-07 13:38 pmuldoon
2012-09-04 12:17 pmuldoon
2012-09-04 12:13 pmuldoon
2012-08-30 16:58 pmuldoon
2012-08-23 14:56 pmuldoon
2012-08-14 16:08 pmuldoon
2012-08-09 17:02 pmuldoon
2012-08-01 17:00 pmuldoon
2012-07-23 19:41 pmuldoon
2012-07-19 12:40 pmuldoon
2012-07-18 14:22 pmuldoon
2012-07-11 14:21 pmuldoon
2012-06-25 17:43 pmuldoon
2012-06-21 11:12 pmuldoon
2012-06-14 10:27 pmuldoon
2012-06-13 13:52 pmuldoon
2012-06-06 10:42 pmuldoon
2012-05-22 12:36 pmuldoon
2012-04-26 13:31 pmuldoon
2012-04-10 19:22 pmuldoon
2012-04-04 15:05 pmuldoon
2012-03-27 16:42 pmuldoon
2012-03-23 14:48 pmuldoon
2012-03-19 15:08 pmuldoon
2012-03-12 13:42 pmuldoon
2012-03-05 15:58 pmuldoon
2012-02-20 17:52 pmuldoon
2012-02-13 10:41 pmuldoon
2012-01-23 16:39 pmuldoon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121128145458.30261.qmail@sourceware.org \
    --to=pmuldoon@sourceware.org \
    --cc=archer-commits@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).