public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  jankratochvil/man: reverse-20080717-branchpoint-14425-gda3218d
@ 2013-04-07 18:55 jkratoch
  0 siblings, 0 replies; only message in thread
From: jkratoch @ 2013-04-07 18:55 UTC (permalink / raw)
  To: archer-commits

The branch, jankratochvil/man has been created
        at  da3218d9de387fa78680a3dacfb9ae053d38dca3 (commit)

- Log -----------------------------------------------------------------
commit da3218d9de387fa78680a3dacfb9ae053d38dca3
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 7 20:52:08 2013 +0200

    .

commit a9720f1be16229c2646b90d80ec2ee138108db67
Merge: 3c06b24 642b17e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 7 20:45:15 2013 +0200

    Merge branch 'gcore1' into gcore1-2

commit 642b17e669156dcd457d36aa0dc290f3c9ca40f9
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 7 20:45:07 2013 +0200

    .

commit 3c06b24b34e4afcf52c1b81347da9de383c5fbe7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 7 20:44:55 2013 +0200

    .

commit ea380e8471e805f70fe0001e80e02b9103d1b401
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 7 20:07:29 2013 +0200

    .

commit 977adf676265eb8e95937f460ed1367ac3fa5243
Author: qiyao <qiyao>
Date:   Sun Apr 7 10:23:33 2013 +0000

    gdb/
    	* remote.c (remote_trace_find): Change type of parameters 'addr1'
    	and 'addr2' to CORE_ADDR.
    	* target.c (update_current_target): Update.
    	* target.h (struct target_ops) <to_trace_find>: Change parameter
    	type to CORE_ADDR.
    	* tracepoint.c (tfind_1): Change type of parameters 'addr1' and
    	'addr2' to CORE_ADDR.
    	(tfile_trace_find): Likewise.
    	(tfile_get_traceframe_address): Change return type to CORE_ADDR.
    	Change local variable 'addr' to type CORE_ADDR.
    	* tracepoint.h (tfind_1): Update declaration.

commit 498e378f5881fface67d173c61157b79d90c9e94
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 7 06:20:19 2013 +0000

    gdb/doc/
    	* Makefile.in (gdb.1, gdbserver.1, gdbinit.5): Use $(srcdir).

commit 16540c30f32aa30d47da6b37e615690d413132b5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 7 06:04:58 2013 +0000

    gdb/doc/
    	* Makefile.in (install-man1, install-man5, uninstall-man1)
    	(uninstall-man5): Replace $(MANS) by $(MAN1S) and $(MAN5S) respectively.

commit 7c735c52439c48a29d3134e5dd2edaaa4ece1014
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 7 05:53:21 2013 +0000

    gdb/gdbserver/
    	* Makefile.in (install-only): Fix make install regression.

commit 090a3b218c31d6ba6b0e024900c202521d0fc9d2
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Apr 7 00:00:06 2013 +0000

    daily update

commit 5e822075fe22a30273fd1d7c022a505f431143f4
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Apr 7 00:00:03 2013 +0000

    *** empty log message ***

commit 74e473fce37a4878125cd2349c8f1e53c6a49524
Author: David S. Miller <davem@redhat.com>
Date:   Sat Apr 6 22:22:03 2013 +0000

    Increase the accuracy of sparc instruction aliases.
    
    Make current with UA2011 specification.
    
    Add an F_PREFERRED opcode flag that indicates a preferred alias
    when multiple aliases for the same opcode exists.
    
    For 'lzd':
    
    	Add 'lzcnt' as primary instruction, and make 'lzd' an alias.
    
    Add 'ldtw', 'ldtwa', 'sttw', 'sttwa':
    
    	The modern opcode for for 'ldd', 'ldda', 'std', and 'stda' on
    	integer registers.  Mark the latter now as aliases.
    
    For 'flush':
    
    	Support "[address]" syntax as well as plain "address".
    
    Rework 'mov' aliases for 'wr':
    
    	Eliminate bogus three operand moves, and encode the
    	instructions properly for the "mov REG, %ASR" cases,
    	specifically we should encode the register in rs2 not rs1 as
    	per The SPARC V8 Architecture Manual.
    
    Add missing cbcond aliases:
    
    	c{w,x}bz, c{w,x}blu, c{w,x}bnz, c{w,x}bgeu
    
    Add 'd' suffix VIS logical ops:
    
    	The primary opcode for 'fzero' is now 'fzerod' (compare with
    	'fzeros'), for example.  And thus 'fzero' is now an alias.
    
    Add modern opcodes for condition code setting edge instructions:
    
    	They are now edgeN{,l}cc instead of plain edgeN{,l}.
    
    Add modern opcodes for VIS comparisons:
    
    	All VIS comparisons now start with prefix "fp", retain the
    	older variants as aliases.
    
    	The signed variants for equal and not-equal have "u" aliases
    	to show that these comparisons are equally suited for unsigned
    	compares.
    
    Update existing test cases as needed, and add several new ones.
    
    include/opcode/
    
    	* sparc.h (F_PREFERRED): Define.
    	(F_PREF_ALIAS): Define.
    
    opcodes/
    
    	* sparc-dis.c (compare_opcodes): When encountering multiple aliases
    	of an opcode, prefer the one with F_PREFERRED set.
    	* sparc-opc.c (sparc_opcodes): Add ldtw, ldtwa, sttw, sttwa,
    	lzcnt, flush with '[address]' syntax, and missing cbcond pseudo
    	ops.  Make 64-bit VIS logical ops have "d" suffix in their names,
    	mark existing mnenomics as aliases.  Add "cc" suffix to edge
    	instructions generating condition codes, mark existing mnenomics
    	as aliases.  Add "fp" prefix to VIS compare instructions, mark
    	existing mnenomics as aliases.
    
    gas/testsuite/
    
    	* gas/sparc/cbcond.s: Add tests for new opcode aliases.
    	* gas/sparc/cbcond.d: Updated.
    	* gas/sparc/hpcvis3.s: Add tests for new opcode aliases.
    	* gas/sparc/hpcvis3.d: Updated.
    	* gas/sparc/v8-movwr-imm.d: Fix expected disassembly.
    	* gas/sparc/edge.s: New test.
    	* gas/sparc/edge.d: Expected disassembly.
    	* gas/sparc/flush.s: New test.
    	* gas/sparc/flush.d: Expected disassembly.
    	* gas/sparc/ldd_std.s: New test.
    	* gas/sparc/ldd_std.d: Expected disassembly.
    	* gas/sparc/ldtw_sttw.s: New test.
    	* gas/sparc/ldtw_sttw.d: Expected disassembly.
    	* gas/sparc/sparc.exp: Run new tests.

commit 015704d8af3b78a854642b644272e45364460814
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Apr 6 15:52:06 2013 +0000

    gdb/doc/
    	* Makefile.in (POD2MAN1, POD2MAN5): Replace $(VERSION) by ../version.in.

commit e3bcddc63ce53326ef669767f0ee07e2a72921dc
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Apr 6 08:58:53 2013 +0000

    gdb/doc/
    	* gdb.texinfo (gdbserver man): Rename tty to comm.  Swap --attach
    	parameters order.  Remove "On some targets" for --attach.  Document the
    	--multi parameter and extended-remote command.  Document all the
    	options.

commit 3d28557b9f6e7cab7e866dc110760138732ffbdf
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Sat Apr 6 06:52:06 2013 +0000

    Unbreak Windows-hosted cross debugger builds.
    
    	* windows-nat.c (windows_get_absolute_argv0): Move from here...
    	* mingw-hdep.c (windows_get_absolute_argv0): ...to here.
    	Include main.h.
    
    	* windows-nat.h (windows_get_absolute_argv0): Move prototype from
    	here...
    	* main.h (windows_get_absolute_argv0): ...to here.

commit ce8f6839406886f538ebd6ee51d3f3284cb897bb
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Apr 6 06:44:45 2013 +0000

    	* elf32-ppc.c (ppc_elf_check_relocs): Use SYMBOLIC_BIND.
    	* elf64-ppc.c (ppc64_elf_check_relocs, dec_dynrel_count): Likewise.

commit 3e055341eb89d240696f0dfc11bb5b54fce74b18
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Apr 6 00:00:03 2013 +0000

    *** empty log message ***

commit 3972f1e1ea009b10db4755feedbb551f34bde511
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Apr 5 23:00:05 2013 +0000

    daily update

commit 8bd1fcdf1816cf66db7a7f3bc8eea1676334c263
Author: Doug Evans <dje@google.com>
Date:   Fri Apr 5 21:48:24 2013 +0000

    	* dwarf2read.c (struct dwarf2_per_objfile): Tweak comment.
    	(read_cutu_die_from_dwo): Add comments.
    	(read_structure_type): Update comment.
    	(read_enumeration_type, read_namespace_type): Update comment.
    	(read_die_type, get_die_type_at_offset, get_die_type): Update comment.

commit bd3d4bb07efc149f8c56b1dd5c3e373f56fc56d5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 5 20:02:58 2013 +0000

    gdb/doc/
    	* gdb.texinfo (gdb man): Mention option -p.  Include Fortran to
    	the list of supported languages.

commit 1b0591b2496b8a4938cf59a206a55e6a158b9dd1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 5 20:01:32 2013 +0000

    gdb/
    	Convert man pages to texinfo, new gdbinit.5 texinfo page.
    	* Makefile.in (gdb.z): Remove.
    	(install-only): Remove $(man1dir) and gdb.1 installation.
    	* gdb.1: Remove.
    
    gdb/gdbserver/
    	Convert man pages to texinfo, new gdbinit.5 texinfo page.
    	* Makefile.in (install-only): Remove $(man1dir) and gdbserver.1
    	installation.
    	* gdbserver.1: Remove.
    
    gdb/doc/
    	Convert man pages to texinfo, new gdbinit.5 texinfo page.
    	* Makefile.in (mandir, man1dir, man5dir, SYSTEM_GDBINIT, MANCONF,
    	(TEXI2POD, POD2MAN1, POD2MAN5, MAN1S, MAN5S, MANS, man): New.
    	(diststuff): Add man.
    	(install-man, install-man1, install-man5, uninstall-man, uninstall-man1)
    	(uninstall-man5): New.
    	(STAGESTUFF): Add *.1 and *.5.
    	(GDBvn.texi): Add SYSTEM_GDBINIT.
    	(gdb.1, gdbserver.1, gdbinit.5): New.
    	(maintainer-clean realclean): Add $(MANS).
    	(install): Add install-man.
    	(uninstall): Add uninstall-man.
    	* gdb.texinfo (@include gdb-cfg.texi): Wrap it by @c man begin INCLUDE.
    	(@copying): Wrap it by @c man begin COPYRIGHT.
    	(Top): Add Man Pages.
    	(Man Pages, gdb man, gdbserver man, gdbinit man): New.

commit d8c11845465f076c6ae8078d2e8fb7c1d31f1181
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 5 19:17:15 2013 +0000

    gdb/
    	Fix compatibility with Linux kernel 3.8.3.
    	* linux-tdep.c (linux_find_memory_regions_full): Move variable number
    	to more inner block.  Remove parsing of NUMBER from outer block.
    	Parse NUMBER only if KEYWORD has been identified.

commit 01a16f9b83c29db2c63106bbefeb505cbac17bd4
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 5 19:14:43 2013 +0000

    gdb/
    	Fix variable name shadowing.
    	* linux-tdep.c (linux_find_memory_regions_full): Rename outer variable
    	filename to mapsfilename and update its uses.

commit a52b670457afc94e7355e632f3b3d6a583f25bc1
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Fri Apr 5 13:24:24 2013 +0000

    Avoid warning in "make tags".
    
    	* Makefile.in (TAGS): Avoid warning from etags when $GDB_NM_FILE is
    	empty.  See http://sourceware.org/ml/gdb-patches/2012-08/msg00504.html
    	and http://sourceware.org/ml/gdb-patches/2013-04/msg00055.html for
    	details of the problem.

commit e96bd93d436e464a532a7e1161e1d201c9fc50c7
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Apr 5 09:08:28 2013 +0000

    	* elflink.c (elf_link_add_object_symbols): Revert accidental commit.

commit b2851906d6c59f38b5db1ae7d721d2cbeca8d8d0
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Apr 5 00:00:02 2013 +0000

    *** empty log message ***

commit b9de126054c8742203f08a94d43c5dc366d1602d
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Apr 4 23:00:05 2013 +0000

    daily update

commit 2035b9113ceae4472a9940942dcf12367f1f9c2b
Author: Sandra Loosemore <sandra@codesourcery.com>
Date:   Thu Apr 4 21:01:40 2013 +0000

    2013-04-04  Sandra Loosemore  <sandra@codesourcery.com>
    
    	gdb/testsuite/
    
    	* gdb.cp/cplabel.exp: Allow empty directory in file reported
    	for breakpoint location.

commit 43dfd31eb5b4c9478ddc1ce76df06c60251eafcc
Author: Sandra Loosemore <sandra@codesourcery.com>
Date:   Thu Apr 4 20:59:11 2013 +0000

    2013-04-04  Sandra Loosemore  <sandra@codesourcery.com>
    
    	gdb/testsuite/
    
    	* gdb.linespec/linespec.exp: Make dir/file:line tests
    	conditional for non-remote hosts only.

commit 1f6b2f52a0c610d72b384a96f53ad4cd5d8d5268
Author: Pedro Alves <palves@redhat.com>
Date:   Thu Apr 4 19:22:37 2013 +0000

    tracepoint->step_count fixes
    
    If a tracepoint's actions list includes a while-stepping action, and
    then the actions are changed to a list without any while-stepping
    action, the tracepoint's step_count will be left with a stale value.
    For example:
    
     (gdb) trace subr
     Tracepoint 1 at 0x4004d9: file ../../../src/gdb/testsuite//actions-changed.c, line 31.
     (gdb) actions
     Enter actions for tracepoint 1, one per line.
     End with a line saying just "end".
     >collect $reg
     >end
     (gdb) set debug remote 1
     (gdb) tstart
     Sending packet: $QTinit#59...Packet received: OK
     Sending packet: $QTDP:1:00000000004004d9:E:0:0-#a3...Packet received: OK
     Sending packet: $QTDP:-1:00000000004004d9:R03FFFFFFFFFFFFFFFFFF#2b...Packet received: OK
     (gdb) tstop
     Sending packet: $QTStop#4b...Packet received: OK
     Sending packet: $QTNotes:#e8...Packet received: OK
     (gdb) actions
     Enter actions for tracepoint 1, one per line.
     End with a line saying just "end".
     >collect $reg
     >while-stepping 1
       >collect $reg
       >end
     >end
     (gdb) tstart
     Sending packet: $QTinit#59...Packet received: OK
     Sending packet: $QTDP:1:00000000004004d9:E:1:0-#a4...Packet received: OK
     Sending packet: $QTDP:-1:00000000004004d9:R03FFFFFFFFFFFFFFFFFF-#58...Packet received: OK
     Sending packet: $QTDP:-1:00000000004004d9:SR03FFFFFFFFFFFFFFFFFF#7e...Packet received: OK
     (gdb) tstop
     Sending packet: $QTStop#4b...Packet received: OK
     Sending packet: $QTNotes:#e8...Packet received: OK
     (gdb) actions
     Enter actions for tracepoint 1, one per line.
     End with a line saying just "end".
     >collect $regs
     >end
     (gdb) tstart
     Sending packet: $QTinit#59...Packet received: OK
     Sending packet: $QTDP:1:00000000004004d9:E:1:0-#a4...Packet received: OK
     Sending packet: $QTDP:-1:00000000004004d9:R03FFFFFFFFFFFFFFFFFF#2b...Packet received: OK
    
    The last "$QTDP:1:00000000004004d9:E:1:0-#a4" should be "$QTDP:1:00000000004004d9:E:0:0-#a3".
    In pseudo-diff:
    
      -$QTDP:1:00000000004004d9:E:1:0-#a4
      +$QTDP:1:00000000004004d9:E:0:0-#a3
    
    A related issue is that the "commands" command actually supports
    setting commands to a range of breakpoints/tracepoints at once.  But,
    hacking "maint info breakpoints" to print t->step_count, reveals:
    
     (gdb) trace main
     Tracepoint 5 at 0x45a2ab: file ../../src/gdb/gdb.c, line 29.
     (gdb) trace main
     Note: breakpoint 5 also set at pc 0x45a2ab.
     Tracepoint 6 at 0x45a2ab: file ../../src/gdb/gdb.c, line 29.
     (gdb) commands 5-6
     Type commands for breakpoint(s) 5-6, one per line.
     End with a line saying just "end".
     > while-stepping 5
      >end
     > end
     (gdb) maint info breakpoints 5
     Num     Type           Disp Enb Address            What
     5       tracepoint     keep y   0x000000000045a2ab in main at ../../src/gdb/gdb.c:29 inf 1
             step_count=5
             ^^^^^^^^^^^^
             while-stepping 5
             end
             not installed on target
     (gdb) maint info breakpoints 6
     Num     Type           Disp Enb Address            What
     6       tracepoint     keep y   0x000000000045a2ab in main at ../../src/gdb/gdb.c:29 inf 1
             step_count=0
             ^^^^^^^^^^^^
             while-stepping 5
             end
             not installed on target
     (gdb)
    
    that tracepoint 6 doesn't end up with the correct step_count.
    
    The issue is that here:
    
     static void
     do_map_commands_command (struct breakpoint *b, void *data)
     {
      struct commands_info *info = data;
    
      if (info->cmd == NULL)
        {
          struct command_line *l;
    
          if (info->control != NULL)
    	l = copy_command_lines (info->control->body_list[0]);
          else
    	{
    	  struct cleanup *old_chain;
    	  char *str;
    
    	  str = xstrprintf (_("Type commands for breakpoint(s) "
    			      "%s, one per line."),
    			    info->arg);
    
    	  old_chain = make_cleanup (xfree, str);
    
    	  l = read_command_lines (str,
    				  info->from_tty, 1,
    				  (is_tracepoint (b)
    				   ? check_tracepoint_command : 0),
    				  b);
    
    	  do_cleanups (old_chain);
    	}
    
          info->cmd = alloc_counted_command_line (l);
        }
    
    validate_actionline is never called for tracepoints other than the
    first (the copy_command_lines path).  Right below, we have:
    
      /* If a breakpoint was on the list more than once, we don't need to
         do anything.  */
      if (b->commands != info->cmd)
        {
          validate_commands_for_breakpoint (b, info->cmd->commands);
          incref_counted_command_line (info->cmd);
          decref_counted_command_line (&b->commands);
          b->commands = info->cmd;
          observer_notify_breakpoint_modified (b);
        }
    
    And validate_commands_for_breakpoint looks like the right place to put
    a call; if we reset step_count there too, we have a nice central fix
    for the first issue as well, because trace_actions_command calls
    breakpoint_set_commands that also calls
    validate_commands_for_breakpoint.
    
    We end up calling validate_actionline twice for the first tracepoint,
    since read_command_lines calls it too, through
    check_tracepoint_command, but that should be harmless.
    
    2013-04-04  Pedro Alves  <palves@redhat.com>
    	    Hui Zhu  <hui@codesourcery.com>
    
    	* breakpoint.c (validate_commands_for_breakpoint): If validating a
    	tracepoint, reset its STEP_COUNT and call validate_actionline.
    
    2013-04-04  Stan Shebs  <stan@codesourcery.com>
    	    Pedro Alves  <palves@redhat.com>
    
    	* gdb.trace/Makefile.in (PROGS): Add actions-changed.
    	* gdb.trace/actions-changed.c: New file.
    	* gdb.trace/actions-changed.exp: New file.
    	* lib/trace-support.exp (gdb_trace_setactions): Rename to ...
    	(gdb_trace_setactions_command): ... this.  Add "actions_command"
    	parameter, and handle it.
    	(gdb_trace_setactions, gdb_trace_setcommands): New procedures.

commit 509ca9a81d12cfdf95acd361483da5a77bded285
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Apr 4 14:38:01 2013 +0000

    	* bfd.c (bfd_error_type, bfd_errmsgs): Add bfd_error_missing_dso.
    	* bfd-in2.h: Regenerate.
    	* elflink.c (elf_link_add_object_symbols): Use new error.

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


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-07 18:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-07 18:55 [SCM] jankratochvil/man: reverse-20080717-branchpoint-14425-gda3218d 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).