Ulrich Weigand [Thu, 2 Aug 2012 15:55:45 +0000 (15:55 +0000)]
* gdb.base/watchpoint.c (func2): Initialize local_a. Add
marker comment at the beginning (after intialization).
* gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
breakpoint on marker comment instead of function begin.
(test_wide_location_1): Do not expect HW watchpoints on 32-bit
PowerPC.
(test_wide_location_2): Do not expect HW watchpoints on 32-bit
or 64-bit PowerPC.
(do_tests): Consistently set can-use-hw-watchpoints to 0 if
gdb,no_hardware_watchpoints flag is set.
(initialize): Remove now redundant can-use-hw-watchpoints change.
Ulrich Weigand [Thu, 2 Aug 2012 15:52:27 +0000 (15:52 +0000)]
ChangeLog:
* inf-child.c (inf_child_fileio_pwrite): If pwrite fails, fall back
to attempting lseek/write.
(inf_child_fileio_pread): Likewise for pread.
gdbserver/ChangeLog:
* hostio.c (handle_pread): If pread fails, fall back to attempting
lseek/read.
(handle_pwrite): Likewise for pwrite.
H.J. Lu [Thu, 2 Aug 2012 13:42:59 +0000 (13:42 +0000)]
Display null bytes in DWARF debug info
binutils/
PR binutils/14420
* dwarf.c (process_abbrev_section): Add attribute terminator.
Warn missing section terminator.
(get_FORM_name): Special check for 0 value.
(get_AT_name): Likewise.
(process_debug_info): Display zero abbrev number. Check
attribute terminator.
binutils/testsuite/
PR binutils/14420
* binutils-all/i386/compressed-1a.d: Updated.
* binutils-all/objdump.W: Likewise.
* binutils-all/readelf.wa: Likewise.
* binutils-all/x86-64/compressed-1a.d: Likewise.
gas/testsuite/
PR binutils/14420
* gas/elf/dwarf2-1.d: Updated.
* gas/elf/dwarf2-2.d: Likwise.
* gas/i386/dw2-compress-1.d: Likwise.
Yao Qi [Thu, 2 Aug 2012 09:36:40 +0000 (09:36 +0000)]
gdb/
* dwarf2loc.c (entry_values_debug): Add 'unsigned'.
(_initialize_dwarf2loc): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* dwarf2loc.h: Update the declaration of 'entry_values_debug'.
* dwarf2read.c (dwarf2_die_debug): Add 'unsigned'.
(_initialize_dwarf2_read): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* darwin-nat.c (dwarwin_debug_flag): Add 'unsigned'.
(_initialize_darwin_inferior): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* frame.c (frame_debug): Add 'unsigned'.
(_intialize_frame): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* frame.h: Update the declaration of 'frame_debug'.
* gdbtypes.c (overload_debug): Add 'unsigned'.
(_initialize_gdbtypes): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* inferior.h: Update declaration of 'debug_infrun'.
* infrun.c (debug_infrun): Add 'unsigned'.
(_initialize_infrun): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* jit.c (jit_debug): Add 'unsigned'.
(_initialize_jit): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* linux-nat.c (debug_linux_nat): Add 'unsigned'.
(_initialize_linux_nat): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* linux-thread-db.c (libthread_db_debug): Add 'unsigned'.
(_initialize_thread_db): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* machoread.c (mach_o_debug_level): Add 'unsigned'.
(_initialize_machoread): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* mi/mi-cmd-var.c: Update the declaration of 'varobjdebug'.
* microblaze-tdep.c (microblaze_debug_flag): Add 'unsigned'.
(_initialize_microblaze_tdep): Call add_setshow_zuinteger_cmd
intead of add_setshow_zinteger_cmd.
* mips-tdep.c (mips_debug): Add 'unsigned'.
(_initialize_mips_tdep): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* monitor.c (monitor_debug): Add 'unsigned'.
(_initialize_remote_monitors): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* observer.c (observer_debug): Add 'unsigned'.
(_initialize_observer): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* parse.c (expressiondebug): Add 'unsigned'.
(_initialize_parse): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* record.c (record_debug): Add 'unsigned'.
(_initialize_record): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* record.h: Update the declaration of 'record_debug'.
* stap-probe.c (stap_expression_debug): Add 'unsigned'.
(_initialize_stap_probe): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* serial.c (global_serial_debug_p): Add 'unsigned'.
(_initialize_serial): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* solib-dsbt.c (solib_dsbt_debug): Add 'unsigned'.
(_initialize_dsbt_solib): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* solib-frv.c (solib_frv_debug): Add 'unsigned'.
(_initialize_frv_solib): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* target.c (targetdebug): Add 'unsigned'.
(initialize_targets): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* valops.c (overload_debug): Add 'unsigned'.
* varobj.c (varobjdebug): Add 'unsigned'.
(_initialize_varobj): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* xtensa-tdep.c (xtensa_debug_level): Add 'unsigned'.
(_initialize_xtensa_tdep): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* arch-utils.h: Remove the declaration of 'gdbarch_debug'.
* gdbarch.sh (gdbarch_debug): Add 'unsigned'.
(extern void _initialize_gdbarch): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* gdbarch.c, gdbarch.h: Re-generated.
Yao Qi [Thu, 2 Aug 2012 09:27:15 +0000 (09:27 +0000)]
gdb/
* nto-tdep.c: Don't include cli/cli-decode.h and
cli/cli-cmds.h.
(_initialize_nto_tdep): Remove.
* nto-tdep.h (struct nto_target_ops) <internal_debugging>:
Remove field.
Remove macro nto_internal_debugging.
gdb/doc/
* gdb.texinfo (Native): Remove node Neutrino.
Yao Qi [Thu, 2 Aug 2012 08:46:32 +0000 (08:46 +0000)]
gdb/testsuite:
* boards/local-remote-host.exp: New.
Jan-Benedict Glaw [Thu, 2 Aug 2012 08:13:48 +0000 (08:13 +0000)]
* configure.in: Formatting.
* configure: Regenerate.
gdbadmin [Thu, 2 Aug 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 2 Aug 2012 00:00:05 +0000 (00:00 +0000)]
daily update
Sandra Loosemore [Wed, 1 Aug 2012 19:59:43 +0000 (19:59 +0000)]
2012-08-01 Catherine Moore <clm@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com>
gas/
* config/mips/tc-mips.c (mips_cpu_info): Add the 34kn.
* doc/c-mips.texi (MIPS Opts): Document it.
Richard Henderson [Wed, 1 Aug 2012 19:34:29 +0000 (19:34 +0000)]
* configure.tgt (m32c-*-*) [gdb_target_obs]: Remove prologue-value.o.
(mep-*-*) [gdb_target_obs]: Likewise.
H.J. Lu [Wed, 1 Aug 2012 16:01:17 +0000 (16:01 +0000)]
Move testsuite entry to testsuite/ChangeLog
H.J. Lu [Wed, 1 Aug 2012 15:59:55 +0000 (15:59 +0000)]
Reformat ChangeLog files
Kevin Buettner [Wed, 1 Aug 2012 14:38:19 +0000 (14:38 +0000)]
* wrapper.c (libiberty.h): Include.
(sim_store_register, sim_fetch_register): On success, return
length, instead of -1.
James Lemke [Wed, 1 Aug 2012 13:46:59 +0000 (13:46 +0000)]
gas/ChangeLog:
2012-08-01 James Lemke <jwlemke@codesourcery.com>
* gas/dwarf2dbg.c (out_set_addr): Allow for non-constant value of
DWARF2_LINE_MIN_INSN_LENGTH
* gas/config/tc-ppc.c (ppc_dwarf2_line_min_insn_length): Declare
and initialize.
(md_apply_fix): Branch addr can be a multiple of 2 or 4.
* gas/config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Now a
variable reference.
gas/testsuite/ChangeLog:
2012-08-01 James Lemke <jwlemke@codesourcery.com>
* gas/cfi/cfi-ppc-1.d: Allow for code alignment of 2 or 4.
ld/ChangeLog:
2012-08-01 James Lemke <jwlemke@codesourcery.com>
* ld/testsuite/ld-gc/pr13683.d: XFAIL for powerpc*-*-eabivle.
Ulrich Weigand [Wed, 1 Aug 2012 13:07:51 +0000 (13:07 +0000)]
* gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
* gdb.base/ctxobj.exp: Call gdb_load_shlibs.
* gdb.base/print-file-var.exp: Likewise.
* gdb.server/solib-list.exp: Skip on remote targets.
Ulrich Weigand [Wed, 1 Aug 2012 13:02:41 +0000 (13:02 +0000)]
gdbserver/ChangeLog:
* linux-arm-low.c (arm_linux_hw_point_initialize): Distinguish
between unsupported TYPE and unimplementable ADDR/LEN combination.
(arm_insert_point): Act on new return value.
testsuite/ChangeLog:
* gdb.base/watchpoint.exp (test_wide_location_1): Expect software
watchpoints on ARM. When expecting software watchpoints, tolerate
(remote) targets that report unsupported hardware watchpoint only
at continue time.
(test_wide_location_2): Likewise.
Jan Kratochvil [Wed, 1 Aug 2012 09:02:50 +0000 (09:02 +0000)]
gdb/testsuite/
* gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
valgrind versions.
Mike Frysinger [Wed, 1 Aug 2012 03:31:55 +0000 (03:31 +0000)]
sim: bfin: set bfrom alias field to correct size
When the sim is built w/out the bfroms, we end up passing a length of 0 when
mapping the rom region which the core sim code rejects. So add an alias field
equal to the length to avoid that error.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Wed, 1 Aug 2012 03:22:32 +0000 (03:22 +0000)]
sim: bfin: update return value in bfin_reg_{fetch,store}
The latest gdb sim-remote.c really wants a return value from the fetch/store
register functions, so update the Blackfin sim to avoid the warnings/errors.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Maciej W. Rozycki [Wed, 1 Aug 2012 03:05:50 +0000 (03:05 +0000)]
Correct ChangeLog.
Alan Modra [Wed, 1 Aug 2012 01:29:12 +0000 (01:29 +0000)]
* dwarf2.c (struct dwarf2_debug): Add close_on_cleanup.
(_bfd_dwarf2_slurp_debug_info): Set close_on_cleanup if we open
gnu_debuglink bfd.
(_bfd_dwarf2_cleanup_debug_info): Act on close_on_cleanup.
H.J. Lu [Wed, 1 Aug 2012 01:07:38 +0000 (01:07 +0000)]
Properly handle by_none
H.J. Lu [Wed, 1 Aug 2012 01:03:47 +0000 (01:03 +0000)]
Don't call compare_section in case of by_none
PR ld/14156
* ldlang.c (wild_sort): Don't call compare_section in case of
by_none.
* scripttempl/elf.sc: Add SORT_NONE to .init and .fini sections.
* scripttempl/elf32msp430.sc: Likewise.
* scripttempl/elf32msp430_3.sc: Likewise.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
Alan Modra [Wed, 1 Aug 2012 00:41:35 +0000 (00:41 +0000)]
* h8300-dis.c: Fix printf arg warnings.
* i960-dis.c: Likewise.
* mips-dis.c: Likewise.
* pdp11-dis.c: Likewise.
* sh-dis.c: Likewise.
* v850-dis.c: Likewise.
* configure.in: Formatting.
* configure: Regenerate.
* rl78-decode.c: Regenerate.
* po/POTFILES.in: Regenerate.
gdbadmin [Wed, 1 Aug 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 1 Aug 2012 00:00:04 +0000 (00:00 +0000)]
daily update
Maciej W. Rozycki [Tue, 31 Jul 2012 21:38:54 +0000 (21:38 +0000)]
include/opcode/
* mips.h: Document microMIPS DSP ASE usage.
(MICROMIPSOP_MASK_DSPACC, MICROMIPSOP_SH_DSPACC): Update for
microMIPS DSP ASE support.
(MICROMIPSOP_MASK_DSPSFT, MICROMIPSOP_SH_DSPSFT): Likewise.
(MICROMIPSOP_MASK_SA3, MICROMIPSOP_SH_SA3): Likewise.
(MICROMIPSOP_MASK_SA4, MICROMIPSOP_SH_SA4): Likewise.
(MICROMIPSOP_MASK_IMM8, MICROMIPSOP_SH_IMM8): Likewise.
(MICROMIPSOP_MASK_IMM10, MICROMIPSOP_SH_IMM10): Likewise.
(MICROMIPSOP_MASK_WRDSP, MICROMIPSOP_SH_WRDSP): Likewise.
(MICROMIPSOP_MASK_BP, MICROMIPSOP_SH_BP): Likewise.
gas/
* config/tc-mips.c (macro_build) <'2'>: Handle microMIPS.
(macro) <M_BALIGN>: Update error handling.
(validate_micromips_insn) <'2', '3', '4', '5', '6'>: New cases.
<'7', '8', '0', '@', '^'>: Likewise.
(mips_ip) <'2', '3', '4', '5', '6', '7', '8'>: Handle microMIPS.
<'9'>: Fix formatting.
<'0', '@'>: Handle microMIPS.
<'^'>: New case.
gas/testsuite/
* gas/mips/micromips@mips32-dsp.d: New.
* gas/mips/micromips@mips32-dspr2.d: New.
* gas/mips/mips32-dsp.d: Remove -mips32r2.
* gas/mips/mips32-dspr2.d: Likewise.
* gas/mips/mips.exp: (mips_create_arch): Use -mips64r2
for micromips. Use run_dump_test_arches to run dsp tests.
opcodes/
* micromips-opc.c (WR_a, RD_a, MOD_a): New macros.
(DSP_VOLA): Likewise.
(D32, D33): Likewise.
(micromips_opcodes): Add DSP ASE instructions.
* micromips-dis.c (print_insn_micromips) <'2', '3'>: New cases.
<'4', '5', '6', '7', '8', '0', '^', '@'>: Likewise.
H.J. Lu [Tue, 31 Jul 2012 20:46:59 +0000 (20:46 +0000)]
Update gas/d30v/bittest.l
* gas/d30v/bittest.l: Updated.
H.J. Lu [Tue, 31 Jul 2012 20:46:07 +0000 (20:46 +0000)]
Append "#pass" to gas/i386/rdseed-intel.d
* gas/i386/rdseed-intel.d: Append "#pass".
H.J. Lu [Tue, 31 Jul 2012 20:45:01 +0000 (20:45 +0000)]
Update PR ld/14156 tests
* ld-elf/fini0.s: Indent global directive.
* ld-elf/foo0.s: Likewise.
* ld-elf/init0.s: Likewise.
* ld-elf/pr14156c.t: Keep text section.
Andreas Schwab [Tue, 31 Jul 2012 19:46:51 +0000 (19:46 +0000)]
* ppc-linux-tdep.c (ppc_linux_init_abi): Register
linux_get_siginfo_type.
Pedro Alves [Tue, 31 Jul 2012 19:16:46 +0000 (19:16 +0000)]
2012-07-31 Pedro Alves <palves@redhat.com>
* server.c (process_point_options): Only skip tokens if we find
one that is unrecognized. Don't treat 'X' specially while
skipping unrecognized tokens.
Mike Frysinger [Tue, 31 Jul 2012 09:02:35 +0000 (09:02 +0000)]
libiberty/md5: fix strict alias warnings
Current libiberty md5 code triggers these warnings with gcc-4.7.1 for me:
libiberty/md5.c: In function â\80\98md5_finish_ctxâ\80\99:
libiberty/md5.c:117:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
libiberty/md5.c:118:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
The change below fixes things for me. The optimized output (-O2) is the same
before/after my change on x86_64-linux. I imagine it'll be the same for most
targets. It seems simpler than using a union on the md5_ctx buffer since these
are the only two locations in the code where this occurs.
Jan Beulich [Tue, 31 Jul 2012 07:45:48 +0000 (07:45 +0000)]
The current error message for bad imm4 operands wasn't really helpful,
and was pointing at the wrong operand in Intel mode. Since non-constant
operands are being taken care of by other means anyway, adjust it to
simply state that the constant doesn't fit.
2012-07-31 Jan Beulich <jbeulich@suse.com>
* config/tc-i386.c (match_template): Adjust error message
for 'bad_imm4' case.
Jan Beulich [Tue, 31 Jul 2012 07:43:38 +0000 (07:43 +0000)]
Since the word to byte register conversion isn't active for x86-64
anyway, there's also no need to issue a separate, inconsistent
diagnostic in some of the cases - non-matching operands will be
complained about anyway.
2012-07-31 Jan Beulich <jbeulich@suse.com>
* config/tc-i386.c (check_byte_reg): Check for I/O port
register earlier, and just once. Drop diagnostic that got
issued only for some registers.
Jan Beulich [Tue, 31 Jul 2012 07:41:39 +0000 (07:41 +0000)]
At the point where check_VecOperands()/VEX_check_operands() get run,
all other instruction attributes already matched, so any mismatch here
will tell the user more precisely what is wrong than using an eventual
(and very likely to occur) more generic error encountered on a
subsequent iteration through the template matching loop.
2012-07-31 Jan Beulich <jbeulich@suse.com>
* config/tc-i386.c (match_template): New local variable
'specific_error'. Set it from i.error after failed
check_VecOperands or VEX_check_operands. Use it if set in
preference to i.error when actually issuing disagnostic.
Jan Beulich [Tue, 31 Jul 2012 07:38:42 +0000 (07:38 +0000)]
VMOVNTDQA was both misplaced and improperly tagged as being an AVX
instruction (instead of AVX2).
2012-07-31 Jan Beulich <jbeulich@suse.com>
* i386-opc.tbl (vmovntdqa): Move up into 256-bit integer AVX2
instruction group. Mark as requiring AVX2.
* i386-tbl.h: Re-generate.
Jan Kratochvil [Tue, 31 Jul 2012 07:35:18 +0000 (07:35 +0000)]
gdb/testsuite/
* gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
Jan Kratochvil [Tue, 31 Jul 2012 07:33:16 +0000 (07:33 +0000)]
gdb/
* infcall.c (call_function_by_hand): Move BP_ADDR comment to
AT_ENTRY_POINT.
(call_function_by_hand) <ON_STACK>: Call write_memory with
gdbarch_breakpoint_from_pc, if possible.
(call_function_by_hand) <AT_ENTRY_POINT>: The BP_ADDR comment is moved
here.
gdb/testsuite/
* gdb.base/valgrind-infcall.c: New file.
* gdb.base/valgrind-infcall.exp: New file.
Yao Qi [Tue, 31 Jul 2012 07:12:28 +0000 (07:12 +0000)]
gdb/
* tracepoint.c: Add 'static' for some variables.
Yao Qi [Tue, 31 Jul 2012 06:16:09 +0000 (06:16 +0000)]
gdb/
* go32-nat.c: Declare _initialize_go32_nat.
* ser-go32.c: Declare _initialize_ser_dos.
* top.c (do_chdir_cleanup): Add 'static'.
Alan Modra [Tue, 31 Jul 2012 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 31 Jul 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Sean Keys [Mon, 30 Jul 2012 21:49:06 +0000 (21:49 +0000)]
2012-07-05 Sean Keys <skeys@ipdatasys.com>
* xgate-dis.c: Removed an IF statement that will
always be false due to overlapping operand masks.
* xgate-opc.c: Corrected 'com' opcode entry and
fixed spacing.
Sean Keys [Mon, 30 Jul 2012 21:44:51 +0000 (21:44 +0000)]
2012-07-05 Sean Keys <skeys@ipdatasys.com>
* opcode/xgate.h: Changed the format string for mode
XGATE_OP_DYA_MON.
Sean Keys [Mon, 30 Jul 2012 21:39:06 +0000 (21:39 +0000)]
2012-07-27 Sean Keys <skeys@ipdatasys.com>
* gas/xgate/xgate.exp: Added hi/lo test.
* gas/xgate/hilo.d: New test file
* gas/xgate/hilo.s: Net test source file.
Sean Keys [Mon, 30 Jul 2012 21:29:59 +0000 (21:29 +0000)]
Added missing gas/ChangeLog entries for previous XGATE commits.
Keith Seitz [Mon, 30 Jul 2012 17:45:37 +0000 (17:45 +0000)]
* linespec.c (linespec_lex_number): A number followed
by quotes is a valid number, too.
* gdb.linespec/ls-errs.exp: Check some quote-enclosed
linespecs.
Tom Tromey [Mon, 30 Jul 2012 17:16:10 +0000 (17:16 +0000)]
* remote-sim.c (gdb_os_poll_quit): Don't check immediate_quit.
H.J. Lu [Mon, 30 Jul 2012 17:11:39 +0000 (17:11 +0000)]
Update gas/i386/inval-equ-2.l
* gas/i386/inval-equ-2.l: Updated.
Doug Evans [Mon, 30 Jul 2012 16:56:04 +0000 (16:56 +0000)]
* gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
* gdb.dwarf2/pr13961.S: Ditto.
Sean Keys [Mon, 30 Jul 2012 16:49:05 +0000 (16:49 +0000)]
2012-07-27 James Murray <jsm@jsm-net.demon.co.uk>
* config/tc-m68hc11.c: Replace binary with hex for cygwin.
Doug Evans [Mon, 30 Jul 2012 16:33:18 +0000 (16:33 +0000)]
* gdb.dwarf2/dw4-sig-types.exp: Fix typo.
Ulrich Weigand [Mon, 30 Jul 2012 15:05:43 +0000 (15:05 +0000)]
ChangeLog:
* arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Do not
attempt to 4-byte-align HW breakpoint addresses for Thumb.
gdbserver/ChangeLog:
* linux-arm-low.c (arm_linux_hw_point_initialize): Do not attempt
to 4-byte-align HW breakpoint addresses for Thumb.
Andrew Burgess [Mon, 30 Jul 2012 12:10:23 +0000 (12:10 +0000)]
sourceware.org/ml/gdb-patches/2012-07/msg00551.html
Re-evaluate floating variables as part of variable invalidate to remove
references to type structures that might have been freed.
Nick Clifton [Mon, 30 Jul 2012 08:43:46 +0000 (08:43 +0000)]
Updated translations
Alan Modra [Mon, 30 Jul 2012 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 30 Jul 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 29 Jul 2012 04:09:18 +0000 (04:09 +0000)]
* gprof.h: Don't include gconfig.h twice. Undef conflicting
PACKAGE_* defines.
gdbadmin [Sun, 29 Jul 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 29 Jul 2012 00:00:04 +0000 (00:00 +0000)]
daily update
Kai Tietz [Sat, 28 Jul 2012 08:21:48 +0000 (08:21 +0000)]
* rcparse.y (FILEVERSION): Use optcnumexpr instead of cnumexpr.
(PRODUCTVERSION): Likewise.
* binutils-all/windres/version_small.rc: New test.
* binutils-all/windres/version_small.rsd: Likewise.
Alan Modra [Sat, 28 Jul 2012 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 28 Jul 2012 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Sean Keys [Fri, 27 Jul 2012 22:33:22 +0000 (22:33 +0000)]
2012-07-27 Sean Keys <skeys@ipdatasys.com>
gas/config/
* tc-xgate.c: Consolidated inc/dec/hi/low modifieres into
one function.
(xgate_parse_operand): Added %hi and %lo handling.
gas/testsuite/gas/xgate
* xgate.exp: Added hi/lo test.
* hilo.d: New test file
* hilo.s: Net test source file.
Jan Kratochvil [Fri, 27 Jul 2012 21:34:30 +0000 (21:34 +0000)]
gdb/testsuite/
Fix testsuite regression after --use-deprecated-index-sections removal.
* gdb.base/annota1.exp (run until main breakpoint): Update the expect
string.
* gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
Jan Kratochvil [Fri, 27 Jul 2012 20:23:05 +0000 (20:23 +0000)]
gdb/
* copying.awk: Print buffer-read-only and vi ro markers.
* copying.c: Rebuild.
* gdbarch.sh (copyright): Print buffer-read-only and vi ro markers.
* gdbarch.c, gdbarch.h: Rebuild.
* target-descriptions.c (maint_print_c_tdesc_cmd): Print
buffer-read-only and vi ro markers.
* features/arm-with-iwmmxt.c: Rebuild.
* features/arm-with-m-fpa-layout.c: Rebuild.
* features/arm-with-m-vfp-d16.c: Rebuild.
* features/arm-with-m.c: Rebuild.
* features/arm-with-neon.c: Rebuild.
* features/arm-with-vfpv2.c: Rebuild.
* features/arm-with-vfpv3.c: Rebuild.
* features/i386/amd64-avx-linux.c: Rebuild.
* features/i386/amd64-avx.c: Rebuild.
* features/i386/amd64-linux.c: Rebuild.
* features/i386/amd64.c: Rebuild.
* features/i386/i386-avx-linux.c: Rebuild.
* features/i386/i386-avx.c: Rebuild.
* features/i386/i386-linux.c: Rebuild.
* features/i386/i386-mmx-linux.c: Rebuild.
* features/i386/i386-mmx.c: Rebuild.
* features/i386/i386.c: Rebuild.
* features/i386/x32-avx-linux.c: Rebuild.
* features/i386/x32-avx.c: Rebuild.
* features/i386/x32-linux.c: Rebuild.
* features/i386/x32.c: Rebuild.
* features/mips-dsp-linux.c: Rebuild.
* features/mips-linux.c: Rebuild.
* features/mips64-dsp-linux.c: Rebuild.
* features/mips64-linux.c: Rebuild.
* features/rs6000/powerpc-32.c: Rebuild.
* features/rs6000/powerpc-32l.c: Rebuild.
* features/rs6000/powerpc-403.c: Rebuild.
* features/rs6000/powerpc-403gc.c: Rebuild.
* features/rs6000/powerpc-405.c: Rebuild.
* features/rs6000/powerpc-505.c: Rebuild.
* features/rs6000/powerpc-601.c: Rebuild.
* features/rs6000/powerpc-602.c: Rebuild.
* features/rs6000/powerpc-603.c: Rebuild.
* features/rs6000/powerpc-604.c: Rebuild.
* features/rs6000/powerpc-64.c: Rebuild.
* features/rs6000/powerpc-64l.c: Rebuild.
* features/rs6000/powerpc-7400.c: Rebuild.
* features/rs6000/powerpc-750.c: Rebuild.
* features/rs6000/powerpc-860.c: Rebuild.
* features/rs6000/powerpc-altivec32.c: Rebuild.
* features/rs6000/powerpc-altivec32l.c: Rebuild.
* features/rs6000/powerpc-altivec64.c: Rebuild.
* features/rs6000/powerpc-altivec64l.c: Rebuild.
* features/rs6000/powerpc-cell32l.c: Rebuild.
* features/rs6000/powerpc-cell64l.c: Rebuild.
* features/rs6000/powerpc-e500.c: Rebuild.
* features/rs6000/powerpc-e500l.c: Rebuild.
* features/rs6000/powerpc-isa205-32l.c: Rebuild.
* features/rs6000/powerpc-isa205-64l.c: Rebuild.
* features/rs6000/powerpc-isa205-altivec32l.c: Rebuild.
* features/rs6000/powerpc-isa205-altivec64l.c: Rebuild.
* features/rs6000/powerpc-isa205-vsx32l.c: Rebuild.
* features/rs6000/powerpc-isa205-vsx64l.c: Rebuild.
* features/rs6000/powerpc-vsx32.c: Rebuild.
* features/rs6000/powerpc-vsx32l.c: Rebuild.
* features/rs6000/powerpc-vsx64.c: Rebuild.
* features/rs6000/powerpc-vsx64l.c: Rebuild.
* features/rs6000/rs6000.c: Rebuild.
* features/s390-linux32.c: Rebuild.
* features/s390-linux32v1.c: Rebuild.
* features/s390-linux32v2.c: Rebuild.
* features/s390-linux64.c: Rebuild.
* features/s390-linux64v1.c: Rebuild.
* features/s390-linux64v2.c: Rebuild.
* features/s390x-linux64.c: Rebuild.
* features/s390x-linux64v1.c: Rebuild.
* features/s390x-linux64v2.c: Rebuild.
* features/tic6x-c62x-linux.c: Rebuild.
* features/tic6x-c62x.c: Rebuild.
* features/tic6x-c64x-linux.c: Rebuild.
* features/tic6x-c64x.c: Rebuild.
* features/tic6x-c64xp-linux.c: Rebuild.
* features/tic6x-c64xp.c: Rebuild.
Tom Tromey [Fri, 27 Jul 2012 19:22:17 +0000 (19:22 +0000)]
* c-exp.y (classify_name): Avoid assignment in condition.
Pedro Alves [Fri, 27 Jul 2012 17:24:31 +0000 (17:24 +0000)]
2012-07-27 Roland Schwingel <roland.schwingel@onevision.com>
* amd64-windows-tdep.c: Include "frame.h".
(amd64_windows_skip_trampoline_code): New function.
(amd64_windows_init_abi): Add trampoline registration.
Mike Frysinger [Fri, 27 Jul 2012 16:30:57 +0000 (16:30 +0000)]
bfd: update to AC_INIT
Move the package name/version from AM_INIT_AUTOMAKE to AC_INIT per recent
autotools guidelines. We use recent versions of both, so it shouldn't be
a problem.
This sets PACKAGE_xxx variables correctly, and makes the output of:
./configure --version
actually useful:
bfd configure 2.22.52
Changing the other dirs to use AC_INIT would require a bit of m4 trickery
that I don't feel like getting into, and they all use BFD_VERSION anyways,
so there isn't much point.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Yao Qi [Fri, 27 Jul 2012 16:21:44 +0000 (16:21 +0000)]
gdb/
* tracepoint.c (cur_traceframe_number): Remove.
(set_tfile_traceframe): Remove.
(tfile_trace_find, tfile_fetch_registers): Update callers.
(tfile_xfer_partial, tfile_get_trace_state_variable_value): Likewise.
(tfile_open, tfile_trace_find): Likewise.
Andreas Krebbel [Fri, 27 Jul 2012 15:56:43 +0000 (15:56 +0000)]
2012-07-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* cpu-s390.c (bfd_s390_64_arch, bfd_s390_arch): Pick the default
arch depending on the target size.
Sean Keys [Fri, 27 Jul 2012 14:13:23 +0000 (14:13 +0000)]
2012-07-27 James Murray <jsm@jsm-net.demon.co.uk>
* config/tc-m68hc11.c: Replace binary with hex for cygwin.
Tristan Gingold [Fri, 27 Jul 2012 08:24:36 +0000 (08:24 +0000)]
bfd/
2012-07-27 Tristan Gingold <gingold@adacore.com>
* configure.in: Bump version to 2.23.51
* configure: Regenerate.
Tristan Gingold [Fri, 27 Jul 2012 08:13:03 +0000 (08:13 +0000)]
binutils/
2012-07-27 Tristan Gingold <gingold@adacore.com>
* NEWS: Add marker for 2.23.
gas/
2012-07-27 Tristan Gingold <gingold@adacore.com>
* NEWS: Add marker for 2.23.
ld/
2012-07-27 Tristan Gingold <gingold@adacore.com>
* NEWS: Add marker for 2.23.
Yao Qi [Fri, 27 Jul 2012 08:09:14 +0000 (08:09 +0000)]
gdb/gdbserver/
PR remote/14161.
* server.h: Declare gdb_agent_about_to_close.
* target.c (kill_inferior): Include "agent.h".
New. Send command 'kill'.
* target.h (kill_inferior): Removed macro.
* tracepoint.c (gdb_agent_about_to_close): New.
(gdb_agent_helper_thread): Handle command 'close'.
Wait endlessly until the inferior stops.
Install gdb_agent_remove_socket to atexit hook.
(agent_socket_name): New static variable.
(gdb_agent_socket_init): Replace local variable 'name' with
'agent_socket_name'.
(gdb_agent_remove_socket): New.
gdb/doc/
* gdb.texinfo (IPA Protocol Commands): Document new command
'close'.
gdb/testsuite/
KFAIL for PR remote/14161.
* gdb.trace/strace.exp (strace_remove_socket): kfail for native.
Cleanup socket files.
(strace_info_marker): Detach inferior.
Segher Boessenkool [Fri, 27 Jul 2012 03:32:21 +0000 (03:32 +0000)]
2012-07-26 Segher Boessenkool <segher@kernel.crashing.org>
gas/
* listing.c (struct list_message): New.
(struct list_info_struct): Delete "message". Add "messages"
and "last_message".
(listing_message): Adjust.
(listing_newline): Adjust.
(print_lines): Adjust.
Yao Qi [Fri, 27 Jul 2012 00:56:32 +0000 (00:56 +0000)]
gdb/gdbserver/
* server.c (process_point_options): Stop at 'X' when parsing.
Yao Qi [Fri, 27 Jul 2012 00:52:36 +0000 (00:52 +0000)]
gdb/
* thread.c (switch_to_thread): Don't call registers_changed.
DJ Delorie [Fri, 27 Jul 2012 00:02:21 +0000 (00:02 +0000)]
merge from gcc
Alan Modra [Fri, 27 Jul 2012 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 27 Jul 2012 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Tom Tromey [Thu, 26 Jul 2012 20:11:10 +0000 (20:11 +0000)]
* Makefile.in (SFILES): Remove objc-exp.y.
(YYFILES): Remove objc-exp.c.
(YYOBJ): Remove objc-exp.o.
(local-maintainer-clean): Don't mention objc-exp.c.
* c-exp.y: Include objc-lang.h.
(%union) <class>: New field.
(NSSTRING, SELECTOR, CLASSNAME, OBJC_LBRAC): New tokens.
(exp): Clone subscript production for OBJC_LBRAC. Add various
Objective C productions.
(msglist, msgarglist, msgarg): New productions.
(array_mod, func_mod, operator): Clone productions for
OBJC_LBRAC.
(parse_string_or_char): Handle '@' strings.
(lex_one_token): Return OBJC_LBRAC. Recognize @selector.
(classify_name): Check la_name_of_this. Recognize ObjC class
names.
* objc-exp.y: Remove.
* objc-lang.c (objc_language_defn): Use c_parse, c_error.
* objc-lang.h (objc_parse, objc_error): Don't declare.
gdb/testsuite
* gdb.objc/print.exp (test_float_accepted): Remove kfails.
Jan Kratochvil [Thu, 26 Jul 2012 19:09:35 +0000 (19:09 +0000)]
gdb/
* python/py-inferior.c (infpy_threads): Call update_thread_list ().
gdb/testsuite/
* gdb.python/py-inferior.c (thread): New function.
(check_threads): New function.
(test_threads): New function.
* gdb.python/py-inferior.exp: Added test.
Replaced runto with continue to breakpoint.
Tom Tromey [Thu, 26 Jul 2012 18:43:02 +0000 (18:43 +0000)]
* lib/ada.exp (standard_ada_testfile): New proc.
* gdb.ada/aliased_array.exp: Use standard_ada_testfile.
* gdb.ada/array_bounds.exp: Use standard_ada_testfile.
* gdb.ada/array_return.exp: Use standard_ada_testfile.
* gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
* gdb.ada/arrayidx.exp: Use standard_ada_testfile.
* gdb.ada/arrayparam.exp: Use standard_ada_testfile.
* gdb.ada/arrayptr.exp: Use standard_ada_testfile.
* gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
* gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
* gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
* gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
* gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
* gdb.ada/call_pn.exp: Use standard_ada_testfile.
* gdb.ada/catch_ex.exp: Use standard_ada_testfile.
* gdb.ada/char_enum.exp: Use standard_ada_testfile.
* gdb.ada/char_param.exp: Use standard_ada_testfile.
* gdb.ada/complete.exp: Use standard_ada_testfile.
* gdb.ada/cond_lang.exp: Use standard_ada_testfile,
standard_output_file.
* gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
* gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
* gdb.ada/exec_changed.exp: Use standard_ada_testfile,
standard_output_file.
* gdb.ada/exprs.exp: Use standard_ada_testfile.
* gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
* gdb.ada/fixed_points.exp: Use standard_ada_testfile.
* gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
* gdb.ada/frame_args.exp: Use standard_ada_testfile.
* gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
* gdb.ada/fun_addr.exp: Use standard_ada_testfile.
* gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
* gdb.ada/funcall_param.exp: Use standard_ada_testfile.
* gdb.ada/homonym.exp: Use standard_ada_testfile.
* gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
* gdb.ada/int_deref.exp: Use standard_ada_testfile.
* gdb.ada/interface.exp: Use standard_ada_testfile.
* gdb.ada/lang_switch.exp: Use standard_ada_testfile,
standard_output_file
* gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
* gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
* gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
* gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
* gdb.ada/nested.exp: Use standard_ada_testfile.
* gdb.ada/null_array.exp: Use standard_ada_testfile.
* gdb.ada/null_record.exp: Use standard_ada_testfile.
* gdb.ada/operator_bp.exp: Use standard_ada_testfile.
* gdb.ada/packed_array.exp: Use standard_ada_testfile.
* gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
* gdb.ada/print_chars.exp: Use standard_ada_testfile.
* gdb.ada/print_pc.exp: Use standard_ada_testfile.
* gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
* gdb.ada/ptype_field.exp: Use standard_ada_testfile.
* gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
* gdb.ada/rec_return.exp: Use standard_ada_testfile.
* gdb.ada/ref_param.exp: Use standard_ada_testfile.
* gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
* gdb.ada/same_enum.exp: Use standard_ada_testfile.
* gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
* gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
* gdb.ada/start.exp: Use standard_ada_testfile.
* gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
* gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
* gdb.ada/taft_type.exp: Use standard_ada_testfile.
* gdb.ada/tagged.exp: Use standard_ada_testfile.
* gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
* gdb.ada/task_bp.exp: Use standard_ada_testfile.
* gdb.ada/tasks.exp: Use standard_ada_testfile.
* gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
* gdb.ada/type_coercion.exp: Use standard_ada_testfile.
* gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
* gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
* gdb.ada/watch_arg.exp: Use standard_ada_testfile.
* gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
* gdb.ada/widewide.exp: Use standard_ada_testfile.
Jan Kratochvil [Thu, 26 Jul 2012 18:21:50 +0000 (18:21 +0000)]
gdb/
* auto-load.c (auto_load_info_scripts): Remove immediate_quit increment
and decrement.
Cary Coutant [Thu, 26 Jul 2012 18:20:39 +0000 (18:20 +0000)]
2012-07-26 Teresa Johnson <tejohnson@google.com>
* bfd/dwarf2.c (find_line): Initialize discriminator_ptr
if it is non-NULL.
Tom Tromey [Thu, 26 Jul 2012 17:21:06 +0000 (17:21 +0000)]
* copying.c: Rebuild.
* copying.awk: Don't use immediate_quit. Use 'no_set_class', not
'no_class'.
Tom Tromey [Thu, 26 Jul 2012 16:57:22 +0000 (16:57 +0000)]
* symmisc.c (print_symbol_bcache_statistics): Use QUIT, not
immediate_quit.
(print_objfile_statistics): Likewise.
(maintenance_print_symbols): Likewise.
(maintenance_print_msymbols): Likewise.
(maintenance_print_objfiles): Likewise.
* psymtab.c (print_partial_symbols): Call QUIT.
(maintenance_print_psymbols): Likewise. Don't modify
immediate_quit.
* copying.c (show_copying_command): Don't modify immediate_quit.
(show_warranty_command): Likewise.
* cli/cli-cmds.c (show_version): Don't modify immediate_quit.
Keith Seitz [Thu, 26 Jul 2012 16:22:48 +0000 (16:22 +0000)]
* linespec.c (linespec_lexer_lex_number): The input
is also a valid number if the next character is a comma
or colon.
Joel Brobecker [Thu, 26 Jul 2012 15:28:21 +0000 (15:28 +0000)]
[NEWS] Document --enable-libmcheck/--disable-libmcheck
gdb/ChangeLog:
* NEWS: Document new --enable-libmcheck/--disable-libmcheck
configure options.
Nick Clifton [Thu, 26 Jul 2012 14:05:38 +0000 (14:05 +0000)]
Fix attributation of PR 13135 patch.
Nick Clifton [Thu, 26 Jul 2012 13:43:24 +0000 (13:43 +0000)]
PR ld/14397
* elf32-arm.c (elf32_arm_finish_dynamic_sections): Report an error
if a required section is missing from the linker script.
* ld-arm/arm-elf.exp: Add tests of linking without .rel.plt.
* ld-arm/arm-no-rel-plt.out: Linker script without .rel.plt section.
* ld-arm/arm-no-rel-plt.out: Expected output.
Tristan Gingold [Thu, 26 Jul 2012 09:00:42 +0000 (09:00 +0000)]
2012-07-26 Tristan Gingold <gingold@adacore.com>
* machoread.c: Include gdb_bfd.h.
Tristan Gingold [Thu, 26 Jul 2012 08:47:14 +0000 (08:47 +0000)]
2012-07-26 Tristan Gingold <gingold@adacore.com>
* dwarf2loc.c (locexpr_describe_location_piece): Use uint64_t for
offset.
Siddhesh Poyarekar [Thu, 26 Jul 2012 02:03:16 +0000 (02:03 +0000)]
* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Expand parameter
SIZE to size_t.
(dwarf2_evaluate_loc_desc): Likewise.
(dwarf2_loc_desc_needs_frame): Likewise.
(locexpr_describe_location_1): Likewise.
* dwarf2loc.h (struct dwarf2_locexpr_baton): Make SIZE as
size_t.
(struct dwarf2_loclist_baton): Likewise.
* dwarf2read.c (struct dwarf_block): Likewise.
(dump_die_shallow): Use pulongest to print dwarf_block.size.
(decode_locdesc): Expand SIZE and I to size_t.
gdbadmin [Thu, 26 Jul 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 26 Jul 2012 00:00:05 +0000 (00:00 +0000)]
daily update
Jan Kratochvil [Wed, 25 Jul 2012 20:19:56 +0000 (20:19 +0000)]
gdb/testsuite/
Fix testsuite regression after --use-deprecated-index-sections removal.
* lib/mi-support.exp (gdbindex_warning_re): Update the expect string.