aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-01-06* config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relativePaul Koning5-7/+51
references to absolute addresses.
2011-01-06* gas/pdp11/opcode.d: Fix expected output for sec instruction.Paul Koning2-1/+5
2011-01-06Do not stop on SIGPRIO signals by defaultJoel Brobecker2-0/+8
This signal does not indicate an error condition, so the default behavior when receiving this signal should be to resume execution silently. gdb/ChangeLog: Do not stop on SIGPRIO signals by default * infrun.c (_initialize_infrun): Unset signal_stop and signal_print for TARGET_SIGNAL_PRIO.
2011-01-06fix style violation in ada-tasks.c commentJoel Brobecker2-1/+5
gdb/ChangeLog: * ada-tasks.c: Fix style violation in comment.
2011-01-06 gas/testsuite/Nathan Sidwell5-1/+47
* gas/arm/blx-bad.s: New. * gas/arm/blx-bad.d: New. opcodes/ * arm-dis.c (thumb32_opcodes): BLX must have bit zero clear.
2011-01-06 * bucomm.c (get_file_size): Check for negative sizes and issue aNick Clifton2-1/+9
warning message if encountered.
2011-01-06[testsuite/gdb.ada] simplify some testcases by using clean_restart.Joel Brobecker48-188/+74
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.
2011-01-06Avoid the use of gdb_start_cmd in gdb.ada/*.exp testcases.Joel Brobecker9-27/+38
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.
2011-01-06Remove trailing new-line at end of error stringJoel Brobecker4-6/+13
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.
2011-01-06New script copyright.pyJoel Brobecker3-2/+623
gdb/ChangeLog: * copyright.py: New script. * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc. Launch emacs without exec'ing. Call copyright.py afterwards.
2011-01-06Add copyright header to some Ada files (testsuite)Joel Brobecker5-0/+66
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.
2011-01-062011-01-05 Michael Snyder <msnyder@vmware.com>Michael Snyder46-226/+428
* 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-062011-01-05 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>Michael Snyder18-66/+151
* 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.
2011-01-06*** empty log message ***gdbadmin1-1/+1
2011-01-05 * testutils.inc: Correct comment syntax fallout fromHans-Peter Nilsson5-8/+12
copyright update. * utils-dsp.inc, utils-fpu.inc, utils-mdmx.inc: Ditto.
2011-01-05 * mips32-dsp.s: Update copyright year.Hans-Peter Nilsson2-1/+5
2011-01-05daily updateAlan Modra1-1/+1
2011-01-052011-01-05 Michael Snyder <msnyder@vmware.com>Michael Snyder151-1827/+2981
* 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* reloc.c: Add BFD_RELOC_RX_OP_NEG.DJ Delorie7-0/+35
* 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.
2011-01-05Clarify --n32.H.J. Lu2-4/+8
2011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com> * doc/c-i386.texi: Clarify --n32.
2011-01-05sim: ignore generated hw-config.hMike Frysinger2-0/+5
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-05sim: tweak load buffer type to avoid signed warningsMike Frysinger2-1/+5
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 <vapier@gentoo.org>
2011-01-05Check if a bfd is NULL before accessing its flags field.H.J. Lu2-1/+8
2011-01-05 H.J. Lu <hongjiu.lu@intel.com> PR ld/12364 * plugin.c (get_symbols): Check if owner_sec->owner is NULL before accessing its flags field.
2011-01-05Copyright year update in sim/ppc/psim.texinfoJoel Brobecker2-2/+6
sim/ppc/ChangeLog: * psim.texinfo: Copyright year update.
2011-01-05Update the copyright year for most remaining files in GDBJoel Brobecker30-31/+62
2011-01-05Add missing copyright header for testsuite/gdb.base/langs1.f.Joel Brobecker2-0/+19
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.
2011-01-05Implement BMI instructions.H.J. Lu17-2564/+3371
2011-01-05*** empty log message ***gdbadmin1-1/+1
2011-01-04daily updateAlan Modra1-1/+1
2011-01-04 * script-sections.cc (Sort_output_sections::operator()): Sort TLSCary Coutant2-9/+15
sections before NOBITS sections.
2011-01-04Add VexGdq.H.J. Lu2-2/+13
2011-01-04 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (VexGdq): New. (OP_VEX): Handle dq_mode.
2011-01-04*** empty log message ***gdbadmin1-1/+1
2011-01-03daily updateAlan Modra1-1/+1
2011-01-03merge from gccDJ Delorie16-20/+19
2011-01-03Don't allow mixing x64_32 with x86_64.H.J. Lu16-9/+171
bfd/ 2011-01-03 H.J. Lu <hongjiu.lu@intel.com> * cpu-i386.c (bfd_i386_compatible): New. (bfd_x64_32_arch_intel_syntax): Replace bfd_default_compatible with bfd_i386_compatible. (bfd_x86_64_arch_intel_syntax): Likewise. (bfd_i386_arch_intel_syntax): Likewise. (i8086_arch): Likewise. (bfd_x64_32_arch): Likewise. (bfd_x86_64_arch): Likewise. (bfd_i386_arch): Likewise. ld/testsuite/ 2011-01-03 H.J. Lu <hongjiu.lu@intel.com> * ld-x86-64/dummy.s: New. * ld-x86-64/foo.s: Likewise. * ld-x86-64/ia32-1.d: Likewise. * ld-x86-64/ia32-2.d: Likewise. * ld-x86-64/ia32-3.d: Likewise. * ld-x86-64/ilp32-1.d: Likewise. * ld-x86-64/ilp32-2.d: Likewise. * ld-x86-64/ilp32-3.d: Likewise. * ld-x86-64/lp64-1.d: Likewise. * ld-x86-64/lp64-2.d: Likewise. * ld-x86-64/lp64-3.d: Likewise. * ld-x86-64/start.s: Likewise. * ld-x86-64/x86-64.exp: Run ilp32-1, ilp32-2, ilp32-3, ia32-1, ia32-2, ia32-3, lp64-1, lp64-2 and lp64-3.
2011-01-03 * lib/binutils-common.exp (regexp_diff): Use "==" instead of "eq".Dave Anglin2-2/+6
2011-01-03gdb/Jan Kratochvil5-6/+186
* frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables this_pc_in_block, morestack_msym and morestack_name. Check for "__morestack" minimal symbol there. gdb/testsuite/ * gdb.base/morestack.exp: New file. * gdb.base/morestack.c: New file.
2011-01-03gdb/doc/Jan Kratochvil2-1/+7
* Makefile.in (diststuff): Remove gdb-cfg.texi and GDBvn.texi. (clean): Add GDBvn.texi.
2011-01-03prevent the "load" command from repeatingJoel Brobecker2-0/+6
This makes sure that the `load' command does not repeat when the user presses Return again, as documented in the GDB User's Manual. gdb/ChangeLog: * symfile.c (find_sym_fns): Add call to dont_repeat.
2011-01-03*** empty log message ***gdbadmin1-1/+1
2011-01-02daily updateAlan Modra1-1/+1
2011-01-02Sync toplevel configure from GCC.Ralf Wildenhues3-0/+14
/: Sync from GCC: 2010-12-22 Hariharan Sandanagobalane <hariharan@picochip.com> * configure.ac: (picochip): Disable libiberty. * configure: Regenerate.
2011-01-02Add a testcase for PR ld/12001.H.J. Lu6-0/+72
2011-01-02 H.J. Lu <hongjiu.lu@intel.com> PR ld/12001 * ld-misc/defsym.exp: New. * ld-misc/defsym1.d: Likewise. * ld-misc/dummy.s: Likewise. * ld-misc/foo.s: Likewise. * ld-misc/start.s: Likewise.
2011-01-02gdb/testsuite/Jan Kratochvil2-1/+5
* gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
2011-01-02*** empty log message ***gdbadmin1-1/+1
2011-01-01daily updateAlan Modra1-1/+1
2011-01-01Update copyright in comments to 2011.H.J. Lu5-6/+7
2011-01-01Update copyright to 2011.H.J. Lu10-5/+25
binutils/ 2011-01-01 H.J. Lu <hongjiu.lu@intel.com> * version.c (print_version): Update copyright to 2011. gas/ 2011-01-01 H.J. Lu <hongjiu.lu@intel.com> * gas.c (parse_args): Update copyright to 2011. gold/ 2011-01-01 H.J. Lu <hongjiu.lu@intel.com> * version.cc (print_version): Update copyright to 2011. ld/ 2011-01-01 H.J. Lu <hongjiu.lu@intel.com> * ldver.c (ldversion): Update copyright to 2011. opcodes/ 2011-01-01 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (process_copyright): Update copyright to 2011.
2011-01-01Also expect .zdebug in section name in ILP32 tests.H.J. Lu3-2/+8
2011-01-01 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/ilp32/lns/lns-common-1.d: Also expect .zdebug in section name. * gas/i386/ilp32/lns/lns-duplicate.d: Likewise.
2011-01-01Rotate gas ChangeLogs.H.J. Lu4-4217/+4233