From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14488 invoked by alias); 6 Jan 2011 12:22:11 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 14430 invoked by uid 9514); 6 Jan 2011 12:22:09 -0000 Date: Thu, 06 Jan 2011 12:22:00 -0000 Message-ID: <20110106122209.14415.qmail@sourceware.org> From: pmuldoon@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] master: Merge remote branch 'gdb/master' X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 26ae9b76b64a97219d4ea5d83c8c9446b690a0c6 X-Git-Newrev: ee7931dc2f112b223bd76bf31ba5bfc716a0a947 X-SW-Source: 2011-q1/txt/msg00008.txt.bz2 List-Id: The branch, master has been updated via ee7931dc2f112b223bd76bf31ba5bfc716a0a947 (commit) via 8bef39475287bdce64ba672333879627614a64c7 (commit) via d3a53b0f798666339edb89002087dbf3a222af09 (commit) via dc1dbdd748005d025bfed664141f94868b4608b9 (commit) via a1d4eea835dab8b8f372de80a9b9f1d47f4ddc87 (commit) via 968b19ffd222d8c5af49a1964b61ebc26f69f8c5 (commit) via f850d1e13721d2e41319ecf28d4f1fb252114a51 (commit) via 1be0d6417699867915c0b0efc15174baf1623863 (commit) via e22c5a3e2b53ba419113970be49407a4098e7ce9 (commit) via 73df4d26c29e68266770c0bf48f727bde62d4468 (commit) via a253ad6ac0478fb293d7005517b717732b88e726 (commit) via 9d777470f6b55b374c2e6761fc658078f3df0d69 (commit) via 8ab7ed746e8abce9d14aff83159939f01ccfc646 (commit) via d960d576b6bf7dc12a29a244df35fa4e7373dca4 (commit) via 1ba609a9c42f9cfeb111aec95b015c3f5eeafbc6 (commit) via 071892049d961a5b7694238d590074023177d54d (commit) via fe0e115731240592d9f2838759bc76db45d3e89e (commit) via 3bf6cbf8d09e90753e83f7a85a538710f365553a (commit) via e78704d5680d54c2c895e4a8f96e01e33e698813 (commit) via 7f416aff7d49595e8041fd7a2b48135b887601f7 (commit) via d6447a2d1ad08c3a3a25742339a464be0aadf8d7 (commit) via 91347ff709cbcd9f603ff0ad02016cfcd268ca40 (commit) via 8b40ee1f1f2f5f8855e99a21a933273b790b913b (commit) from 26ae9b76b64a97219d4ea5d83c8c9446b690a0c6 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit ee7931dc2f112b223bd76bf31ba5bfc716a0a947 Merge: 26ae9b7 8bef394 Author: Phil Muldoon Date: Thu Jan 6 12:21:56 2011 +0000 Merge remote branch 'gdb/master' commit 8bef39475287bdce64ba672333879627614a64c7 Author: Joel Brobecker Date: Thu Jan 6 10:35:00 2011 +0000 [testsuite/gdb.ada] simplify some testcases by using clean_restart. gdb/testsuite/ChangeLog: * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp, gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp, gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp, gdb.ada/catch_ex.exp, gdb.ada/char_param.exp, gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp, gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp, gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp, gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp, gdb.ada/homonym.exp, gdb.ada/int_deref.exp, gdb.ada/interface.exp, gdb.ada/lang_switch.exp, gdb.ada/mod_from_name.exp, gdb.ada/nested.exp, gdb.ada/null_array.exp, gdb.ada/null_record.exp, gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp, gdb.ada/print_chars.exp, gdb.ada/print_pc.exp, gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp, gdb.ada/rec_return.exp, gdb.ada/ref_param.exp, gdb.ada/ref_tick_size.exp, gdb.ada/start.exp, gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp, gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp, gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp, gdb.ada/uninitialized_vars.exp, gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp: Simplify by using clean_restart. commit d3a53b0f798666339edb89002087dbf3a222af09 Author: Joel Brobecker Date: Thu Jan 6 10:33:37 2011 +0000 Avoid the use of gdb_start_cmd in gdb.ada/*.exp testcases. This command does not work when testing with GDBserver. So this patch changes the few tests that do not specifically test the `start' command, and replace calls to gdb_start_cmd with the usual `run LOC' approach. For the couple of testcases that do really test the `start' command, do an early return as UNTESTED instead of running this testcase. gdb/testsuite/ChangeLog: Add marker to be used as anchor for inserting breakpoints. * gdb.ada/null_record/null_record.adb: Add "-- START" comment. * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb: Likewise. Remove uses of gdb_start_cmd. * gdb.ada/null_record.exp: Remove use of gdb_start_cmd. * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto. Do not run testcase if testing with GDBserver. * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested if testing with GDBserver. commit dc1dbdd748005d025bfed664141f94868b4608b9 Author: Joel Brobecker Date: Thu Jan 6 09:30:33 2011 +0000 Remove trailing new-line at end of error string gdb/ChangeLog: * linespec.c (decode_compound, find_method): Remove trailing \n at end of error string. * solib-irix.c (irix_current_sos): Likewise. * varobj.c (uninstall_variable): Likewise. commit a1d4eea835dab8b8f372de80a9b9f1d47f4ddc87 Author: Joel Brobecker Date: Thu Jan 6 06:28:37 2011 +0000 New script copyright.py gdb/ChangeLog: * copyright.py: New script. * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc. Launch emacs without exec'ing. Call copyright.py afterwards. commit 968b19ffd222d8c5af49a1964b61ebc26f69f8c5 Author: Joel Brobecker Date: Thu Jan 6 06:27:43 2011 +0000 Add copyright header to some Ada files (testsuite) gdb/testsuite/ChangeLog: * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb, gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add copyright header. commit f850d1e13721d2e41319ecf28d4f1fb252114a51 Author: Michael Snyder Date: Thu Jan 6 00:56:59 2011 +0000 2011-01-05 Michael Snyder * cli/cli-cmds.c: Shorten lines of >= 80 columns. * cli/cli-decode.c: Ditto. * cli/cli-dump.c: Ditto. * cli/cli-logging.c: Ditto. * cli/cli-script.c: Ditto. * cli/cli-setshow.c: Ditto. * common/signals.c: Ditto. * mi/mi-cmd-break.c: Ditto. * mi/mi-cmd-disas.c: Ditto. * mi/mi-cmd-stack.c: Ditto. * mi/mi-cmd-var.c: Ditto. * mi/mi-cmds.c: Ditto. * mi/mi-common.h: Ditto. * mi/mi-console.c: Ditto. * mi/mi-interp.c: Ditto. * mi/mi-main.c: Ditto. * osf-share/cma_attr.c: Ditto. * osf-share/cma_deb_core.h: Ditto. * osf-share/cma_debug_client.h: Ditto. * osf-share/cma_handle.h: Ditto. * osf-share/cma_mutex.h: Ditto. * osf-share/cma_stack_int.h: Ditto. * osf-share/cma_tcb_defs.h: Ditto. * python/py-auto-load.c: Ditto. * python/py-breakpoint.c: Ditto. * python/py-cmd.c: Ditto. * python/py-frame.c: Ditto. * python/py-objfile.c: Ditto. * python/py-param.c: Ditto. * python/py-progspace.c: Ditto. * python/py-symbol.c: Ditto. * python/py-value.c: Ditto. * python/python-internal.h: Ditto. * python/python.c: Ditto. * tui/tui-data.c: Ditto. * tui/tui-disasm.c: Ditto. * tui/tui-hooks.c: Ditto. * tui/tui-io.c: Ditto. * tui/tui-layout.c: Ditto. * tui/tui-regs.c: Ditto. * tui/tui-source.c: Ditto. * tui/tui-stack.c: Ditto. * tui/tui-win.c: Ditto. * tui/tui-windata.c: Ditto. * tui/tui-winsource.c: Ditto. commit 1be0d6417699867915c0b0efc15174baf1623863 Author: Michael Snyder Date: Thu Jan 6 00:14:09 2011 +0000 2011-01-05 Michael Snyder * gdbreplay.c: Shorten lines of >= 80 columns. * linux-low.c: Ditto. * linux-ppc-low.c: Ditto. * linux-s390-low.c: Ditto. * linux-sparc-low.c: Ditto. * linux-x86-low.c: Ditto. * linux-xtensa-low.c: Ditto. * mem-break.c: Ditto. * nto-low.c: Ditto. * regcache.h: Ditto. * remote-utils.c: Ditto. * server.c: Ditto. * server.h: Ditto. * thread-db.c: Ditto. * tracepoint.c: Ditto. * utils.c: Ditto. * win32-low.h: Ditto. commit e22c5a3e2b53ba419113970be49407a4098e7ce9 Author: gdbadmin Date: Thu Jan 6 00:00:33 2011 +0000 *** empty log message *** commit 73df4d26c29e68266770c0bf48f727bde62d4468 Author: Hans-Peter Nilsson Date: Wed Jan 5 23:12:37 2011 +0000 * testutils.inc: Correct comment syntax fallout from copyright update. * utils-dsp.inc, utils-fpu.inc, utils-mdmx.inc: Ditto. commit a253ad6ac0478fb293d7005517b717732b88e726 Author: Hans-Peter Nilsson Date: Wed Jan 5 23:10:39 2011 +0000 * mips32-dsp.s: Update copyright year. commit 9d777470f6b55b374c2e6761fc658078f3df0d69 Author: Alan Modra Date: Wed Jan 5 23:00:04 2011 +0000 daily update commit 8ab7ed746e8abce9d14aff83159939f01ccfc646 Author: Michael Snyder Date: Wed Jan 5 22:22:44 2011 +0000 2011-01-05 Michael Snyder * addrmap.c: Shorten lines of >= 80 columns. * arch-utils.c: Ditto. * arch-utils.h: Ditto. * ax-gdb.c: Ditto. * ax-general.c: Ditto. * bcache.c: Ditto. * blockframe.c: Ditto. * breakpoint.c: Ditto. * buildsym.c: Ditto. * c-lang.c: Ditto. * c-typeprint.c: Ditto. * charset.c: Ditto. * coffread.c: Ditto. * command.h: Ditto. * corelow.c: Ditto. * cp-abi.c: Ditto. * cp-namespace.c: Ditto. * cp-support.c: Ditto. * dbug-rom.c: Ditto. * dbxread.c: Ditto. * defs.h: Ditto. * dfp.c: Ditto. * dfp.h: Ditto. * dictionary.c: Ditto. * disasm.c: Ditto. * doublest.c: Ditto. * dwarf2-frame.c: Ditto. * dwarf2expr.c: Ditto. * dwarf2loc.c: Ditto. * dwarf2read.c: Ditto. * elfread.c: Ditto. * eval.c: Ditto. * event-loop.c: Ditto. * event-loop.h: Ditto. * exceptions.h: Ditto. * exec.c: Ditto. * expprint.c: Ditto. * expression.h: Ditto. * f-lang.c: Ditto. * f-valprint.c: Ditto. * findcmd.c: Ditto. * frame-base.c: Ditto. * frame-unwind.c: Ditto. * frame-unwind.h: Ditto. * frame.c: Ditto. * frame.h: Ditto. * gcore.c: Ditto. * gdb-stabs.h: Ditto. * gdb_assert.h: Ditto. * gdb_dirent.h: Ditto. * gdb_obstack.h: Ditto. * gdbcore.h: Ditto. * gdbtypes.c: Ditto. * gdbtypes.h: Ditto. * inf-ttrace.c: Ditto. * infcall.c: Ditto. * infcmd.c: Ditto. * inflow.c: Ditto. * infrun.c: Ditto. * inline-frame.h: Ditto. * language.c: Ditto. * language.h: Ditto. * libunwind-frame.c: Ditto. * libunwind-frame.h: Ditto. * linespec.c: Ditto. * linux-nat.c: Ditto. * linux-nat.h: Ditto. * linux-thread-db.c: Ditto. * machoread.c: Ditto. * macroexp.c: Ditto. * macrotab.c: Ditto. * main.c: Ditto. * maint.c: Ditto. * mdebugread.c: Ditto. * memattr.c: Ditto. * minsyms.c: Ditto. * monitor.c: Ditto. * monitor.h: Ditto. * objfiles.c: Ditto. * objfiles.h: Ditto. * osabi.c: Ditto. * p-typeprint.c: Ditto. * p-valprint.c: Ditto. * parse.c: Ditto. * printcmd.c: Ditto. * proc-events.c: Ditto. * procfs.c: Ditto. * progspace.c: Ditto. * progspace.h: Ditto. * psympriv.h: Ditto. * psymtab.c: Ditto. * record.c: Ditto. * regcache.c: Ditto. * regcache.h: Ditto. * remote-fileio.c: Ditto. * remote.c: Ditto. * ser-mingw.c: Ditto. * ser-tcp.c: Ditto. * ser-unix.c: Ditto. * serial.c: Ditto. * serial.h: Ditto. * solib-frv.c: Ditto. * solib-irix.c: Ditto. * solib-osf.c: Ditto. * solib-pa64.c: Ditto. * solib-som.c: Ditto. * solib-sunos.c: Ditto. * solib-svr4.c: Ditto. * solib-target.c: Ditto. * solib.c: Ditto. * somread.c: Ditto. * source.c: Ditto. * stabsread.c: Ditto. * stabsread.c: Ditto. * stack.c: Ditto. * stack.h: Ditto. * symfile-mem.c: Ditto. * symfile.c: Ditto. * symfile.h: Ditto. * symmisc.c: Ditto. * symtab.c: Ditto. * symtab.h: Ditto. * target-descriptions.c: Ditto. * target-memory.c: Ditto. * target.c: Ditto. * target.h: Ditto. * terminal.h: Ditto. * thread.c: Ditto. * top.c: Ditto. * tracepoint.c: Ditto. * tracepoint.h: Ditto. * ui-file.c: Ditto. * ui-file.h: Ditto. * ui-out.h: Ditto. * user-regs.c: Ditto. * user-regs.h: Ditto. * utils.c: Ditto. * valarith.c: Ditto. * valops.c: Ditto. * valprint.c: Ditto. * valprint.h: Ditto. * value.c: Ditto. * varobj.c: Ditto. * varobj.h: Ditto. * vec.h: Ditto. * xcoffread.c: Ditto. * xcoffsolib.c: Ditto. * xcoffsolib.h: Ditto. * xml-syscall.c: Ditto. * xml-tdesc.c: Ditto. commit d960d576b6bf7dc12a29a244df35fa4e7373dca4 Author: DJ Delorie Date: Wed Jan 5 22:04:07 2011 +0000 * reloc.c: Add BFD_RELOC_RX_OP_NEG. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * elf32-rx.c: Add it to the list, corresponding to R_RX_OPneg. * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression instead of an RH_NEG32 one. commit 1ba609a9c42f9cfeb111aec95b015c3f5eeafbc6 Author: Mike Frysinger Date: Wed Jan 5 17:17:44 2011 +0000 sim: ignore generated hw-config.h Signed-off-by: Mike Frysinger commit 071892049d961a5b7694238d590074023177d54d Author: Mike Frysinger Date: Wed Jan 5 17:13:36 2011 +0000 sim: tweak load buffer type to avoid signed warnings The sim_load_file func creates a buffer with arbitrary data in it (reads it via the bfd). It then passes it on to a sim_write_fn which expects a unsigned char buffer. Since sim_load_file itself doesn't care about the contents, tweak the type to avoid signed mismatch warnings from gcc: common/sim-load.c: In function ‘sim_load_file’: common/sim-load.c:143: warning: pointer targets in passing argument 3 of ‘do_write’ differ in signedness common/sim-load.c:143: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ Signed-off-by: Mike Frysinger commit fe0e115731240592d9f2838759bc76db45d3e89e Author: Joel Brobecker Date: Wed Jan 5 06:01:36 2011 +0000 Copyright year update in sim/ppc/psim.texinfo sim/ppc/ChangeLog: * psim.texinfo: Copyright year update. commit 3bf6cbf8d09e90753e83f7a85a538710f365553a Author: Joel Brobecker Date: Wed Jan 5 05:09:44 2011 +0000 Update the copyright year for most remaining files in GDB commit e78704d5680d54c2c895e4a8f96e01e33e698813 Author: Joel Brobecker Date: Wed Jan 5 05:06:47 2011 +0000 Add missing copyright header for testsuite/gdb.base/langs1.f. This file has been created prior to CVS rev 1. Instead of listing all the years since 1999, I just put 1999, 2010 and 2011. gdb/testsuite/ChangeLog: * gdb.base/langs1.f: Add copyright header. commit 7f416aff7d49595e8041fd7a2b48135b887601f7 Author: H.J. Lu Date: Wed Jan 5 00:16:53 2011 +0000 Implement BMI instructions. commit d6447a2d1ad08c3a3a25742339a464be0aadf8d7 Author: gdbadmin Date: Wed Jan 5 00:00:32 2011 +0000 *** empty log message *** commit 91347ff709cbcd9f603ff0ad02016cfcd268ca40 Author: Alan Modra Date: Tue Jan 4 23:00:06 2011 +0000 daily update commit 8b40ee1f1f2f5f8855e99a21a933273b790b913b Author: H.J. Lu Date: Tue Jan 4 20:53:31 2011 +0000 Add VexGdq. 2011-01-04 H.J. Lu * i386-dis.c (VexGdq): New. (OP_VEX): Handle dq_mode. ----------------------------------------------------------------------- Summary of changes: bfd/ChangeLog | 7 + bfd/bfd-in2.h | 1 + bfd/elf32-rx.c | 1 + bfd/libbfd.h | 1 + bfd/reloc.c | 2 + bfd/version.h | 2 +- gdb/ChangeLog | 218 + gdb/addrmap.c | 3 +- gdb/arch-utils.c | 29 +- gdb/arch-utils.h | 10 +- gdb/ax-gdb.c | 50 +- gdb/ax-general.c | 16 +- gdb/bcache.c | 3 +- gdb/blockframe.c | 9 +- gdb/breakpoint.c | 170 +- gdb/buildsym.c | 12 +- gdb/c-lang.c | 3 +- gdb/c-typeprint.c | 10 +- gdb/charset.c | 25 +- gdb/cli/cli-cmds.c | 32 +- gdb/cli/cli-decode.c | 8 +- gdb/cli/cli-dump.c | 28 +- gdb/cli/cli-logging.c | 18 +- gdb/cli/cli-script.c | 9 +- gdb/cli/cli-setshow.c | 3 +- gdb/coffread.c | 18 +- gdb/command.h | 6 +- gdb/common/signals.c | 6 +- gdb/configure.ac | 4 +- gdb/copyright.py | 608 +++ gdb/copyright.sh | 11 +- gdb/corelow.c | 6 +- gdb/cp-abi.c | 9 +- gdb/cp-namespace.c | 3 +- gdb/cp-support.c | 3 +- gdb/dbug-rom.c | 6 +- gdb/dbxread.c | 43 +- gdb/defs.h | 33 +- gdb/dfp.c | 6 +- gdb/dfp.h | 3 +- gdb/dictionary.c | 3 +- gdb/disasm.c | 3 +- gdb/doc/ChangeLog | 6 + gdb/doc/agentexpr.texi | 4 +- gdb/doc/all-cfg.texi | 2 +- gdb/doc/annotate.texinfo | 2 +- gdb/doc/gdb.texinfo | 6 +- gdb/doc/gdbint.texinfo | 2 +- gdb/doc/observer.texi | 4 +- gdb/doc/refcard.tex | 4 +- gdb/doc/stabs.texinfo | 2 +- gdb/doublest.c | 13 +- gdb/dwarf2-frame.c | 36 +- gdb/dwarf2expr.c | 12 +- gdb/dwarf2loc.c | 38 +- gdb/dwarf2read.c | 239 +- gdb/elfread.c | 78 +- gdb/eval.c | 118 +- gdb/event-loop.c | 21 +- gdb/event-loop.h | 2 +- gdb/exceptions.h | 10 +- gdb/exec.c | 15 +- gdb/expprint.c | 3 +- gdb/expression.h | 37 +- gdb/f-lang.c | 15 +- gdb/f-valprint.c | 13 +- gdb/findcmd.c | 7 +- gdb/frame-base.c | 3 +- gdb/frame-unwind.c | 9 +- gdb/frame-unwind.h | 4 +- gdb/frame.c | 31 +- gdb/frame.h | 6 +- gdb/gcore.c | 3 +- gdb/gdb-stabs.h | 5 +- gdb/gdb.1 | 2 +- gdb/gdb_assert.h | 4 +- gdb/gdb_dirent.h | 2 +- gdb/gdb_obstack.h | 7 +- gdb/gdbcore.h | 6 +- gdb/gdbserver/ChangeLog | 25 + gdb/gdbserver/configure.ac | 2 +- gdb/gdbserver/gdbreplay.c | 11 +- gdb/gdbserver/gdbserver.1 | 2 +- gdb/gdbserver/linux-low.c | 28 +- gdb/gdbserver/linux-ppc-low.c | 3 +- gdb/gdbserver/linux-s390-low.c | 15 +- gdb/gdbserver/linux-sparc-low.c | 30 +- gdb/gdbserver/linux-x86-low.c | 8 +- gdb/gdbserver/linux-xtensa-low.c | 3 +- gdb/gdbserver/mem-break.c | 3 +- gdb/gdbserver/nto-low.c | 3 +- gdb/gdbserver/regcache.h | 3 +- gdb/gdbserver/remote-utils.c | 10 +- gdb/gdbserver/server.c | 15 +- gdb/gdbserver/server.h | 9 +- gdb/gdbserver/thread-db.c | 3 +- gdb/gdbserver/tracepoint.c | 44 +- gdb/gdbserver/utils.c | 3 +- gdb/gdbserver/win32-low.h | 6 +- gdb/gdbtypes.c | 41 +- gdb/gdbtypes.h | 22 +- gdb/inf-ttrace.c | 13 +- gdb/infcall.c | 118 +- gdb/infcmd.c | 90 +- gdb/inflow.c | 6 +- gdb/infrun.c | 172 +- gdb/inline-frame.c | 4 +- gdb/language.c | 78 +- gdb/language.h | 5 +- gdb/libunwind-frame.c | 22 +- gdb/libunwind-frame.h | 3 +- gdb/linespec.c | 59 +- gdb/linux-nat.c | 160 +- gdb/linux-nat.h | 3 +- gdb/linux-thread-db.c | 9 +- gdb/machoread.c | 25 +- gdb/macroexp.c | 3 +- gdb/macrotab.c | 7 +- gdb/main.c | 41 +- gdb/maint.c | 30 +- gdb/mdebugread.c | 398 +- gdb/memattr.c | 11 +- gdb/mi/mi-cmd-break.c | 3 +- gdb/mi/mi-cmd-disas.c | 11 +- gdb/mi/mi-cmd-stack.c | 6 +- gdb/mi/mi-cmd-var.c | 18 +- gdb/mi/mi-cmds.c | 15 +- gdb/mi/mi-common.h | 5 +- gdb/mi/mi-console.c | 3 +- gdb/mi/mi-interp.c | 17 +- gdb/mi/mi-main.c | 42 +- gdb/minsyms.c | 4 +- gdb/monitor.c | 67 +- gdb/monitor.h | 14 +- gdb/objfiles.c | 3 +- gdb/objfiles.h | 24 +- gdb/osabi.c | 17 +- gdb/osf-share/cma_attr.h | 9 +- gdb/osf-share/cma_deb_core.h | 38 +- gdb/osf-share/cma_debug_client.h | 12 +- gdb/osf-share/cma_handle.h | 15 +- gdb/osf-share/cma_mutex.h | 6 +- gdb/osf-share/cma_stack_int.h | 6 +- gdb/osf-share/cma_tcb_defs.h | 32 +- gdb/p-typeprint.c | 42 +- gdb/p-valprint.c | 57 +- gdb/parse.c | 21 +- gdb/printcmd.c | 23 +- gdb/proc-events.c | 3 +- gdb/procfs.c | 27 +- gdb/progspace.c | 7 +- gdb/progspace.h | 3 +- gdb/psympriv.h | 3 +- gdb/psymtab.c | 24 +- gdb/python/py-auto-load.c | 3 +- gdb/python/py-breakpoint.c | 5 +- gdb/python/py-cmd.c | 9 +- gdb/python/py-frame.c | 6 +- gdb/python/py-objfile.c | 3 +- gdb/python/py-param.c | 3 +- gdb/python/py-progspace.c | 3 +- gdb/python/py-symbol.c | 6 +- gdb/python/py-value.c | 15 +- gdb/python/python-internal.h | 3 +- gdb/python/python.c | 6 +- gdb/record.c | 71 +- gdb/regcache.c | 42 +- gdb/regcache.h | 7 +- gdb/remote-fileio.c | 19 +- gdb/remote.c | 128 +- gdb/ser-mingw.c | 6 +- gdb/ser-tcp.c | 5 +- gdb/ser-unix.c | 30 +- gdb/serial.c | 13 +- gdb/serial.h | 11 +- gdb/solib-frv.c | 36 +- gdb/solib-irix.c | 6 +- gdb/solib-osf.c | 3 +- gdb/solib-pa64.c | 9 +- gdb/solib-som.c | 36 +- gdb/solib-sunos.c | 3 +- gdb/solib-svr4.c | 26 +- gdb/solib-target.c | 6 +- gdb/solib.c | 38 +- gdb/somread.c | 17 +- gdb/source.c | 20 +- gdb/stabsread.c | 88 +- gdb/stabsread.h | 5 +- gdb/stack.c | 26 +- gdb/stack.h | 2 +- gdb/symfile-mem.c | 22 +- gdb/symfile.c | 58 +- gdb/symfile.h | 9 +- gdb/symmisc.c | 23 +- gdb/symtab.c | 56 +- gdb/symtab.h | 9 +- gdb/target-descriptions.c | 10 +- gdb/target-memory.c | 6 +- gdb/target.c | 84 +- gdb/target.h | 17 +- gdb/terminal.h | 3 +- gdb/testsuite/ChangeLog | 64 + gdb/testsuite/configure.ac | 2 +- gdb/testsuite/gdb.ada/array_bounds.exp | 5 +- gdb/testsuite/gdb.ada/array_return.exp | 5 +- gdb/testsuite/gdb.ada/array_subscript_addr.exp | 5 +- gdb/testsuite/gdb.ada/arrayidx.exp | 5 +- gdb/testsuite/gdb.ada/arrayparam.exp | 5 +- gdb/testsuite/gdb.ada/arrayptr.exp | 5 +- gdb/testsuite/gdb.ada/atomic_enum.exp | 5 +- gdb/testsuite/gdb.ada/call_pn.exp | 5 +- gdb/testsuite/gdb.ada/catch_ex.exp | 5 +- gdb/testsuite/gdb.ada/char_param.exp | 5 +- gdb/testsuite/gdb.ada/complete.exp | 5 +- gdb/testsuite/gdb.ada/complete/foo.adb | 15 + gdb/testsuite/gdb.ada/complete/pck.adb | 15 + gdb/testsuite/gdb.ada/complete/pck.ads | 15 + gdb/testsuite/gdb.ada/exec_changed.exp | 7 + gdb/testsuite/gdb.ada/exprs.exp | 5 +- gdb/testsuite/gdb.ada/fixed_cmp.exp | 5 +- gdb/testsuite/gdb.ada/fixed_points.exp | 5 +- gdb/testsuite/gdb.ada/formatted_ref.exp | 5 +- gdb/testsuite/gdb.ada/frame_args.exp | 5 +- gdb/testsuite/gdb.ada/fun_addr.exp | 5 +- gdb/testsuite/gdb.ada/fun_in_declare.exp | 5 +- gdb/testsuite/gdb.ada/funcall_param.exp | 5 +- gdb/testsuite/gdb.ada/homonym.exp | 5 +- gdb/testsuite/gdb.ada/int_deref.exp | 5 +- gdb/testsuite/gdb.ada/interface.exp | 5 +- gdb/testsuite/gdb.ada/lang_switch.exp | 5 +- gdb/testsuite/gdb.ada/mod_from_name.exp | 5 +- gdb/testsuite/gdb.ada/nested.exp | 5 +- gdb/testsuite/gdb.ada/null_array.exp | 5 +- gdb/testsuite/gdb.ada/null_record.exp | 15 +- gdb/testsuite/gdb.ada/null_record/null_record.adb | 2 +- gdb/testsuite/gdb.ada/packed_array.exp | 5 +- gdb/testsuite/gdb.ada/packed_tagged.exp | 5 +- gdb/testsuite/gdb.ada/print_chars.exp | 5 +- gdb/testsuite/gdb.ada/print_chars/foo.adb | 15 + gdb/testsuite/gdb.ada/print_pc.exp | 15 +- gdb/testsuite/gdb.ada/ptype_field.exp | 5 +- gdb/testsuite/gdb.ada/ptype_tagged_param.exp | 5 +- gdb/testsuite/gdb.ada/rec_return.exp | 5 +- gdb/testsuite/gdb.ada/ref_param.exp | 5 +- gdb/testsuite/gdb.ada/ref_tick_size.exp | 5 +- gdb/testsuite/gdb.ada/start.exp | 12 +- gdb/testsuite/gdb.ada/start/dummy.adb | 2 +- gdb/testsuite/gdb.ada/str_ref_cmp.exp | 5 +- gdb/testsuite/gdb.ada/sym_print_name.exp | 5 +- gdb/testsuite/gdb.ada/taft_type.exp | 5 +- gdb/testsuite/gdb.ada/tagged.exp | 5 +- gdb/testsuite/gdb.ada/tasks.exp | 5 +- gdb/testsuite/gdb.ada/tick_last_segv.exp | 5 +- gdb/testsuite/gdb.ada/type_coercion.exp | 5 +- gdb/testsuite/gdb.ada/uninitialized_vars.exp | 15 +- gdb/testsuite/gdb.ada/uninitialized_vars/parse.adb | 2 +- .../gdb.ada/variant_record_packed_array.exp | 5 +- gdb/testsuite/gdb.ada/watch_arg.exp | 5 +- gdb/testsuite/gdb.arch/gdb1291.s | 2 +- gdb/testsuite/gdb.arch/gdb1431.s | 2 +- gdb/testsuite/gdb.base/langs1.f | 15 + gdb/testsuite/gdb.fortran/array-element.f | 2 +- gdb/testsuite/gdb.fortran/complex.f | 2 +- gdb/testsuite/gdb.fortran/derived-type.f90 | 2 +- gdb/testsuite/gdb.fortran/library-module-lib.f90 | 2 +- gdb/testsuite/gdb.fortran/library-module-main.f90 | 2 +- gdb/testsuite/gdb.fortran/logical.f90 | 2 +- gdb/testsuite/gdb.fortran/module.f90 | 2 +- gdb/testsuite/gdb.fortran/subarray.f | 2 +- gdb/testsuite/gdb.mi/array.f | 2 +- gdb/thread.c | 11 +- gdb/top.c | 48 +- gdb/tracepoint.c | 89 +- gdb/tracepoint.h | 6 +- gdb/tui/tui-data.c | 15 +- gdb/tui/tui-disasm.c | 16 +- gdb/tui/tui-hooks.c | 6 +- gdb/tui/tui-io.c | 6 +- gdb/tui/tui-layout.c | 10 +- gdb/tui/tui-regs.c | 21 +- gdb/tui/tui-source.c | 32 +- gdb/tui/tui-stack.c | 23 +- gdb/tui/tui-win.c | 34 +- gdb/tui/tui-windata.c | 5 +- gdb/tui/tui-winsource.c | 34 +- gdb/ui-file.c | 2 +- gdb/ui-file.h | 60 +- gdb/ui-out.h | 4 +- gdb/user-regs.c | 4 +- gdb/user-regs.h | 3 +- gdb/utils.c | 92 +- gdb/valarith.c | 18 +- gdb/valops.c | 97 +- gdb/valprint.c | 63 +- gdb/valprint.h | 2 +- gdb/value.c | 30 +- gdb/varobj.c | 57 +- gdb/varobj.h | 5 +- gdb/vec.h | 3 +- gdb/version.in | 2 +- gdb/xcoffread.c | 193 +- gdb/xcoffsolib.c | 7 +- gdb/xcoffsolib.h | 6 +- gdb/xml-syscall.c | 15 +- gdb/xml-tdesc.c | 12 +- opcodes/ChangeLog | 40 + opcodes/i386-dis.c | 94 +- opcodes/i386-gen.c | 3 + opcodes/i386-init.h | 137 +- opcodes/i386-opc.h | 3 + opcodes/i386-opc.tbl | 9 + opcodes/i386-tbl.h | 5036 ++++++++++---------- sim/.gitignore | 1 + sim/ChangeLog | 4 + sim/common/ChangeLog | 8 + sim/common/run.1 | 2 +- sim/common/sim-load.c | 2 +- sim/ppc/ChangeLog | 4 + sim/ppc/psim.texinfo | 4 +- sim/testsuite/sim/mips/ChangeLog | 8 + sim/testsuite/sim/mips/mips32-dsp.s | 2 +- sim/testsuite/sim/mips/testutils.inc | 4 +- sim/testsuite/sim/mips/utils-dsp.inc | 4 +- sim/testsuite/sim/mips/utils-fpu.inc | 4 +- sim/testsuite/sim/mips/utils-mdmx.inc | 4 +- 325 files changed, 7270 insertions(+), 4929 deletions(-) create mode 100644 gdb/copyright.py First 500 lines of diff: diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0369051..eb99588 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2011-01-05 DJ Delorie + + * reloc.c: Add BFD_RELOC_RX_OP_NEG. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + * elf32-rx.c: Add it to the list, corresponding to R_RX_OPneg. + 2011-01-03 H.J. Lu * cpu-i386.c (bfd_i386_compatible): New. diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index e75eb0d..8531f8d 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -3991,6 +3991,7 @@ instructions */ BFD_RELOC_RX_GPRELL, BFD_RELOC_RX_SYM, BFD_RELOC_RX_OP_SUBTRACT, + BFD_RELOC_RX_OP_NEG, BFD_RELOC_RX_ABS8, BFD_RELOC_RX_ABS16, BFD_RELOC_RX_ABS16_REV, diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c index ac587ef..7855d5e 100644 --- a/bfd/elf32-rx.c +++ b/bfd/elf32-rx.c @@ -248,6 +248,7 @@ static const struct rx_reloc_map rx_reloc_map [] = { BFD_RELOC_RX_RELAX, R_RX_RH_RELAX }, { BFD_RELOC_RX_SYM, R_RX_SYM }, { BFD_RELOC_RX_OP_SUBTRACT, R_RX_OPsub }, + { BFD_RELOC_RX_OP_NEG, R_RX_OPneg }, { BFD_RELOC_RX_ABS8, R_RX_ABS8 }, { BFD_RELOC_RX_ABS16, R_RX_ABS16 }, { BFD_RELOC_RX_ABS16_REV, R_RX_ABS16_REV }, diff --git a/bfd/libbfd.h b/bfd/libbfd.h index 5687082..1cf63ce 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -1800,6 +1800,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", "BFD_RELOC_RX_GPRELL", "BFD_RELOC_RX_SYM", "BFD_RELOC_RX_OP_SUBTRACT", + "BFD_RELOC_RX_OP_NEG", "BFD_RELOC_RX_ABS8", "BFD_RELOC_RX_ABS16", "BFD_RELOC_RX_ABS16_REV", diff --git a/bfd/reloc.c b/bfd/reloc.c index 6d4eb85..30919f2 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -4258,6 +4258,8 @@ ENUMX ENUMX BFD_RELOC_RX_OP_SUBTRACT ENUMX + BFD_RELOC_RX_OP_NEG +ENUMX BFD_RELOC_RX_ABS8 ENUMX BFD_RELOC_RX_ABS16 diff --git a/bfd/version.h b/bfd/version.h index e76446a..97edb33 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -1,4 +1,4 @@ -#define BFD_VERSION_DATE 20110104 +#define BFD_VERSION_DATE 20110106 #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 586d12e..42e77dc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,221 @@ +2011-01-06 Joel Brobecker + + * linespec.c (decode_compound, find_method): Remove trailing \n + at end of error string. + * solib-irix.c (irix_current_sos): Likewise. + * varobj.c (uninstall_variable): Likewise. + +2011-01-06 Joel Brobecker + + * copyright.py: New script. + * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc. + Launch emacs without exec'ing. Call copyright.py afterwards. + +2011-01-05 Michael Snyder + + * addrmap.c: Shorten lines of >= 80 columns. + * arch-utils.c: Ditto. + * arch-utils.h: Ditto. + * ax-gdb.c: Ditto. + * ax-general.c: Ditto. + * bcache.c: Ditto. + * blockframe.c: Ditto. + * breakpoint.c: Ditto. + * buildsym.c: Ditto. + * c-lang.c: Ditto. + * c-typeprint.c: Ditto. + * charset.c: Ditto. + * coffread.c: Ditto. + * command.h: Ditto. + * corelow.c: Ditto. + * cp-abi.c: Ditto. + * cp-namespace.c: Ditto. + * cp-support.c: Ditto. + * dbug-rom.c: Ditto. + * dbxread.c: Ditto. + * defs.h: Ditto. + * dfp.c: Ditto. + * dfp.h: Ditto. + * dictionary.c: Ditto. + * disasm.c: Ditto. + * doublest.c: Ditto. + * dwarf2-frame.c: Ditto. + * dwarf2expr.c: Ditto. + * dwarf2loc.c: Ditto. + * dwarf2read.c: Ditto. + * elfread.c: Ditto. + * eval.c: Ditto. + * event-loop.c: Ditto. + * event-loop.h: Ditto. + * exceptions.h: Ditto. + * exec.c: Ditto. + * expprint.c: Ditto. + * expression.h: Ditto. + * f-lang.c: Ditto. + * f-valprint.c: Ditto. + * findcmd.c: Ditto. + * frame-base.c: Ditto. + * frame-unwind.c: Ditto. + * frame-unwind.h: Ditto. + * frame.c: Ditto. + * frame.h: Ditto. + * gcore.c: Ditto. + * gdb-stabs.h: Ditto. + * gdb_assert.h: Ditto. + * gdb_dirent.h: Ditto. + * gdb_obstack.h: Ditto. + * gdbcore.h: Ditto. + * gdbtypes.c: Ditto. + * gdbtypes.h: Ditto. + * inf-ttrace.c: Ditto. + * infcall.c: Ditto. + * infcmd.c: Ditto. + * inflow.c: Ditto. + * infrun.c: Ditto. + * inline-frame.h: Ditto. + * language.c: Ditto. + * language.h: Ditto. + * libunwind-frame.c: Ditto. + * libunwind-frame.h: Ditto. + * linespec.c: Ditto. + * linux-nat.c: Ditto. + * linux-nat.h: Ditto. + * linux-thread-db.c: Ditto. + * machoread.c: Ditto. + * macroexp.c: Ditto. + * macrotab.c: Ditto. + * main.c: Ditto. + * maint.c: Ditto. + * mdebugread.c: Ditto. + * memattr.c: Ditto. + * minsyms.c: Ditto. + * monitor.c: Ditto. + * monitor.h: Ditto. + * objfiles.c: Ditto. + * objfiles.h: Ditto. + * osabi.c: Ditto. + * p-typeprint.c: Ditto. + * p-valprint.c: Ditto. + * parse.c: Ditto. + * printcmd.c: Ditto. + * proc-events.c: Ditto. + * procfs.c: Ditto. + * progspace.c: Ditto. + * progspace.h: Ditto. + * psympriv.h: Ditto. + * psymtab.c: Ditto. + * record.c: Ditto. + * regcache.c: Ditto. + * regcache.h: Ditto. + * remote-fileio.c: Ditto. + * remote.c: Ditto. + * ser-mingw.c: Ditto. + * ser-tcp.c: Ditto. + * ser-unix.c: Ditto. + * serial.c: Ditto. + * serial.h: Ditto. + * solib-frv.c: Ditto. + * solib-irix.c: Ditto. + * solib-osf.c: Ditto. + * solib-pa64.c: Ditto. + * solib-som.c: Ditto. + * solib-sunos.c: Ditto. + * solib-svr4.c: Ditto. + * solib-target.c: Ditto. + * solib.c: Ditto. + * somread.c: Ditto. + * source.c: Ditto. + * stabsread.c: Ditto. + * stabsread.c: Ditto. + * stack.c: Ditto. + * stack.h: Ditto. + * symfile-mem.c: Ditto. + * symfile.c: Ditto. + * symfile.h: Ditto. + * symmisc.c: Ditto. + * symtab.c: Ditto. + * symtab.h: Ditto. + * target-descriptions.c: Ditto. + * target-memory.c: Ditto. + * target.c: Ditto. + * target.h: Ditto. + * terminal.h: Ditto. + * thread.c: Ditto. + * top.c: Ditto. + * tracepoint.c: Ditto. + * tracepoint.h: Ditto. + * ui-file.c: Ditto. + * ui-file.h: Ditto. + * ui-out.h: Ditto. + * user-regs.c: Ditto. + * user-regs.h: Ditto. + * utils.c: Ditto. + * valarith.c: Ditto. + * valops.c: Ditto. + * valprint.c: Ditto. + * valprint.h: Ditto. + * value.c: Ditto. + * varobj.c: Ditto. + * varobj.h: Ditto. + * vec.h: Ditto. + * xcoffread.c: Ditto. + * xcoffsolib.c: Ditto. + * xcoffsolib.h: Ditto. + * xml-syscall.c: Ditto. + * xml-tdesc.c: Ditto. + +2011-01-05 Michael Snyder + + * cli/cli-cmds.c: Shorten lines of >= 80 columns. + * cli/cli-decode.c: Ditto. + * cli/cli-dump.c: Ditto. + * cli/cli-logging.c: Ditto. + * cli/cli-script.c: Ditto. + * cli/cli-setshow.c: Ditto. + * common/signals.c: Ditto. + * mi/mi-cmd-break.c: Ditto. + * mi/mi-cmd-disas.c: Ditto. + * mi/mi-cmd-stack.c: Ditto. + * mi/mi-cmd-var.c: Ditto. + * mi/mi-cmds.c: Ditto. + * mi/mi-common.h: Ditto. + * mi/mi-console.c: Ditto. + * mi/mi-interp.c: Ditto. + * mi/mi-main.c: Ditto. + * osf-share/cma_attr.c: Ditto. + * osf-share/cma_deb_core.h: Ditto. + * osf-share/cma_debug_client.h: Ditto. + * osf-share/cma_handle.h: Ditto. + * osf-share/cma_mutex.h: Ditto. + * osf-share/cma_stack_int.h: Ditto. + * osf-share/cma_tcb_defs.h: Ditto. + * python/py-auto-load.c: Ditto. + * python/py-breakpoint.c: Ditto. + * python/py-cmd.c: Ditto. + * python/py-frame.c: Ditto. + * python/py-objfile.c: Ditto. + * python/py-param.c: Ditto. + * python/py-progspace.c: Ditto. + * python/py-symbol.c: Ditto. + * python/py-value.c: Ditto. + * python/python-internal.h: Ditto. + * python/python.c: Ditto. + * tui/tui-data.c: Ditto. + * tui/tui-disasm.c: Ditto. + * tui/tui-hooks.c: Ditto. + * tui/tui-io.c: Ditto. + * tui/tui-layout.c: Ditto. + * tui/tui-regs.c: Ditto. + * tui/tui-source.c: Ditto. + * tui/tui-stack.c: Ditto. + * tui/tui-win.c: Ditto. + * tui/tui-windata.c: Ditto. + * tui/tui-winsource.c: Ditto. + +2011-01-05 Joel Brobecker + + * configure.ac, gdb.1: Copyright year update. + 2011-01-03 Jan Kratochvil * frame.c (get_prev_frame_1) : New variables diff --git a/gdb/addrmap.c b/gdb/addrmap.c index 6de3190..917790e 100644 --- a/gdb/addrmap.c +++ b/gdb/addrmap.c @@ -307,7 +307,8 @@ addrmap_node_set_value (splay_tree_node node, void *value) static void -addrmap_splay_tree_insert (struct addrmap_mutable *map, CORE_ADDR key, void *value) +addrmap_splay_tree_insert (struct addrmap_mutable *map, + CORE_ADDR key, void *value) { splay_tree_insert (map->tree, allocate_key (map, key), diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index 9ed26ab..db79b9a 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -279,7 +279,7 @@ show_endian (struct ui_file *file, int from_tty, struct cmd_list_element *c, "(currently big endian)\n")); else fprintf_unfiltered (file, _("The target endianness is set automatically " - "(currently little endian)\n")); + "(currently little endian)\n")); else if (target_byte_order_user == BFD_ENDIAN_BIG) fprintf_unfiltered (file, @@ -435,12 +435,12 @@ show_architecture (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) { if (target_architecture_user == NULL) - fprintf_filtered (file, _("\ -The target architecture is set automatically (currently %s)\n"), - gdbarch_bfd_arch_info (get_current_arch ())->printable_name); + fprintf_filtered (file, _("The target architecture is set " + "automatically (currently %s)\n"), + gdbarch_bfd_arch_info (get_current_arch ())->printable_name); else - fprintf_filtered (file, _("\ -The target architecture is assumed to be %s\n"), set_architecture_string); + fprintf_filtered (file, _("The target architecture is assumed to be %s\n"), + set_architecture_string); } @@ -662,9 +662,9 @@ initialize_current_architecture (void) arches[nr + 0] = "auto"; arches[nr + 1] = NULL; add_setshow_enum_cmd ("architecture", class_support, - arches, &set_architecture_string, _("\ -Set architecture of target."), _("\ -Show architecture of target."), NULL, + arches, &set_architecture_string, + _("Set architecture of target."), + _("Show architecture of target."), NULL, set_architecture, show_architecture, &setlist, &showlist); add_alias_cmd ("processor", "architecture", class_support, 1, &setlist); @@ -788,15 +788,16 @@ default_remote_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr, /* */ -extern initialize_file_ftype _initialize_gdbarch_utils; /* -Wmissing-prototypes */ +/* -Wmissing-prototypes */ +extern initialize_file_ftype _initialize_gdbarch_utils; void _initialize_gdbarch_utils (void) { add_setshow_enum_cmd ("endian", class_support, - endian_enum, &set_endian_string, _("\ -Set endianness of target."), _("\ -Show endianness of target."), NULL, - set_endian, show_endian, + endian_enum, &set_endian_string, + _("Set endianness of target."), + _("Show endianness of target."), + NULL, set_endian, show_endian, &setlist, &showlist); } diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h index 88fe237..5d05535 100644 --- a/gdb/arch-utils.h +++ b/gdb/arch-utils.h @@ -51,8 +51,8 @@ extern void /* Default implementation of gdbarch_displaced_hw_singlestep. */ extern int - default_displaced_step_hw_singlestep (struct gdbarch *gdbarch, - struct displaced_step_closure *closure); + default_displaced_step_hw_singlestep (struct gdbarch *, + struct displaced_step_closure *); /* Possible value for gdbarch_displaced_step_location: Place displaced instructions at the program's entry point, @@ -74,7 +74,8 @@ extern int no_op_reg_to_regnum (struct gdbarch *gdbarch, int reg); /* Do nothing version of elf_make_msymbol_special. */ -void default_elf_make_msymbol_special (asymbol *sym, struct minimal_symbol *msym); +void default_elf_make_msymbol_special (asymbol *sym, + struct minimal_symbol *msym); /* Do nothing version of coff_make_msymbol_special. */ @@ -100,7 +101,8 @@ extern CORE_ADDR generic_skip_solib_resolver (struct gdbarch *gdbarch, extern int generic_in_solib_return_trampoline (struct gdbarch *gdbarch, CORE_ADDR pc, char *name); -extern int generic_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc); +extern int generic_in_function_epilogue_p (struct gdbarch *gdbarch, + CORE_ADDR pc); /* By default, registers are not convertible. */ extern int generic_convert_register_p (struct gdbarch *gdbarch, int regnum, diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index e85f003..8094710 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -70,7 +70,8 @@ static struct value *const_var_ref (struct symbol *var); static struct value *const_expr (union exp_element **pc); static struct value *maybe_const_expr (union exp_element **pc); -static void gen_traced_pop (struct gdbarch *, struct agent_expr *, struct axs_value *); +static void gen_traced_pop (struct gdbarch *, struct agent_expr *, + struct axs_value *); static void gen_sign_extend (struct agent_expr *, struct type *); static void gen_extend (struct agent_expr *, struct type *); @@ -633,7 +634,8 @@ gen_var_ref (struct gdbarch *gdbarch, struct agent_expr *ax, case LOC_CONST_BYTES: internal_error (__FILE__, __LINE__, - _("gen_var_ref: LOC_CONST_BYTES symbols are not supported")); + _("gen_var_ref: LOC_CONST_BYTES " + "symbols are not supported")); /* Variable at a fixed location in memory. Easy. */ case LOC_STATIC: @@ -1092,9 +1094,8 @@ gen_ptrdiff (struct agent_expr *ax, struct axs_value *value, if (TYPE_LENGTH (TYPE_TARGET_TYPE (value1->type)) != TYPE_LENGTH (TYPE_TARGET_TYPE (value2->type))) - error (_("\ -First argument of `-' is a pointer, but second argument is neither\n\ -an integer nor a pointer of the same type.")); + error (_("First argument of `-' is a pointer, but second argument " + "is neither\nan integer nor a pointer of the same type.")); ax_simple (ax, aop_sub); gen_scale (ax, aop_div_unsigned, value1->type); @@ -1138,8 +1139,9 @@ gen_less (struct agent_expr *ax, struct axs_value *value, operator, used in error messages */ static void gen_binop (struct agent_expr *ax, struct axs_value *value, - struct axs_value *value1, struct axs_value *value2, enum agent_op op, - enum agent_op op_unsigned, int may_carry, char *name) + struct axs_value *value1, struct axs_value *value2, + enum agent_op op, enum agent_op op_unsigned, + int may_carry, char *name) { /* We only handle INT op INT. */ if ((TYPE_CODE (value1->type) != TYPE_CODE_INT) @@ -1447,7 +1449,8 @@ gen_struct_ref_recursive (struct expression *exp, struct agent_expr *ax, { gen_static_field (exp->gdbarch, ax, value, type, i); if (value->optimized_out) - error (_("static field `%s' has been optimized out, cannot use"), + error (_("static field `%s' has been " + "optimized out, cannot use"), field); return 1; } @@ -1469,7 +1472,8 @@ gen_struct_ref_recursive (struct expression *exp, struct agent_expr *ax, struct type *basetype = check_typedef (TYPE_BASECLASS (type, i)); rslt = gen_struct_ref_recursive (exp, ax, value, field, - offset + TYPE_BASECLASS_BITPOS (type, i) / TARGET_CHAR_BIT, + offset + TYPE_BASECLASS_BITPOS (type, i) + / TARGET_CHAR_BIT, basetype); if (rslt) return 1; @@ -1587,7 +1591,8 @@ gen_struct_elt_for_reference (struct expression *exp, { gen_static_field (exp->gdbarch, ax, value, t, i); if (value->optimized_out) - error (_("static field `%s' has been optimized out, cannot use"), + error (_("static field `%s' has been " + "optimized out, cannot use"), fieldname); return 1; } @@ -1706,7 +1711,8 @@ gen_repeat (struct expression *exp, union exp_element **pc, int length; if (!v) - error (_("Right operand of `@' must be a constant, in agent expressions.")); + error (_("Right operand of `@' must be a " + "constant, in agent expressions.")); hooks/post-receive -- Repository for Project Archer.