aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-08-03 * dwarf2-frame.c (dwarf2_frame_cache): Call do_cleanups beforeTom Tromey2-0/+6
return.
2012-08-03 * opncls.c (_bfd_delete_bfd): Now static.Tom Tromey4-5/+7
* libbfd-in.h (_bfd_delete_bfd): Don't declare. * libbfd.h: Rebuild.
2012-08-03 * dlltool.c (scan_obj_file): Close arfile after callingTom Tromey2-1/+8
bfd_openr_next_archived_file.
2012-08-032012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>Edjunior Barbosa Machado2-1/+10
* gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's symbols. Abort if vgdb remote connection is closed.
2012-08-03*** empty log message ***gdbadmin1-1/+1
2012-08-02 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.Doug Evans2-1/+13
2012-08-02 * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): ModifiedSean Keys2-2/+10
conditional statment to allow suppression of mismatched bank warning.
2012-08-022012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>Sergio Durigan Junior2-1/+6
* gdb.base/pc-fp.exp: Adjust testcase to match different outputs from s390x, PowerPC 64 and m68k-linux.
2012-08-02 * config/tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):Sean Keys1-0/+6
New function to parse pseudo ops that are unreleated to existing pseudo ops.
2012-08-02 * tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):Sean Keys1-0/+20
New function to parse pseudo ops that are unreleated to existing pseudo ops.
2012-08-02 * elf/m68hc11.h: #define E_M68HC11_NO_BANK_WARNINGSean Keys1-0/+5
0x000000200
2012-08-02 * m68hc11.h: #define E_M68HC11_NO_BANK_WARNINGSean Keys1-0/+3
0x000000200
2012-08-02 * ld-mips-elf/got-vers-1.rd: Fix a typo.Maciej W. Rozycki2-1/+5
2012-08-02 * gdb.base/annota1.exp: Accept no frames-invalid notificationUlrich Weigand5-3/+22
when starting up the program. * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may show a symbolic value as well. * gdb.server/server-exec-info.exp: Skip test when skipping gdbserver test and/or when skipping shared library tests. * gdb.threads/linux-dp.exp: Unset "seen" when done with it to avoid name conflicts with other tests.
2012-08-02 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.Ulrich Weigand3-10/+19
Fix wrong output on big-endian systems. * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on 4-byte pointer types on 64-bit s390x.
2012-08-02 * gdb.base/watchpoint.c (func2): Initialize local_a. AddUlrich Weigand3-14/+26
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.
2012-08-02ChangeLog:Ulrich Weigand4-12/+44
* 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.
2012-08-02Display null bytes in DWARF debug infoH.J. Lu11-4/+69
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.
2012-08-02gdb/Yao Qi34-174/+255
* 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.
2012-08-02gdb/Yao Qi5-46/+13
* 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.
2012-08-02gdb/testsuite:Yao Qi2-0/+60
* boards/local-remote-host.exp: New.
2012-08-02 * configure.in: Formatting.Jan-Benedict Glaw3-22/+27
* configure: Regenerate.
2012-08-02*** empty log message ***gdbadmin1-1/+1
2012-08-02daily updateAlan Modra1-1/+1
2012-08-012012-08-01 Catherine Moore <clm@codesourcery.com>Sandra Loosemore3-0/+9
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.
2012-08-01 * configure.tgt (m32c-*-*) [gdb_target_obs]: Remove prologue-value.o.Richard Henderson2-2/+7
(mep-*-*) [gdb_target_obs]: Likewise.
2012-08-01Move testsuite entry to testsuite/ChangeLogH.J. Lu2-4/+4
2012-08-01Reformat ChangeLog filesH.J. Lu2-17/+18
2012-08-01 * wrapper.c (libiberty.h): Include.Kevin Buettner2-6/+14
(sim_store_register, sim_fetch_register): On success, return length, instead of -1.
2012-08-01gas/ChangeLog:James Lemke8-15/+46
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.
2012-08-01 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.Ulrich Weigand5-2/+17
* gdb.base/ctxobj.exp: Call gdb_load_shlibs. * gdb.base/print-file-var.exp: Likewise. * gdb.server/solib-list.exp: Skip on remote targets.
2012-08-01gdbserver/ChangeLog:Ulrich Weigand4-15/+58
* 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.
2012-08-01gdb/testsuite/Jan Kratochvil2-1/+6
* gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more valgrind versions.
2012-08-01sim: bfin: set bfrom alias field to correct sizeMike Frysinger2-10/+17
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>
2012-08-01sim: bfin: update return value in bfin_reg_{fetch,store}Mike Frysinger2-4/+10
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>
2012-08-01Correct ChangeLog.Maciej W. Rozycki2-5/+10
2012-08-01 * dwarf2.c (struct dwarf2_debug): Add close_on_cleanup.Alan Modra2-3/+15
(_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.
2012-08-01Properly handle by_noneH.J. Lu2-4/+1
2012-08-01Don't call compare_section in case of by_noneH.J. Lu8-55/+70
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.
2012-08-01 * h8300-dis.c: Fix printf arg warnings.Alan Modra11-446/+461
* 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.
2012-08-01*** empty log message ***gdbadmin1-1/+1
2012-08-01daily updateAlan Modra1-1/+1
2012-07-31 include/opcode/Maciej W. Rozycki15-120/+686
* 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.
2012-07-31Update gas/d30v/bittest.lH.J. Lu2-0/+5
* gas/d30v/bittest.l: Updated.
2012-07-31Append "#pass" to gas/i386/rdseed-intel.dH.J. Lu2-0/+5
* gas/i386/rdseed-intel.d: Append "#pass".
2012-07-31Update PR ld/14156 testsH.J. Lu5-3/+12
* ld-elf/fini0.s: Indent global directive. * ld-elf/foo0.s: Likewise. * ld-elf/init0.s: Likewise. * ld-elf/pr14156c.t: Keep text section.
2012-07-31* ppc-linux-tdep.c (ppc_linux_init_abi): RegisterAndreas Schwab2-37/+44
linux_get_siginfo_type.
2012-07-312012-07-31 Pedro Alves <palves@redhat.com>Pedro Alves2-5/+9
* server.c (process_point_options): Only skip tokens if we find one that is unrecognized. Don't treat 'X' specially while skipping unrecognized tokens.
2012-07-31libiberty/md5: fix strict alias warningsMike Frysinger2-4/+13
Current libiberty md5 code triggers these warnings with gcc-4.7.1 for me: libiberty/md5.c: In function ‘md5_finish_ctx’: 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.
2012-07-31The current error message for bad imm4 operands wasn't really helpful,Jan Beulich2-1/+6
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.