public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  jankratochvil/man: Merge branch 'addindex' into jankratochvil/man
@ 2013-04-08 11:26 jkratoch
  0 siblings, 0 replies; 2+ messages in thread
From: jkratoch @ 2013-04-08 11:26 UTC (permalink / raw)
  To: archer-commits

The branch, jankratochvil/man has been updated
       via  bdbe622e9b047621e003095cbc840e839127aa15 (commit)
       via  15a3a62594cf4270f5f0bd425f9958e6af9277f1 (commit)
       via  59e76bc290e612e1f8cf858b11293740fe9ca7b1 (commit)
      from  da3218d9de387fa78680a3dacfb9ae053d38dca3 (commit)

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

- Log -----------------------------------------------------------------
commit bdbe622e9b047621e003095cbc840e839127aa15
Merge: da3218d 15a3a62
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Apr 8 13:26:41 2013 +0200

    Merge branch 'addindex' into jankratochvil/man
    
    Conflicts:
    	gdb/doc/Makefile.in

commit 15a3a62594cf4270f5f0bd425f9958e6af9277f1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Apr 8 13:25:26 2013 +0200

    .

commit 59e76bc290e612e1f8cf858b11293740fe9ca7b1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 7 21:29:15 2013 +0200

    .

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

Summary of changes:
 gdb/doc/Makefile.in |   13 ++++++++++++-
 gdb/doc/gdb.texinfo |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+), 1 deletions(-)

First 500 lines of diff:
diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in
index 4ad31d9..effd665 100644
--- a/gdb/doc/Makefile.in
+++ b/gdb/doc/Makefile.in
@@ -177,7 +177,7 @@ POD2MAN5 = pod2man --center="GNU Development Tools" \
 		   --release="gdb-`sed q $(srcdir)/../version.in`" --section=5
 
 # List of man pages generated from gdb.texi
-MAN1S = gdb.1 gdbserver.1 gcore.1
+MAN1S = gdb.1 gdbserver.1 gcore.1 gdb-add-index.1
 MAN5S = gdbinit.5
 MANS = $(MAN1S) $(MAN5S)
 
@@ -605,6 +605,7 @@ gdbserver.1: $(GDB_DOC_FILES)
 		mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
 	rm -f gdbserver.pod
 
+<<<<<<< HEAD
 gcore.1: $(GDB_DOC_FILES)
 	touch $@
 	-$(TEXI2POD) $(MANCONF) -Dgcore < $(srcdir)/gdb.texinfo > gcore.pod
@@ -612,6 +613,16 @@ gcore.1: $(GDB_DOC_FILES)
 		mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
 	rm -f gcore.pod
 
+||||||| merged common ancestors
+=======
+gdb-add-index.1: $(GDB_DOC_FILES)
+	touch $@
+	-$(TEXI2POD) $(MANCONF) -Dgdb-add-index < $(srcdir)/gdb.texinfo > gdb-add-index.pod
+	-($(POD2MAN1) gdb-add-index.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+		mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
+	rm -f gdb-add-index.pod
+
+>>>>>>> addindex
 gdbinit.5: $(GDB_DOC_FILES)
 	touch $@
 	-$(TEXI2POD) $(MANCONF) -Dgdbinit < $(srcdir)/gdb.texinfo > gdbinit.pod
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index fc2adc3..20306a5 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -41611,6 +41611,7 @@ switch (die->tag)
 * gdbserver man::               Remote Server for the GNU Debugger man page
 * gcore man::                   Generate a core file of a running program
 * gdbinit man::                 gdbinit scripts
+* gdb-add-index man::           Add index files to speed up GDB
 @end menu
 
 @node gdb man
@@ -42275,6 +42276,53 @@ Richard M. Stallman and Roland H. Pesch, July 1991.
 @end ifset
 @c man end
 
+@node gdb-add-index man
+
+@c man title gdb-add-index Add index files to speed up GDB
+
+@c man begin SYNOPSIS gdb-add-index
+gdb-add-index @var{filename}
+@c man end
+
+@c man begin DESCRIPTION gdb-add-index
+When GDB finds a symbol file, it scans the symbols in the file in order
+to construct an internal symbol table.  This lets most GDB operations
+work quickly--at the cost of a delay early on.  For large programs,
+this delay can be quite lengthy, so GDB provides a way to build an
+index, which speeds up startup.
+
+To determine whether a file contains such an index, use the command
+@command{readelf -S filename}: the index is stored in a section named
+@code{.gdb_index}.  Note that the index is never generated for files that do
+not contain DWARF debug information (sections named @code{.debug_*}).
+
+See more in
+@ifset man
+the @value{GDBN} manual in node @code{Index Files}
+-- shell command @code{info -f gdb -n 'Index Files'}.
+@end ifset
+@ifclear man
+@ref{Index Files}.
+@end ifclear
+@c man end
+
+@c man begin SEEALSO gdb-add-index
+@ifset man
+The full documentation for @value{GDBN} is maintained as a Texinfo manual.
+If the @code{info} and @code{gdb} programs and @value{GDBN}'s Texinfo
+documentation are properly installed at your site, the command
+
+@smallexample
+info gdb
+@end smallexample
+
+should give you access to the complete manual.
+
+@cite{Using GDB: A Guide to the GNU Source-Level Debugger},
+Richard M. Stallman and Roland H. Pesch, July 1991.
+@end ifset
+@c man end
+
 @include gpl.texi
 
 @node GNU Free Documentation License


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [SCM]  jankratochvil/man: Merge branch 'addindex' into jankratochvil/man
@ 2013-04-10 19:02 jkratoch
  0 siblings, 0 replies; 2+ messages in thread
From: jkratoch @ 2013-04-10 19:02 UTC (permalink / raw)
  To: archer-commits

The branch, jankratochvil/man has been updated
       via  0161d2c34874506a62b17bd87f014fd5593f65b8 (commit)
       via  f9fe5117231ad2641e4cf3e13b395596a5cb5f16 (commit)
       via  01fddb0e0538c30061e60782e35cb6731a595adc (commit)
       via  8eb140788cd734c1bb4c340d934937e54252dd28 (commit)
       via  4678952587ce569e7820b54ebdf47779aeb67a98 (commit)
       via  9caad670ad8b4e40873a6c9f860c2f7308c87692 (commit)
       via  0a1df36fccb14d8ea5370ef30ba5e1251f7dba06 (commit)
       via  9ccb9a101beab4a9794bda91cf4fa0fac529a02f (commit)
       via  fd3c1b4c0e71d5a18f5d21f3156ac0aa11b04080 (commit)
       via  c9899b1ffb34764a5970e51577e6614db17f0f5e (commit)
       via  6920a25622bf5d0f2757b8e3a8758fed079a673a (commit)
       via  dfbdc311bb0eccdb6b666ce5a39b917041afe14b (commit)
       via  375d6fc170031d5e766a099007c8f05d27ed5ae2 (commit)
       via  e3ada0e8c1f4e1590d8f497dac1a4ee0764cfdcb (commit)
       via  e5022b29db21f3857467f6607d77a311fa56358b (commit)
       via  403d419597f86db009015c14278885b0e52d7cbe (commit)
       via  52e20e957454d993a9680c7e804908de592b783f (commit)
       via  0352a4f888853d2c36567f4b5d17509c4347c77d (commit)
       via  e333bdabcebe35e5caeec19dddaf8c5be6cc31d0 (commit)
       via  aebf8be36058f10e9283d8880a899067f6dd0589 (commit)
       via  7c1f09a82d3b5239a7b711c9ba7a041a255ec321 (commit)
       via  6488eb612638a2068cc39fbae43fa590c0e04c71 (commit)
       via  2a9030220efff2f7e5e7447ee523726bd9585072 (commit)
       via  a46b9c75fd4e0fdc2d42bc9e9c7c9e93c4d15d22 (commit)
       via  e1680b9894e7e24e37b1fb89c3f3c5cf8f35f13f (commit)
       via  2ea5f4d0159a0be1076012833e14444d18ad236b (commit)
       via  7a6f96da7512714de6000ea736ced694048b484a (commit)
       via  32175dbe3a51818eaec6d66424ebc50847257321 (commit)
       via  22fdb0b6796bc334b00a5d561ad24f8349af40dd (commit)
       via  64a7053fdba3556734e593c5776eae9599ec6e46 (commit)
       via  b61e0c215db87e3374cc8cd399c0e05146c49fba (commit)
       via  98e1b3e3b904aca13666570f9480066f01984daf (commit)
       via  79b7922fc17b9346596842f51f44c2e68d8c661d (commit)
       via  e01d62fba5477f54d9006c2564ce56bc31b528f7 (commit)
       via  e78df53764c2576f39a433ed9f16d270f11e1b05 (commit)
       via  6aa27e60ba114f43a954ecbdce9d453820bb0c3b (commit)
       via  fcb4486c32cb089362753f42c4e69ddb2aeee705 (commit)
       via  cbc30f137ef95dda9cfbe90eeb6292b9fdb0da69 (commit)
       via  fd4055ffae259ee2fba5f72815cf75248c390b7b (commit)
       via  2de479a0d3895e50183c26da0e944e97162f8d77 (commit)
       via  c924dcadcc124916a66a6be127f2497d6c344dec (commit)
       via  e5aaf6c59e348c9d60da72430515331c6c5d78b5 (commit)
       via  38111ce2b47bd1f264cb2277bed98d805c9409eb (commit)
       via  c9cc9c87624c1bae7142f51e60ee7b1e5bb809c3 (commit)
      from  bc413763bba12f676a1f22b2bb329f3c872100ee (commit)

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

- Log -----------------------------------------------------------------
commit 0161d2c34874506a62b17bd87f014fd5593f65b8
Merge: f9fe511 01fddb0
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 10 21:02:14 2013 +0200

    Merge branch 'addindex' into jankratochvil/man

commit f9fe5117231ad2641e4cf3e13b395596a5cb5f16
Merge: bc41376 8eb1407
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 10 21:02:11 2013 +0200

    Merge branch 'gcore1-2-opt' into jankratochvil/man

commit 01fddb0e0538c30061e60782e35cb6731a595adc
Merge: 15a3a62 0a1df36
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 10 21:01:58 2013 +0200

    Merge remote-tracking branch 'gdb/master' into addindex

commit 8eb140788cd734c1bb4c340d934937e54252dd28
Merge: 52e20e9 4678952
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 10 17:55:44 2013 +0200

    Merge branch 'gcore1-2' into gcore1-2-opt

commit 4678952587ce569e7820b54ebdf47779aeb67a98
Merge: 0352a4f 9caad67
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 10 17:55:43 2013 +0200

    Merge branch 'gcore1' into gcore1-2

commit 9caad670ad8b4e40873a6c9f860c2f7308c87692
Merge: e333bda 0a1df36
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 10 17:55:42 2013 +0200

    Merge remote-tracking branch 'gdb/master' into gcore1

commit 0a1df36fccb14d8ea5370ef30ba5e1251f7dba06
Author: Pedro Alves <palves@redhat.com>
Date:   Wed Apr 10 15:11:11 2013 +0000

    Accept "set foo unlimited" in integer/uinteger/zuinteger_unlimited commands.
    
    Currently, several commands take "0" or "-1" to mean "unlimited".
    
    "show" knows when to print "unlimited":
    
     (gdb) show height
     Number of lines gdb thinks are in a page is 45.
     (gdb) set height 0
     (gdb) show height
     Number of lines gdb thinks are in a page is unlimited.
    
    However, the user can't herself specify "unlimited" directly:
    
     (gdb) set height unlimited
     No symbol table is loaded.  Use the "file" command.
     (gdb)
    
    This patch addresses that, by adjusting the set handler for all
    integer/uinteger/zuinteger_unlimited commands to accept literal
    "unlimited".  It also installs a completer.  Presently, we complete on
    symbols by default, and at
    <http://sourceware.org/ml/gdb-patches/2013-03/msg00864.html> I've
    shown a WIP prototype that tried to keep that half working in these
    commands.  In the end, it turned out to be more complicated than
    justifiable, IMO.  It's super rare to want to pass the value of a
    variable/symbol in the program to a GDB set/show knob.  That'll still
    work, it's just that we won't assist with completion anymore.  This
    patch just sticks with the simple, and completes on "unlimited", and
    nothing else.  This simplification means that
    
      "set he<tab><tab>"
    
    is all it takes to get to:
    
      "set height unlimited"
    
    The patch then goes through all integer/uinteger/zuinteger_unlimited
    commands in the tree, and updates both the online help and the manual
    to mention that "unlimited" is accepted in addition to 0/-1.  In the
    cases where the command had no online help text at all, this adds it.
    I've tried to make the texts read in a way that "unlimited" is
    suggested before "0" or "-1" is.
    
    Tested on x86_64 Fedora 17.
    
    gdb/
    2013-04-10  Pedro Alves  <palves@redhat.com>
    
    	* cli/cli-decode.c (integer_unlimited_completer): New function.
    	(add_setshow_integer_cmd, add_setshow_uinteger_cmd)
    	(add_setshow_zuinteger_unlimited_cmd): Install the "unlimited"
    	completer.
    	* cli/cli-setshow.c: Include "cli/cli-utils.h".
    	(is_unlimited_literal): New function.
    	(do_set_command): Handle literal "unlimited" arguments.
    	* frame.c (_initialize_frame) <set backtrace limit>: Document
    	"unlimited".
    	* printcmd.c (_initialize_printcmd) <set print
    	max-symbolic-offset>: Add help text.
    	* record-full.c (_initialize_record_full) <set record full
    	insn-number-max>: Likewise.
    	* record.c (_initialize_record) <set record
    	instruction-history-size, set record function-call-history-size>:
    	Add help text.
    	* ser-tcp.c (_initialize_ser_tcp) <set tcp connect-timeout>: Add
    	help text.
    	* tracepoint.c (_initialize_tracepoint) <set trace-buffer-size>:
    	Likewise.
    	* source.c (_initialize_source) <set listsize>: Add help text.
    	* utils.c (initialize_utils) <set height, set width>: Likewise.
    	<set pagination>: Mention "set height unlimited".
    	* valprint.c (_initialize_valprint) <set print elements, set print
    	repeats>: Document "unlimited".
    
    gdb/doc/
    2013-04-10  Pedro Alves  <palves@redhat.com>
    
    	* gdb.texinfo (Process Record and Replay): Document that "set
    	record full insn-number-max", "set record
    	instruction-history-size" and "set record
    	function-call-history-size" accept "unlimited".
    	(Backtrace): Document that "set backtrace limit" accepts
    	"unlimited".
    	(List): Document that "set listsize" accepts "unlimited".
    	(Print Settings)" Document that "set print max-symbolic-offset",
    	"set print elements" and "set print repeats" accept "unlimited".
    	(Starting and Stopping Trace Experiments): Document that "set
    	trace-buffer-size" accepts "unlimited".
    	(Remote Configuration): Document that "set tcp connect-timeout"
    	accepts "unlimited".
    	(Command History): Document that "set history size" accepts
    	"unlimited".
    	(Screen Size): Document that "set height" and "set width" accepts
    	"unlimited".  Adjust "set pagination"'s description to suggest
    	"set height unlimited" instead of "set height 0".
    
    gdb/testsuite/
    2013-04-10  Pedro Alves  <palves@redhat.com>
    
    	* gdb.base/completion.exp: Test "set height", "set listsize" and
    	"set trace-buffer-size" completion.
    	* gdb.base/setshow.exp: Test "set height unlimited".
    	* gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
    	unlimited".

commit 9ccb9a101beab4a9794bda91cf4fa0fac529a02f
Author: Pedro Alves <palves@redhat.com>
Date:   Wed Apr 10 14:10:35 2013 +0000

    make -gdb-exit call disconnect_tracing too, and don't lose history if the target errors on "quit"
    
    Gareth mentions in PR gdb/15275:
    
     "The MI '-gdb-exit' command mi_cmd_gdb_exit() never calls disconnect_tracing()
     and therefore exits correctly."
    
    It should, so to get out of tfind mode, as quit may detach instead of
    kill, and we don't want to confuse the memory/register accesses
    etc. of the detach process.  So we should push down the disconnect
    tracing bits at least to quit_force.  But we can't as is, as that
    would swallow the error thrown by answering "no" to:
    
      Trace is running but will stop on detach; detach anyway? (y or n)
    
    So to address that, we split disconnect_tracing in two.  One part that
    does the query, and another part that does the rest, and we make
    quit_force call the latter.
    
    Looking at quit_force, it does several things, some of which are a bit
    independent of the others.  It first kills/detaches, and then writes
    history, and then runs the final cleanups.  It seems better to me to
    do each of these things even if the previous thing throws.  E.g., as
    is, if something throws while detaching, then we skip writing history.
    
    Tested on x86_64 Fedora 17.
    
    gdb/
    2013-04-10  Pedro Alves  <palves@redhat.com>
    
    	* cli/cli-cmds.c (quit_command): Call query_if_trace_running
    	instead of disconnect_tracing.
    	* infcmd.c (detach_command, disconnect_command): Call
    	query_if_trace_running.  Adjust.
    	* top.c: Include "tracepoint.h".
    	(quit_target): Delete.  Contents moved ...
    	(quit_force): ... here.  Wrap each stage of teardown in
    	TRY_CATCH.  Call disconnect_tracing before detaching.

commit fd3c1b4c0e71d5a18f5d21f3156ac0aa11b04080
Author: qiyao <qiyao>
Date:   Wed Apr 10 09:42:56 2013 +0000

    gdb/
    
    2013-04-10  Hui Zhu  <hui@codesourcery.com>
    	    Yao Qi  <yao@codesourcery.com>
    
    	* configure.ac: Check libbabeltrace is installed.
    	* config.in: Regenerate.
    	* configure: Regenerate.
    	* Makefile.in (LIBBABELTRACE): New.
    	(CLIBS): Add LIBBABELTRACE.
    	* ctf.c: Include "exec.h".
    	(CTF_EVENT_ID_STATUS, CTF_EVENT_ID_TSV_DEF): New macros.
    	(CTF_EVENT_ID_TP_DEF, ctf_save_write_int32): New macros.
    	(ctf_save_metadata_header): Define new type aliases in
    	metadata.
    	(ctf_write_header): Define event type "tsv_def" and "tp_def"
    	in metadata.  Start a new faked packet for trace status.
    	(ctf_write_status): Write trace status to CTF.
    	(ctf_write_uploaded_tsv): Write TSV to CTF.
    	(ctf_write_uploaded_tp): Write tracepoint definition to CTF.
    	(ctf_write_definition_end): End the faked packet.
    
    	(ctx, ctf_iter, trace_dirname): New.
    	(start_pos): New variable.
    	(ctf_destroy, ctf_open_dir, ctf_open): New.
    	(SET_INT32_FIELD, SET_ARRAY_FIELD, SET_STRING_FIELD): New
    	macros.
    	(ctf_read_tsv, ctf_read_tp, ctf_close, ctf_files_info): New.
    	(ctf_fetch_registers, ctf_xfer_partial): New.
    	(ctf_get_trace_state_variable_value): New.
    	(ctf_get_tpnum_from_frame_event): New.
    	(ctf_get_traceframe_address): New.
    	(ctf_trace_find, ctf_has_stack): New.
    	(ctf_has_registers, ctf_traceframe_info, init_ctf_ops): New.
    	(ctf_get_trace_status, ctf_read_status): New.
    	(_initialize_ctf): New.
    	* tracepoint.c (get_tracepoint_number): New
    	(get_uploaded_tsv): Remove 'static'.
     	(struct traceframe_info, trace_regblock_size): Move it to ...
    	* tracepoint.h: ... here.
    	(get_tracepoint_number): Declare it.
    	(get_uploaded_tsv): Declare it.
    
    	* NEWS: Mention new configure option.
    
    gdb/doc/
    
    2013-04-10  Yao Qi  <yao@codesourcery.com>
    
    	* gdb.texinfo (Trace Files): Add "target ctf".
    
    gdb/testsuite/
    
    2013-04-10  Yao Qi  <yao@codesourcery.com>
    
    	* gdb.trace/actions.exp: Save trace data to CTF.
    	Change to ctf target if GDB supports, read CTF data in ctf
    	target, and check the actions of tracepoints.
    	* gdb.trace/while-stepping.exp: Likewise.
    	* gdb.trace/report.exp: Test GDB saves trace data to CTF
    	format and read CTF trace file if GDB supports.
    	* gdb.trace/tstatus.exp: Save trace data to CTF.  If ctf
    	target is supported, change to ctf target, read trace data and
    	check output of command "tstatus".
    	* gdb.trace/tsv.exp: Save trace frame to CTF.  If GDB supports,
    	read CTF data by target ctf and call check_tsv.

commit c9899b1ffb34764a5970e51577e6614db17f0f5e
Author: qiyao <qiyao>
Date:   Wed Apr 10 06:12:01 2013 +0000

    gdb/testsuite/
    
    	* gdb.trace/actions.exp (check_tracepoint): New.
    	(top level): Start the tracing and check the actions of
    	tracepoints.  Save trace data to tfile format.  Restart GDB
    	and read trace file in tfile target.  Check the actions of
    	tracepoints again.
    	* gdb.trace/while-stepping.exp: Likewise.

commit 6920a25622bf5d0f2757b8e3a8758fed079a673a
Author: qiyao <qiyao>
Date:   Wed Apr 10 05:35:56 2013 +0000

    gdb/testsuite/
    
    	* gdb.trace/report.exp: Use standard_output_file for saved
    	trace file.

commit dfbdc311bb0eccdb6b666ce5a39b917041afe14b
Author: Hui Zhu <teawater@gmail.com>
Date:   Wed Apr 10 04:35:20 2013 +0000

    2013-04-10  Pedro Alves  <palves@redhat.com>
    	    Hui Zhu  <hui@codesourcery.com>
    
    	* breakpoint.c (dprintf_re_set): New.
    	(initialize_breakpoint_ops): Set dprintf_breakpoint_ops re_set
    	to dprintf_re_set.
    
    2013-04-10  Hui Zhu  <hui@codesourcery.com>
    
    	* gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
    	(MISCELLANEOUS): Add dprintf-pendshr.sl.
    	* gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.

commit 375d6fc170031d5e766a099007c8f05d27ed5ae2
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Apr 10 00:47:32 2013 +0000

    Remove solib-svr4.o from gdb_target_obs for ppc-aix.
    
    gdb/ChangeLog:
    
            * configure.tgt (gdb_target_obs) <powerpc-*-aix* | rs6000-*-*>:
            Remove solib-svr4.o from the list.

commit e3ada0e8c1f4e1590d8f497dac1a4ee0764cfdcb
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Apr 10 00:00:04 2013 +0000

    daily update

commit e5022b29db21f3857467f6607d77a311fa56358b
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Apr 10 00:00:03 2013 +0000

    *** empty log message ***

commit 403d419597f86db009015c14278885b0e52d7cbe
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue Apr 9 23:30:50 2013 +0000

    Fix build failure in varobj.c:update_dynamic_varobj_children...
    
    ... when !HAVE_PYTHON.
    
    gdb/ChangeLog:
    
            * varobj.c (update_dynamic_varobj_children) [!HAVE_PYTHON]:
            Use gdb_assert_not_reached instead of invalid boolean expression.

commit 52e20e957454d993a9680c7e804908de592b783f
Merge: aebf8be 0352a4f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 9 18:30:21 2013 +0200

    Merge branch 'gcore1-2' into gcore1-2-opt

commit 0352a4f888853d2c36567f4b5d17509c4347c77d
Merge: 7a6f96d e333bda
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 9 18:30:21 2013 +0200

    Merge branch 'gcore1' into gcore1-2

commit e333bdabcebe35e5caeec19dddaf8c5be6cc31d0
Merge: 642b17e 6488eb6
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 9 18:30:20 2013 +0200

    Merge remote-tracking branch 'gdb/master' into gcore1

commit aebf8be36058f10e9283d8880a899067f6dd0589
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 9 18:29:53 2013 +0200

    .

commit 7c1f09a82d3b5239a7b711c9ba7a041a255ec321
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 9 18:27:17 2013 +0200

    .

commit 6488eb612638a2068cc39fbae43fa590c0e04c71
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Apr 9 15:50:38 2013 +0000

    	PR ld/12494
    	* bfd/elf32-avr.c: Consider all sections to determine if linker
    	relaxation can safely delete a ret after a call/jmp

commit 2a9030220efff2f7e5e7447ee523726bd9585072
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 9 15:26:44 2013 +0000

    gdb/testsuite/
    	* gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
    	response.

commit a46b9c75fd4e0fdc2d42bc9e9c7c9e93c4d15d22
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Apr 9 15:18:40 2013 +0000

          * bfd.c (typedef bfd, Error reporting, Miscellaneous): Add INODEs.
    
            * bfd.texinfo (typedef bfd, Error reporting, Miscellaneous):
            Add menu items.

commit e1680b9894e7e24e37b1fb89c3f3c5cf8f35f13f
Author: Pedro Alves <palves@redhat.com>
Date:   Tue Apr 9 12:18:34 2013 +0000

    Avoid potencially-stale errno usage.
    
    The current throw_perror_with_name/TARGET_CLOSE_ERROR calls assume
    errno is still set to the right error, although remote_unpush_target
    is called in between, which may well change errno.
    
    Tested on x86_64 Fedora 17 w/ gdbserver.
    
    gdb/
    2013-04-09  Pedro Alves  <palves@redhat.com>
    
    	* remote.c (unpush_and_perror): New function.
    	(readchar, remote_serial_write): Use it.

commit 2ea5f4d0159a0be1076012833e14444d18ad236b
Author: mmetzger <mmetzger>
Date:   Tue Apr 9 08:04:32 2013 +0000

    gdb/
    	* NEWS: Mention new btrace RSP packets.

commit 7a6f96da7512714de6000ea736ced694048b484a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 9 09:12:36 2013 +0200

    .

commit 32175dbe3a51818eaec6d66424ebc50847257321
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Apr 9 02:17:17 2013 +0000

    	* symmisc.c (dump_msymbols): Cast fprintf_filtered argument to
    	long.

commit 22fdb0b6796bc334b00a5d561ad24f8349af40dd
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Apr 9 00:00:05 2013 +0000

    daily update

commit 64a7053fdba3556734e593c5776eae9599ec6e46
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Apr 9 00:00:03 2013 +0000

    *** empty log message ***

commit b61e0c215db87e3374cc8cd399c0e05146c49fba
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Apr 8 20:20:45 2013 +0000

    	* maint.c (print_bfd_section_info): Print the section index.
    	* symmisc.c (dump_msymbols): Print the section index.

commit 98e1b3e3b904aca13666570f9480066f01984daf
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Apr 8 20:18:10 2013 +0000

    	PR symtab/8424:
    	* blockframe.c (find_pc_partial_function_gnu_ifunc): Check
    	SYMBOL_SECTION, not SYMBOL_OBJ_SECTION.
    	* breakpoint.c (resolve_sal_pc): Update.
    	* elfread.c (elf_gnu_ifunc_record_cache): Update.
    	* findvar.c (struct minsym_lookup_data) <objfile>: New field.
    	(minsym_lookup_iterator_cb): Use it.
    	(default_read_var_value): Update.
    	* hppa-hpux-tdep.c (hppa64_hpux_in_solib_call_trampoline):
    	Update.
    	* infcmd.c (jump_command): Update.
    	* linespec.c (minsym_found): Update.
    	* maint.c (maintenance_translate_address): Update.
    	* minsyms.c (lookup_minimal_symbol_by_pc_section_1): Update.
    	(prim_record_minimal_symbol_full): Don't set SYMBOL_OBJ_SECTION.
    	* parse.c (write_exp_msymbol): Update.
    	* printcmd.c (address_info): Update.
    	* psymtab.c (find_pc_sect_psymbol): Update.
    	(fixup_psymbol_section): Check SYMBOL_SECTION, not
    	SYMBOL_OBJ_SECTION.
    	(add_psymbol_to_bcache): Correctly initialize SYMBOL_SECTION.
    	Don't initialize SYMBOL_OBJ_SECTION.
    	* spu-tdep.c (spu_catch_start): Update.
    	* stabsread.c (define_symbol): Don't set SYMBOL_SECTION.
    	* symmisc.c (dump_msymbols, print_symbol): Update.
    	* symtab.c (fixup_section): Don't set 'obj_section'.  Change
    	how fallback section is computed.
    	(fixup_symbol_section): Update.
    	(find_pc_sect_symtab, find_function_start_sal, skip_prologue_sal):
    	Update.
    	(allocate_symbol, initialize_symbol, allocate_template_symbol):
    	Initialize SYMBOL_SECTION.
    	* symtab.h (struct general_symbol_info) <section>: Update comment.
    	<obj_section>: Remove.
    	(SYMBOL_OBJ_SECTION): Add 'objfile' argument.  Rewrite.
    	(SYMBOL_OBJFILE): New macro.

commit 79b7922fc17b9346596842f51f44c2e68d8c661d
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Apr 8 20:13:21 2013 +0000

    	* coffread.c (record_minimal_symbol): Update.
    	* dbxread.c (record_minimal_symbol): Update.
    	* elfread.c (record_minimal_symbol): Update.
    	* machoread.c (macho_symtab_add_minsym): Update.
    	* mdebugread.c (record_minimal_symbol, parse_partial_symbols):
    	Update.
    	* minsyms.c (prim_record_minimal_symbol): Update.
    	(prim_record_minimal_symbol_full): Remove 'bfd_section'
    	argument.
    	(prim_record_minimal_symbol_and_info): Likewise.
    	* minsyms.h (prim_record_minimal_symbol_full)
    	(prim_record_minimal_symbol_and_info): Update.
    	* symtab.c (allocate_symbol, initialize_symbol)
    	(allocate_template_symbol): Initialize SYMBOL_SECTION.
    	* xcoffread.c (record_minimal_symbol, scan_xcoff_symtab):
    	Update.

commit e01d62fba5477f54d9006c2564ce56bc31b528f7
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Apr 8 20:08:20 2013 +0000

    	PR symtab/8423:
    	* solib-som.c (som_solib_section_offsets): Use BFD section
    	indices.  Set offsets for all sections.
    	* somread.c (som_symtab_read): Compute BFD section for
    	symbol.  Use prim_record_minimal_symbol_and_info.
    	(som_symfile_read): Fix comment.
    	(struct find_section_offset_arg): New.
    	(find_section_offset, set_section_index): New functions.
    	(som_symfile_offsets): Use set_section_index to compute
    	section indices.
    bfd/
    	* som.c (bfd_section_from_som_symbol): No longer static.
    	* som.h (bfd_section_from_som_symbol): Declare.

commit e78df53764c2576f39a433ed9f16d270f11e1b05
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Apr 8 20:04:42 2013 +0000

    	* coffread.c (cs_to_section): Use gdb_bfd_section_index.
    	* elfread.c (record_minimal_symbol, elf_symtab_read): Use
    	gdb_bfd_section_index.
    	* gdb_bfd.c (gdb_bfd_section_index, gdb_bfd_count_sections):
    	New functions.
    	* gdb_bfd.h (gdb_bfd_section_index, gdb_bfd_count_sections):
    	Declare.
    	* machoread.c (macho_symtab_add_minsym, macho_symfile_offsets):
    	Update.
    	* objfiles.c (add_to_objfile_sections_full): New function.
    	(add_to_objfile_sections): Use it.
    	(build_section_table): Rewrite.
    	(objfile_relocate1): Use gdb_bfd_section_index.  Update.
    	* objfiles.h (obj_section_offset): Use gdb_bfd_section_index.
    	(struct objfile) <sections>: Update comment.
    	(ALL_OBJFILE_OSECTIONS): Skip sections where the_bfd_section
    	is NULL.
    	(ALL_OBJSECTIONS): Use it.
    	* solib-dsbt.c (dsbt_relocate_main_executable): Update.
    	* solib-frv.c (frv_relocate_main_executable): Update.
    	* solib-target.c (solib_target_relocate_section_addresses):
    	Use gdb_bfd_section_index.
    	* symfile.c (build_section_addr_info_from_section_table):
    	Use gdb_bfd_section_index.
    	(build_section_addr_info_from_bfd, place_section): Likewise.
    	* symtab.c (fixup_section): Update.
    	* xcoffread.c (find_targ_sec): Use gdb_bfd_section_index.

commit 6aa27e60ba114f43a954ecbdce9d453820bb0c3b
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Apr 8 19:59:08 2013 +0000

    	* minsyms.h (struct bound_minimal_symbol): New.
    	(lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol.
    	Remove objfile argument.
    	(lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc):
    	Return bound_minimal_symbol.
    	* minsyms.c (lookup_minimal_symbol_by_pc_1)
    	(lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc):
    	Return bound_minimal_symbol.
    	(in_gnu_ifunc_stub): Update.
    	(lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol.
    	Remove 'objfile_p' argument.
    	(lookup_solib_trampoline_symbol_by_pc): Update.
    	* ada-tasks.c, amd64-windows-tdep.c, arm-tdep.c,
    	arm-wince-tdep.c, block.c, blockframe.c, breakpoint.c, btrace.c,
    	c-valprint.c, dwarf2loc.c, elfread.c, frame.c, frv-tdep.c,
    	glibc-tdep.c, gnu-v2-abi.c, gnu-v3-abi.c, hppa-hpux-tdep.c,
    	i386-tdep.c, ia64-tdep.c, infcall.c, infcmd.c, jit.c,
    	linux-fork.c, m32c-tdep.c, m68hc11-tdep.c, maint.c,
    	mips-tdep.c, p-valprint.c, parse.c, ppc-linux-tdep.c,
    	ppc-sysv-tdep.c, printcmd.c, rs6000-tdep.c, sh64-tdep.c,
    	stack.c, symtab.c, tui/tui-disasm.c: Update.

commit fcb4486c32cb089362753f42c4e69ddb2aeee705
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Apr 8 19:56:02 2013 +0000

    	* ada-lang.c (ada_decode_symbol): Check and set 'ada_mangled'.
    	Use symbol's obstack, not an objfile.
    	* coffread.c (process_coff_symbol): Update.
    	* dwarf2read.c (fixup_go_packaging, new_symbol_full): Update.
    	* jv-lang.c (add_class_symbol): Update.
    	* mdebugread.c (new_symbol): Update.
    	* minsyms.c (prim_record_minimal_symbol_full)
    	(terminate_minimal_symbol_table): Update.
    	* psymtab.c (add_psymbol_to_bcache): Clear entire symbol.  Update.
    	* stabsread.c (define_symbol, read_enum_type): Update.
    	* symtab.c (symbol_set_demangled_name, symbol_get_demangled_name):
    	Handle Ada specially.
    	(symbol_set_language): Add 'obstack' argument.
    	(symbol_set_names): Update.
    	(symbol_natural_name, symbol_demangled_name): Always use
    	ada_decode_symbol.
    	* symtab.h (struct general_symbol_info)
    	<language_specific::obstack>: New field.
    	<ada_mangled>: New field.
    	(SYMBOL_SET_LANGUAGE): Add 'obstack' argument.
    	(symbol_set_language): Update.

commit cbc30f137ef95dda9cfbe90eeb6292b9fdb0da69
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Apr 8 19:53:17 2013 +0000

    	* symtab.c (symbol_init_cplus_specific, symbol_set_demangled_name):
    	Take an obstack, not an objfile.
    	(symbol_set_names): Update.
    	* symtab.h (symbol_set_demangled_name): Update.

commit fd4055ffae259ee2fba5f72815cf75248c390b7b
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Apr 8 19:48:30 2013 +0000

    	* coffread.c (process_coff_symbol, coff_read_enum_type): Call
    	allocate_symbol.
    	* dwarf2read.c (fixup_go_packaging): Call allocate_symbol.
    	(read_func_scope): Call allocate_template_symbol.
    	(new_symbol_full): Call allocate_symbol.
    	* jit.c (finalize_symtab): Call allocate_symbol.
    	* jv-lang.c (add_class_symbol): Call allocate_symbol.
    	* mdebugread.c (parse_symbol, new_block): Call allocate_symbol.
    	* stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
    	(common_block_end): Call allocate_symbol.
    	* symtab.c (allocate_symbol, initialize_symbol)
    	(allocate_template_symbol): New functions.
    	* symtab.c (allocate_symbol, initialize_symbol)
    	(allocate_template_symbol): Declare.
    	* xcoffread.c (process_xcoff_symbol): Call initialize_symbol.

commit 2de479a0d3895e50183c26da0e944e97162f8d77
Author: Jan Beulich <jbeulich@novell.com>
Date:   Mon Apr 8 15:48:38 2013 +0000

    gas/testsuite/
    2013-04-08  Jan Beulich <jbeulich@suse.com>
    
    	* gas/i386/x86-64-opcode.s: Flesh out LOOP and J*CXZ sections.
    	Correct comments in Jcc section.
    	* gas/i386/x86-64-opcode.d: Refresh.
    	* gas/i386/ilp32/x86-64-opcode.d: Refresh.
    
    opcodes/
    2013-04-08  Jan Beulich <jbeulich@suse.com>
    
    	* i386-opc.tbl: Fold 64-bit and non-64-bit jecxz entries.
    	* i386-tbl.h: Re-generate.

commit c924dcadcc124916a66a6be127f2497d6c344dec
Author: Pedro Alves <palves@redhat.com>
Date:   Mon Apr 8 14:09:29 2013 +0000

    create_breapoint / explicit mode: Error out if there's garbage after the breakpoint location.
    
    If !PARSE_CONDITION_AND_THREAD, then ARG is just the location, nothing
    else.  The fact that the describing comment of create_breakpoint
    doesn't mention this just looks like an oversight of when extra_string
    was added.  "parse_condition_and_thread" has been a misnomer ever
    since extra_string was added -- better rename it avoid more confusion.
    This makes it "parse_arg", as that'll remain stable even if/when more
    explicit parameters are added.
    
    gdb/
    2013-04-08  Pedro Alves  <palves@redhat.com>
    	    Keith Seitz  <keiths@redhat.com>
    
    	* breakpoint.c (create_breakpoint): Rename
    	"parse_condition_and_thread" parameter to "parse_arg".  Update
    	describing comment.  If !PARSE_ARG, then error out if ARG is not
    	the empty string after extracting the location.
    	* breakpoint.h (create_breakpoint): Rename
    	"parse_condition_and_thread" parameter to "parse_arg".
    
    gdb/testsuite/
    2013-04-08  Pedro Alves  <palves@redhat.com>
    
    	* gdb.mi/mi-break.exp (test_error): Add tests with garbage after
    	the location.

commit e5aaf6c59e348c9d60da72430515331c6c5d78b5
Author: Aleksandar Ristovski <aristovski@qnx.com>
Date:   Mon Apr 8 14:03:56 2013 +0000

    Add const to lm_addr_check.
    
    * solib-svr4.c (lm_addr_check): Add const qualifier to 'so' arg.

commit 38111ce2b47bd1f264cb2277bed98d805c9409eb
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Apr 8 00:00:05 2013 +0000

    daily update

commit c9cc9c87624c1bae7142f51e60ee7b1e5bb809c3
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Apr 8 00:00:02 2013 +0000

    *** empty log message ***

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

Summary of changes:
 bfd/ChangeLog                                 |   16 +
 bfd/bfd.c                                     |   13 +-
 bfd/doc/ChangeLog                             |    5 +
 bfd/doc/bfd.texinfo                           |   20 +-
 bfd/elf32-avr.c                               |  151 ++--
 bfd/som.c                                     |    4 +-
 bfd/som.h                                     |    3 +-
 bfd/version.h                                 |    2 +-
 gdb/ChangeLog                                 |  306 +++++++
 gdb/Makefile.in                               |   49 +-
 gdb/NEWS                                      |   19 +
 gdb/ada-lang.c                                |   32 +-
 gdb/ada-tasks.c                               |    6 +-
 gdb/amd64-windows-tdep.c                      |   12 +-
 gdb/arm-tdep.c                                |   23 +-
 gdb/arm-wince-tdep.c                          |   14 +-
 gdb/block.c                                   |    5 +-
 gdb/blockframe.c                              |   12 +-
 gdb/breakpoint.c                              |   64 +-
 gdb/breakpoint.h                              |    2 +-
 gdb/btrace.c                                  |    8 +-
 gdb/c-valprint.c                              |   14 +-
 gdb/cli/cli-cmds.c                            |    2 +-
 gdb/cli/cli-decode.c                          |   34 +-
 gdb/cli/cli-setshow.c                         |   49 +-
 gdb/coff-pe-read.c                            |   17 +-
 gdb/coffread.c                                |   20 +-
 gdb/config.in                                 |    3 +
 gdb/config/alpha/alpha-osf3.mh                |    1 +
 gdb/config/i386/fbsd.mh                       |    1 +
 gdb/config/i386/fbsd64.mh                     |    1 +
 gdb/config/i386/i386gnu.mh                    |    1 +
 gdb/config/i386/i386sol2.mh                   |    1 +
 gdb/config/i386/sol2-64.mh                    |    1 +
 gdb/config/mips/irix5.mh                      |    1 +
 gdb/config/mips/irix6.mh                      |    1 +
 gdb/config/powerpc/fbsd.mh                    |    1 +
 gdb/config/sparc/fbsd.mh                      |    1 +
 gdb/config/sparc/sol2.mh                      |    1 +
 gdb/configure                                 |  528 +++++++++++
 gdb/configure.ac                              |   51 ++
 gdb/configure.tgt                             |    2 +-
 gdb/ctf.c                                     | 1196 ++++++++++++++++++++++++-
 gdb/dbxread.c                                 |   13 +-
 gdb/doc/ChangeLog                             |   25 +
 gdb/doc/Makefile.in                           |   18 +-
 gdb/doc/gdb.texinfo                           |  103 ++-
 gdb/dwarf2loc.c                               |   51 +-
 gdb/dwarf2read.c                              |   11 +-
 gdb/elfread.c                                 |   22 +-
 gdb/findvar.c                                 |   18 +-
 gdb/frame.c                                   |    4 +-
 gdb/frv-tdep.c                                |    8 +-
 gdb/gdb_bfd.c                                 |   30 +
 gdb/gdb_bfd.h                                 |   14 +
 gdb/glibc-tdep.c                              |   11 +-
 gdb/gnu-v2-abi.c                              |    6 +-
 gdb/gnu-v3-abi.c                              |    4 +-
 gdb/hppa-hpux-tdep.c                          |   37 +-
 gdb/i386-tdep.c                               |   10 +-
 gdb/ia64-tdep.c                               |    4 +-
 gdb/infcall.c                                 |    6 +-
 gdb/infcmd.c                                  |   17 +-
 gdb/jit.c                                     |   22 +-
 gdb/jv-lang.c                                 |    6 +-
 gdb/linespec.c                                |    2 +-
 gdb/linux-fork.c                              |    6 +-
 gdb/m32c-tdep.c                               |   15 +-
 gdb/m68hc11-tdep.c                            |    8 +-
 gdb/machoread.c                               |   10 +-
 gdb/maint.c                                   |   11 +-
 gdb/mdebugread.c                              |   34 +-
 gdb/minsyms.c                                 |   90 +-
 gdb/minsyms.h                                 |   38 +-
 gdb/mips-tdep.c                               |   48 +-
 gdb/objfiles.c                                |   75 +-
 gdb/objfiles.h                                |   21 +-
 gdb/p-valprint.c                              |   13 +-
 gdb/parse.c                                   |    9 +-
 gdb/ppc-linux-tdep.c                          |    9 +-
 gdb/ppc-sysv-tdep.c                           |    7 +-
 gdb/printcmd.c                                |   30 +-
 gdb/psymtab.c                                 |   24 +-
 gdb/record-full.c                             |    3 +-
 gdb/record.c                                  |    8 +-
 gdb/remote.c                                  |   29 +-
 gdb/rs6000-tdep.c                             |   16 +-
 gdb/ser-tcp.c                                 |   11 +-
 gdb/sh64-tdep.c                               |    6 +-
 gdb/solib-dsbt.c                              |    2 +-
 gdb/solib-frv.c                               |    2 +-
 gdb/solib-som.c                               |   29 +-
 gdb/solib-svr4.c                              |    2 +-
 gdb/solib-target.c                            |    3 +-
 gdb/somread.c                                 |  150 +++-
 gdb/source.c                                  |    5 +-
 gdb/spu-tdep.c                                |    2 +-
 gdb/stabsread.c                               |   43 +-
 gdb/stack.c                                   |   28 +-
 gdb/symfile.c                                 |    9 +-
 gdb/symmisc.c                                 |   17 +-
 gdb/symtab.c                                  |  161 +++-
 gdb/symtab.h                                  |   40 +-
 gdb/testsuite/ChangeLog                       |   52 ++
 gdb/testsuite/gdb.base/Makefile.in            |    5 +-
 gdb/testsuite/gdb.base/completion.exp         |   16 +
 gdb/testsuite/gdb.base/dprintf-pending.c      |   29 +
 gdb/testsuite/gdb.base/dprintf-pending.exp    |  100 ++
 gdb/testsuite/gdb.base/dprintf-pendshr.c      |   26 +
 gdb/testsuite/gdb.base/setshow.exp            |    5 +-
 gdb/testsuite/gdb.mi/mi-break.exp             |   12 +
 gdb/testsuite/gdb.server/server-kill.exp      |    2 +-
 gdb/testsuite/gdb.trace/actions.exp           |  108 +++
 gdb/testsuite/gdb.trace/report.exp            |   21 +-
 gdb/testsuite/gdb.trace/trace-buffer-size.exp |    4 +
 gdb/testsuite/gdb.trace/tstatus.exp           |   14 +
 gdb/testsuite/gdb.trace/tsv.exp               |   13 +
 gdb/testsuite/gdb.trace/while-stepping.exp    |   70 ++
 gdb/top.c                                     |   71 +-
 gdb/tracepoint.c                              |   43 +-
 gdb/tracepoint.h                              |   18 +-
 gdb/tui/tui-disasm.c                          |    2 +-
 gdb/utils.c                                   |    6 +-
 gdb/valprint.c                                |    4 +-
 gdb/varobj.c                                  |    2 +-
 gdb/version.in                                |    2 +-
 gdb/xcoffread.c                               |   14 +-
 opcodes/ChangeLog                             |    5 +
 opcodes/i386-opc.tbl                          |    3 +-
 opcodes/i386-tbl.h                            |   15 +-
 130 files changed, 3964 insertions(+), 847 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/dprintf-pending.c
 create mode 100644 gdb/testsuite/gdb.base/dprintf-pending.exp
 create mode 100644 gdb/testsuite/gdb.base/dprintf-pendshr.c

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index e32a80c..77c268f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,19 @@
+2013-04-09  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+	PR ld/12494
+	* bfd/elf32-avr.c: Consider all sections to determine if linker
+	relaxation can safely delete a ret after a call/jmp
+
+2013-04-09  Mingjie Xing  <mingjie.xing@gmail.com>
+
+	* bfd.c (typedef bfd, Error reporting, Miscellaneous): Add
+	INODEs.
+
+2013-04-08  Tom Tromey  <tromey@redhat.com>
+
+	* som.c (bfd_section_from_som_symbol): No longer static.
+	* som.h (bfd_section_from_som_symbol): Declare.
+
 2013-04-06  Alan Modra  <amodra@gmail.com>
 
 	* elf32-ppc.c (ppc_elf_check_relocs): Use SYMBOLIC_BIND.
diff --git a/bfd/bfd.c b/bfd/bfd.c
index db4a536..10bc319 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -1,7 +1,5 @@
 /* Generic BFD library interface and support routines.
-   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright 1990-2013 Free Software Foundation, Inc.
    Written by Cygnus Support.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -22,6 +20,9 @@
    MA 02110-1301, USA.  */
 
 /*
+INODE
+typedef bfd, Error reporting, BFD front end, BFD front end
+
 SECTION
 	<<typedef bfd>>
 
@@ -340,6 +341,9 @@ CODE_FRAGMENT
    where it is needed.  The typedef's used are defined in bfd.h */
 \f
 /*
+INODE
+Error reporting, Miscellaneous, typedef bfd, BFD front end
+
 SECTION
 	Error reporting
 
@@ -883,6 +887,9 @@ bfd_get_assert_handler (void)
 }
 \f
 /*
+INODE
+Miscellaneous, Memory Usage, Error reporting, BFD front end
+
 SECTION
 	Miscellaneous
 
diff --git a/bfd/doc/ChangeLog b/bfd/doc/ChangeLog
index db949ca..f8ed19a 100644
--- a/bfd/doc/ChangeLog
+++ b/bfd/doc/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-09  Mingjie Xing  <mingjie.xing@gmail.com>
+
+	* bfd.texinfo (typedef bfd, Error reporting, Miscellaneous):
+	Add menu items.
+
 2013-01-07  Patrice Dumas  <pertusus@free.fr>
 
 	* bfd.texinfo: Replace @ with @@ when it is part of the text.
diff --git a/bfd/doc/bfd.texinfo b/bfd/doc/bfd.texinfo
index 3aa3300..ec709c1 100644
--- a/bfd/doc/bfd.texinfo
+++ b/bfd/doc/bfd.texinfo
@@ -1,8 +1,6 @@
 \input texinfo.tex
 @setfilename bfd.info
-@c Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1997, 2000,
-@c 2001, 2002, 2003, 2006, 2007, 2008, 2009, 2013
-@c Free Software Foundation, Inc.
+@c Copyright 1988-2013 Free Software Foundation, Inc.
 @c 
 @synindex fn cp
 
@@ -16,8 +14,7 @@
 @copying
 This file documents the BFD library.
 
-Copyright @copyright{} 1991, 2000, 2001, 2003, 2006, 2007, 2008, 2013
-Free Software Foundation, Inc.
+Copyright @copyright{} 1991 - 2013 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -65,8 +62,7 @@ included in the section entitled ``GNU Free Documentation License''.
 @end tex
 
 @vskip 0pt plus 1filll
-Copyright @copyright{} 1991, 2001, 2003, 2006, 2008, 2013
-Free Software Foundation, Inc.
+Copyright @copyright{} 1991 - 2013 Free Software Foundation, Inc.
 
       Permission is granted to copy, distribute and/or modify this document
       under the terms of the GNU Free Documentation License, Version 1.3
@@ -198,10 +194,11 @@ IEEE-695.
 
 @node BFD front end, BFD back ends, Overview, Top
 @chapter BFD Front End
-@include bfdt.texi
-@include bfdio.texi
 
 @menu
+* typedef bfd::
+* Error reporting::
+* Miscellaneous::
 * Memory Usage::
 * Initialization::
 * Sections::
@@ -219,7 +216,10 @@ IEEE-695.
 * Hash Tables::
 @end menu
 
-@node Memory Usage, Initialization, BFD front end, BFD front end
+@include bfdt.texi
+@include bfdio.texi
+
+@node Memory Usage, Initialization, Miscellaneous, BFD front end
 @section Memory Usage
 BFD keeps all of its internal structures in obstacks. There is one obstack
 per open BFD file, into which the current state is stored. When a BFD is
diff --git a/bfd/elf32-avr.c b/bfd/elf32-avr.c
index a2d4401..43100cd 100644
--- a/bfd/elf32-avr.c
+++ b/bfd/elf32-avr.c
@@ -1,7 +1,5 @@
 /* AVR-specific support for 32-bit ELF
-   Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
-   2010, 2011, 2012
-   Free Software Foundation, Inc.
+   Copyright 1999-2013 Free Software Foundation, Inc.
    Contributed by Denis Chertykov <denisc@overta.ru>
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -2138,6 +2136,7 @@ elf32_avr_relax_section (bfd *abfd,
 			  irel->r_offset + insn_size;
                         Elf_Internal_Sym *isym, *isymend;
                         unsigned int sec_shndx;
+			struct bfd_section *isec;
 
                         sec_shndx =
 			  _bfd_elf_section_from_bfd_section (abfd, sec);
@@ -2188,80 +2187,85 @@ elf32_avr_relax_section (bfd *abfd,
 				}
 			    }
 			}
-			/* Now we check for relocations pointing to ret.  */
-			{
-			  Elf_Internal_Rela *rel;
-			  Elf_Internal_Rela *relend;
 
-			  relend = elf_section_data (sec)->relocs
-			    + sec->reloc_count;
+			/* Now we check for relocations pointing to ret.  */
+			for (isec = abfd->sections; isec && deleting_ret_is_safe; isec = isec->next)
+			  {
+			    Elf_Internal_Rela *rel;
+			    Elf_Internal_Rela *relend;
+              
+			    rel = elf_section_data (isec)->relocs;
+			    if (rel == NULL)
+			      rel = _bfd_elf_link_read_relocs (abfd, isec, NULL, NULL, TRUE);
 
-			  for (rel = elf_section_data (sec)->relocs;
-			       rel < relend; rel++)
-			    {
-			      bfd_vma reloc_target = 0;
+			    relend = rel + isec->reloc_count;
 
-			      /* Read this BFD's local symbols if we haven't
-				 done so already.  */
-			      if (isymbuf == NULL && symtab_hdr->sh_info != 0)
-				{
-				  isymbuf = (Elf_Internal_Sym *)
-				    symtab_hdr->contents;
-				  if (isymbuf == NULL)
-				    isymbuf = bfd_elf_get_elf_syms
-				      (abfd,
-				       symtab_hdr,
-				       symtab_hdr->sh_info, 0,
-				       NULL, NULL, NULL);
-				  if (isymbuf == NULL)
+			    for (; rel && rel < relend; rel++)
+			      {
+				bfd_vma reloc_target = 0;
+
+				/* Read this BFD's local symbols if we haven't
+				   done so already.  */
+				if (isymbuf == NULL && symtab_hdr->sh_info != 0)
+				  {
+				    isymbuf = (Elf_Internal_Sym *)
+				      symtab_hdr->contents;
+				    if (isymbuf == NULL)
+				      isymbuf = bfd_elf_get_elf_syms
+					(abfd,
+					 symtab_hdr,
+					 symtab_hdr->sh_info, 0,
+					 NULL, NULL, NULL);
+				    if (isymbuf == NULL)
+				      break;
+				  }
+
+				/* Get the value of the symbol referred to
+				   by the reloc.  */
+				if (ELF32_R_SYM (rel->r_info)
+				    < symtab_hdr->sh_info)
+				  {
+				    /* A local symbol.  */
+				    asection *sym_sec;
+
+				    isym = isymbuf
+				      + ELF32_R_SYM (rel->r_info);
+				    sym_sec = bfd_section_from_elf_index
+				      (abfd, isym->st_shndx);
+				    symval = isym->st_value;
+
+				    /* If the reloc is absolute, it will not
+				       have a symbol or section associated
+				       with it.  */
+
+				    if (sym_sec)
+				      {
+					symval +=
+					  sym_sec->output_section->vma
+					  + sym_sec->output_offset;
+					reloc_target = symval + rel->r_addend;
+				      }
+				    else
+				      {
+					reloc_target = symval + rel->r_addend;
+					/* Reference symbol is absolute.  */
+				      }
+				  }
+				/* else ... reference symbol is extern.  */
+
+				if (address_of_ret == reloc_target)
+				  {
+				    deleting_ret_is_safe = 0;
+				    if (debug_relax)
+				      printf ("ret from "
+					      "rjmp/jmp ret sequence at address"
+					      " 0x%x could not be deleted. ret"
+					      " is target of a relocation.\n",
+					      (int) address_of_ret);
 				    break;
-				}
-
-			      /* Get the value of the symbol referred to
-				 by the reloc.  */
-			      if (ELF32_R_SYM (rel->r_info)
-				  < symtab_hdr->sh_info)
-				{
-				  /* A local symbol.  */
-				  asection *sym_sec;
-
-				  isym = isymbuf
-				    + ELF32_R_SYM (rel->r_info);
-				  sym_sec = bfd_section_from_elf_index
-				    (abfd, isym->st_shndx);
-				  symval = isym->st_value;
-
-				  /* If the reloc is absolute, it will not
-				     have a symbol or section associated
-				     with it.  */
-
-				  if (sym_sec)
-				    {
-				      symval +=
-					sym_sec->output_section->vma
-					+ sym_sec->output_offset;
-				      reloc_target = symval + rel->r_addend;
-				    }
-				  else
-				    {
-				      reloc_target = symval + rel->r_addend;
-				      /* Reference symbol is absolute.  */
-				    }
-				}
-			      /* else ... reference symbol is extern.  */
-
-			      if (address_of_ret == reloc_target)
-				{
-				  deleting_ret_is_safe = 0;
-				  if (debug_relax)
-				    printf ("ret from "
-					    "rjmp/jmp ret sequence at address"
-					    " 0x%x could not be deleted. ret"
-					    " is target of a relocation.\n",
-					    (int) address_of_ret);
-				}
-			    }
-			}
+				  }
+			      }
+			  }
 
 			if (deleting_ret_is_safe)
 			  {
@@ -2282,7 +2286,6 @@ elf32_avr_relax_section (bfd *abfd,
 			    break;
 			  }
                       }
-
                   }
               }
             break;
diff --git a/bfd/som.c b/bfd/som.c
index 87aa88f..0ddbb6f 100644
--- a/bfd/som.c
+++ b/bfd/som.c
@@ -1,7 +1,7 @@
 /* bfd back-end for HP PA-RISC SOM objects.
    Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
-   2012  Free Software Foundation, Inc.
+   2012, 2013  Free Software Foundation, Inc.
 
    Contributed by the Center for Software Science at the
    University of Utah.
@@ -4572,7 +4572,7 @@ som_get_symtab_upper_bound (bfd *abfd)
 
 /* Convert from a SOM subspace index to a BFD section.  */
 
-static asection *
+asection *
 bfd_section_from_som_symbol
   (bfd *abfd, struct som_external_symbol_dictionary_record *symbol)
 {
diff --git a/bfd/som.h b/bfd/som.h
index cf8dcbf..7a54249 100644
--- a/bfd/som.h
+++ b/bfd/som.h
@@ -1,6 +1,6 @@
 /* HP PA-RISC SOM object file format:  definitions internal to BFD.
    Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 2000, 2001,
-   2002, 2003, 2004, 2005, 2007, 2008, 2012 Free Software Foundation, Inc.
+   2002, 2003, 2004, 2005, 2007, 2008, 2012, 2013 Free Software Foundation, Inc.
 
    Contributed by the Center for Software Science at the
    University of Utah (pa-gdb-bugs@cs.utah.edu).
@@ -234,5 +234,6 @@ void         bfd_som_set_symbol_type           (asymbol *, unsigned int);
 bfd_boolean  bfd_som_attach_aux_hdr            (bfd *, int, char *);
 int **       hppa_som_gen_reloc_type           (bfd *, int, int, enum hppa_reloc_field_selector_type_alt, int, asymbol *);
 bfd_boolean  bfd_som_attach_compilation_unit   (bfd *, const char *, const char *, const char *, const char *);
+asection *   bfd_section_from_som_symbol       (bfd *abfd, struct som_external_symbol_dictionary_record *symbol);
 
 #endif /* _SOM_H */
diff --git a/bfd/version.h b/bfd/version.h
index 61fd550..5e617d5 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20130407
+#define BFD_VERSION_DATE 20130410
 #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/gdb/ChangeLog b/gdb/ChangeLog
index 7e50ba1..89b787b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,309 @@
+2013-04-10  Pedro Alves  <palves@redhat.com>
+
+	* cli/cli-decode.c (integer_unlimited_completer): New function.
+	(add_setshow_integer_cmd, add_setshow_uinteger_cmd)
+	(add_setshow_zuinteger_unlimited_cmd): Install the "unlimited"
+	completer.
+	* cli/cli-setshow.c: Include "cli/cli-utils.h".
+	(is_unlimited_literal): New function.
+	(do_set_command): Handle literal "unlimited" arguments.
+	* frame.c (_initialize_frame) <set backtrace limit>: Document
+	"unlimited".
+	* printcmd.c (_initialize_printcmd) <set print
+	max-symbolic-offset>: Add help text.
+	* record-full.c (_initialize_record_full) <set record full
+	insn-number-max>: Likewise.
+	* record.c (_initialize_record) <set record
+	instruction-history-size, set record function-call-history-size>:
+	Add help text.
+	* ser-tcp.c (_initialize_ser_tcp) <set tcp connect-timeout>: Add
+	help text.
+	* tracepoint.c (_initialize_tracepoint) <set trace-buffer-size>:
+	Likewise.
+	* source.c (_initialize_source) <set listsize>: Add help text.
+	* utils.c (initialize_utils) <set height, set width>: Likewise.
+	<set pagination>: Mention "set height unlimited".
+	* valprint.c (_initialize_valprint) <set print elements, set print
+	repeats>: Document "unlimited".
+
+2013-04-10  Pedro Alves  <palves@redhat.com>
+
+	* cli/cli-cmds.c (quit_command): Call query_if_trace_running
+	instead of disconnect_tracing.
+	* infcmd.c (detach_command, disconnect_command): Call
+	query_if_trace_running.  Adjust.
+	* top.c: Include "tracepoint.h".
+	(quit_target): Delete.  Contents moved ...
+	(quit_force): ... here.  Wrap each stage of teardown in
+	TRY_CATCH.  Call disconnect_tracing before detaching.
+
+2013-04-10  Hui Zhu  <hui@codesourcery.com>
+	    Yao Qi  <yao@codesourcery.com>
+
+	* configure.ac: Check libbabeltrace is installed.
+	* config.in: Regenerate.
+	* configure: Regenerate.
+	* Makefile.in (LIBBABELTRACE): New.
+	(CLIBS): Add LIBBABELTRACE.
+	* ctf.c: Include "exec.h".
+	(CTF_EVENT_ID_STATUS, CTF_EVENT_ID_TSV_DEF): New macros.
+	(CTF_EVENT_ID_TP_DEF, ctf_save_write_int32): New macros.
+	(ctf_save_metadata_header): Define new type aliases in
+	metadata.
+	(ctf_write_header): Define event type "tsv_def" and "tp_def"
+	in metadata.  Start a new faked packet for trace status.
+	(ctf_write_status): Write trace status to CTF.
+	(ctf_write_uploaded_tsv): Write TSV to CTF.
+	(ctf_write_uploaded_tp): Write tracepoint definition to CTF.
+	(ctf_write_definition_end): End the faked packet.
+
+	(ctx, ctf_iter, trace_dirname): New.
+	(start_pos): New variable.
+	(ctf_destroy, ctf_open_dir, ctf_open): New.
+	(SET_INT32_FIELD, SET_ARRAY_FIELD, SET_STRING_FIELD): New
+	macros.
+	(ctf_read_tsv, ctf_read_tp, ctf_close, ctf_files_info): New.
+	(ctf_fetch_registers, ctf_xfer_partial): New.
+	(ctf_get_trace_state_variable_value): New.
+	(ctf_get_tpnum_from_frame_event): New.
+	(ctf_get_traceframe_address): New.
+	(ctf_trace_find, ctf_has_stack): New.
+	(ctf_has_registers, ctf_traceframe_info, init_ctf_ops): New.
+	(ctf_get_trace_status, ctf_read_status): New.
+	(_initialize_ctf): New.
+	* tracepoint.c (get_tracepoint_number): New
+	(get_uploaded_tsv): Remove 'static'.
+ 	(struct traceframe_info, trace_regblock_size): Move it to ...
+	* tracepoint.h: ... here.
+	(get_tracepoint_number): Declare it.
+	(get_uploaded_tsv): Declare it.
+
+	* NEWS: Mention new configure option.
+
+2013-04-10  Pedro Alves  <palves@redhat.com>
+	    Hui Zhu  <hui@codesourcery.com>
+
+	* breakpoint.c (dprintf_re_set): New.
+	(initialize_breakpoint_ops): Set dprintf_breakpoint_ops re_set
+	to dprintf_re_set.
+
+2013-04-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* configure.tgt (gdb_target_obs) <powerpc-*-aix* | rs6000-*-*>:
+	Remove solib-svr4.o from the list.
+
+2013-04-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* varobj.c (update_dynamic_varobj_children) [!HAVE_PYTHON]:
+	Use gdb_assert_not_reached instead of invalid boolean expression.
+
+2013-04-09  Pedro Alves  <palves@redhat.com>
+
+	* remote.c (unpush_and_perror): New function.
+	(readchar, remote_serial_write): Use it.
+
+2013-04-09  Markus Metzger  <markus.t.metzger@intel.com>
+
+	* NEWS: Mention new btrace RSP packets.
+
+2013-04-08  Tom Tromey  <tromey@redhat.com>
+
+	* symmisc.c (dump_msymbols): Cast fprintf_filtered argument to
+	long.
+
+2013-04-08  Tom Tromey  <tromey@redhat.com>
+
+	* maint.c (print_bfd_section_info): Print the section index.
+	* symmisc.c (dump_msymbols): Print the section index.
+
+2013-04-08  Tom Tromey  <tromey@redhat.com>


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-10 19:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-08 11:26 [SCM] jankratochvil/man: Merge branch 'addindex' into jankratochvil/man jkratoch
2013-04-10 19:02 jkratoch

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).