The branch, archer-pmuldoon-python-backtrace has been updated via ca2b87876d1a6fe38526f2677f2c20b5e0ccb575 (commit) via 7bb2a23cdb939f32f3827ad7f212a746b927f431 (commit) via 1d50d5c760bb613d52779016c46366365c24326d (commit) via 84720b12c40faf5062a23200fac80397f21a4cee (commit) via 16887f7411021f1587558bff9a26468b7f7b3989 (commit) via 2a8246c278369437bd1e3d6160e407180505be81 (commit) via 812cf361d8c2a75c4b0e658034be30d782000deb (commit) via f7727c5ce8954ce6360c67a63cedd73791354faf (commit) via 4bd063dbb0027a3947f3334e991bb9b64d420a1f (commit) via 3925aaccc7e56c0adad716558e4533f9327a30b5 (commit) via d64fa77815449c3a3f7c3aa2e4dc79a08f4766e2 (commit) via 9abcb183165baeba19ed51808ed95b7e84cb204a (commit) via 7d41a727d8995848107e1fc9d3f85bceae1be100 (commit) via cbc7e84915328f708b23dda87ac3a93f8b4239be (commit) via 8eeb9da6d017761037bf757780ea544dfeabbad8 (commit) via 093945b35e5881edb6060ba59d1ccab417056548 (commit) via 40ed8c1e47871c33ae2b39c789a38ce8db41cf80 (commit) via 46b667e94681e2da4a324c4eba02e43a9e38c8c3 (commit) via 5970db333aef0046575ac88b6c6bc51fe3339f79 (commit) via 86ae88b7f58db8572fbc4d5d4703cd992b9f5fa3 (commit) via f492236a364205958ec9dbe6e52d2bebaedde6df (commit) via 681558c2f8f88e6372478e50cb439918778a9c14 (commit) via dbc4ea2585bdfdcdb337a26b35540291308cb64a (commit) via 94584b989946fa8e2a75666fbdb592ffab7b98e9 (commit) via b06402fcec34d8b9f5504df744e576a1e7091fd4 (commit) via 3df27b4bb831361c36f74f236e661d35bb545029 (commit) via 9a5d19991c6b3a7684891c3be599d764d5b577d3 (commit) via 3071882c0b33567bae96963f7b4d303f0dc05193 (commit) via 63c451d5ea057f23a287c9b1ac846b59a4a9c028 (commit) via c79947181e0021676f840b630ab61051bc8c987b (commit) via 434071609797d516ad7d7f72b28f571cfa1a8496 (commit) via 186303c11ba42008762053ae8bcf2f7ea41aa958 (commit) via 63b129e18357ecbe31b9abcf6d445fd7c071a246 (commit) via 937d19c45ac36b0231ae94d8a0ca36aed59cd7e4 (commit) via edab8d2e9c9eff54c25bd675cade5e6eadba7996 (commit) via e1622b3b1f08c8e911dc28de1eea815411b5a2b3 (commit) via a344311c242cada8014ee6dbfa4eb34c50380146 (commit) via 7454da8cc2027f9d1844cf8846ce069d06f797ff (commit) via 9d53d7bcfc59af667e9351b671c8e59489292fef (commit) via cb56199a112a362ce87773465078e3ea9932e3af (commit) via abf2196f1fcb4096ad9e9d3126569b598382d3e3 (commit) via cb1b797bd918eca0f8b99e31803e44a0629b93fc (commit) via 08d5b36840ec5f4af3e71d35c331f2eda3f94ec8 (commit) via 39adfe0b3e7a47392878e45e375e3890bef5bd13 (commit) via 527a453a267a1b847b2fadf47d8944ad6067a4f8 (commit) via fe4bd33ed1eaf4a6a7f232b2f44211bca83799c9 (commit) via 7280a1a9f0d7c9b909f092ca0319b3e238c8865d (commit) via eadd55a004aa5231728026919f6f604fb5a1bf2f (commit) via c3d883b093b802a6d4f2a44587adc070ecf5cc6e (commit) via dda394604672ed77dab110afc5b3546a61f29588 (commit) via 725cf500148876394b8b191188f75d9b0b19da07 (commit) via c9ead973670e9f822e7093146a6f05d08a5e0a33 (commit) via 1c3134475762978047d32e51f5a8e374b49d930e (commit) via 4493af582fb58919e55906e881a5665c2c8bd849 (commit) via d2e8bd06c9178663525b734f9df7dbdb91456243 (commit) via 0380d1c8df152d6a52ad08595c690cc34cf16b04 (commit) via 2269e5138854fdb16675fafc1538dfed9978665b (commit) via f598e2f93e7b529ffe93d8e5137f40c2884ab796 (commit) via 5134bbd001531c5c6d02573d4d7fb86b17a549ec (commit) via a2261c987b03820c9cedc62320cdcc118e925d90 (commit) via f1648d7708b363f408ed22362bf96ba437fd6627 (commit) via 77428a374f094c405cc23783303400b848ce7d8b (commit) via 67e81f78feea96b65e82c66313a7425a6d16cf25 (commit) via 842a39d9f89037d4a6fd12ff517fbb0260cbf394 (commit) via 9bfccf03741918b09d4d458c8d4f8b1e704f1ffb (commit) via 8b48a82f79b2dc23bd30fcba786a77614f706a21 (commit) via 08dc69c3a167909eb8d7d4226519b912fa0cefe7 (commit) via c31b0069be0205fe39eb738084054c0e9afecfe5 (commit) via 8dd1f9f6c3c4d3f241c56be3b651df90a0826e0b (commit) via 232bffa3ba4859cf41d928a2bdfff804c4157d09 (commit) via 400647678726aad321126ab546d86a860656d198 (commit) via 39481edb8432993d50d5236b67a92bf1068d2197 (commit) via 09a215f4c6aabd8a86402f15e7abd8bc37933993 (commit) via 47bbf2c7f8fb4d2ef8e46ce1ae6f02c15736b1e6 (commit) via 2a540dcefa99913caa81b68b97d9cd75c64b92d7 (commit) via 03319667c1eaf69644b3d14e35c949646bac4eef (commit) via 11abf6cbdf22dbb574bdf8a9f1bcf9081861b479 (commit) via 4643fc6023b9d9aad57359b5624756b880c085d1 (commit) via 03a89df90c480e6510e9d768078f7ed577870c6b (commit) via 7da926c6f52476ef1bbee02286992c340bca66b7 (commit) via 88c5dc228f2c4ee396d84d78ec239c3c96425a12 (commit) via f29e1327d73c2f61b77fd5dd35fb6346ab24e43e (commit) via ec820e32a6abbef5191c2546c7e3b751477f9cbe (commit) via f3b53c8136fe59d69a4199775cf6ab46da97eb24 (commit) via 53329bd672f05e1e4393af47923243522abf166f (commit) via 1561ec7c7116b2e77dfdc79f640e83d268115308 (commit) via 30beff4b4c7350689deac72dc98748cff0b44961 (commit) via a5720b48692cd7a428a9131fb3148da3518d3f0c (commit) via b77f726f6d056b827c408ff5660c296b777ad6b2 (commit) via 23c77880a5ba598190f48054d867575c4d0540e8 (commit) via 9197b01f1552691456de526f12321457de0b79da (commit) via 31c166487ec9e253567fb091b57345396c0e587b (commit) via d49a90564eb51663e1c51184cab5be3336c5cd25 (commit) via 7d564425a2e775ca9c8b5848198a1a046cd7b2cd (commit) from 3655d06a8c222a30b01dcae78315f443f8401da2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit ca2b87876d1a6fe38526f2677f2c20b5e0ccb575 Merge: 3655d06 7bb2a23 Author: Phil Muldoon Date: Wed Aug 1 18:00:21 2012 +0100 Merge remote-tracking branch 'gdb/master' into archer-pmuldoon-python-backtrace commit 7bb2a23cdb939f32f3827ad7f212a746b927f431 Author: Kevin Buettner Date: Wed Aug 1 14:38:18 2012 +0000 * wrapper.c (libiberty.h): Include. (sim_store_register, sim_fetch_register): On success, return length, instead of -1. commit 1d50d5c760bb613d52779016c46366365c24326d Author: Ulrich Weigand Date: Wed Aug 1 13:07:49 2012 +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. commit 84720b12c40faf5062a23200fac80397f21a4cee Author: Ulrich Weigand Date: Wed Aug 1 13:02:40 2012 +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. commit 16887f7411021f1587558bff9a26468b7f7b3989 Author: Jan Kratochvil Date: Wed Aug 1 09:02:50 2012 +0000 gdb/testsuite/ * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more valgrind versions. commit 2a8246c278369437bd1e3d6160e407180505be81 Author: Mike Frysinger Date: Wed Aug 1 03:31:55 2012 +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 commit 812cf361d8c2a75c4b0e658034be30d782000deb Author: Mike Frysinger Date: Wed Aug 1 03:22:32 2012 +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 commit f7727c5ce8954ce6360c67a63cedd73791354faf Author: Alan Modra Date: Wed Aug 1 01:29:12 2012 +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. commit 4bd063dbb0027a3947f3334e991bb9b64d420a1f Author: Alan Modra Date: Wed Aug 1 00:41:34 2012 +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. commit 3925aaccc7e56c0adad716558e4533f9327a30b5 Author: gdbadmin Date: Wed Aug 1 00:00:32 2012 +0000 *** empty log message *** commit d64fa77815449c3a3f7c3aa2e4dc79a08f4766e2 Author: Alan Modra Date: Wed Aug 1 00:00:04 2012 +0000 daily update commit 9abcb183165baeba19ed51808ed95b7e84cb204a Author: Maciej W. Rozycki Date: Tue Jul 31 21:38:53 2012 +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) : 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. commit 7d41a727d8995848107e1fc9d3f85bceae1be100 Author: Andreas Schwab Date: Tue Jul 31 19:46:50 2012 +0000 * ppc-linux-tdep.c (ppc_linux_init_abi): Register linux_get_siginfo_type. commit cbc7e84915328f708b23dda87ac3a93f8b4239be Author: Pedro Alves Date: Tue Jul 31 19:16:46 2012 +0000 2012-07-31 Pedro Alves * server.c (process_point_options): Only skip tokens if we find one that is unrecognized. Don't treat 'X' specially while skipping unrecognized tokens. commit 8eeb9da6d017761037bf757780ea544dfeabbad8 Author: Mike Frysinger Date: Tue Jul 31 09:02:35 2012 +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 ‘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. commit 093945b35e5881edb6060ba59d1ccab417056548 Author: Jan Beulich Date: Tue Jul 31 07:38:41 2012 +0000 VMOVNTDQA was both misplaced and improperly tagged as being an AVX instruction (instead of AVX2). 2012-07-31 Jan Beulich * i386-opc.tbl (vmovntdqa): Move up into 256-bit integer AVX2 instruction group. Mark as requiring AVX2. * i386-tbl.h: Re-generate. commit 40ed8c1e47871c33ae2b39c789a38ce8db41cf80 Author: Jan Kratochvil Date: Tue Jul 31 07:35:17 2012 +0000 gdb/testsuite/ * gdb.base/valgrind-db-attach.exp: Do not run in remote mode. commit 46b667e94681e2da4a324c4eba02e43a9e38c8c3 Author: Jan Kratochvil Date: Tue Jul 31 07:33:10 2012 +0000 gdb/ * infcall.c (call_function_by_hand): Move BP_ADDR comment to AT_ENTRY_POINT. (call_function_by_hand) : Call write_memory with gdbarch_breakpoint_from_pc, if possible. (call_function_by_hand) : The BP_ADDR comment is moved here. gdb/testsuite/ * gdb.base/valgrind-infcall.c: New file. * gdb.base/valgrind-infcall.exp: New file. commit 5970db333aef0046575ac88b6c6bc51fe3339f79 Author: qiyao Date: Tue Jul 31 07:12:25 2012 +0000 gdb/ * tracepoint.c: Add 'static' for some variables. commit 86ae88b7f58db8572fbc4d5d4703cd992b9f5fa3 Author: qiyao Date: Tue Jul 31 06:16:07 2012 +0000 gdb/ * go32-nat.c: Declare _initialize_go32_nat. * ser-go32.c: Declare _initialize_ser_dos. * top.c (do_chdir_cleanup): Add 'static'. commit f492236a364205958ec9dbe6e52d2bebaedde6df Author: Alan Modra Date: Tue Jul 31 00:00:05 2012 +0000 daily update commit 681558c2f8f88e6372478e50cb439918778a9c14 Author: gdbadmin Date: Tue Jul 31 00:00:03 2012 +0000 *** empty log message *** commit dbc4ea2585bdfdcdb337a26b35540291308cb64a Author: seank Date: Mon Jul 30 21:49:06 2012 +0000 2012-07-05 Sean Keys * 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. commit 94584b989946fa8e2a75666fbdb592ffab7b98e9 Author: seank Date: Mon Jul 30 21:44:51 2012 +0000 2012-07-05 Sean Keys * opcode/xgate.h: Changed the format string for mode XGATE_OP_DYA_MON. commit b06402fcec34d8b9f5504df744e576a1e7091fd4 Author: Keith Seitz Date: Mon Jul 30 17:45:33 2012 +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. commit 3df27b4bb831361c36f74f236e661d35bb545029 Author: Tom Tromey Date: Mon Jul 30 17:16:06 2012 +0000 * remote-sim.c (gdb_os_poll_quit): Don't check immediate_quit. commit 9a5d19991c6b3a7684891c3be599d764d5b577d3 Author: Doug Evans Date: Mon Jul 30 16:56:03 2012 +0000 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss. * gdb.dwarf2/pr13961.S: Ditto. commit 3071882c0b33567bae96963f7b4d303f0dc05193 Author: Doug Evans Date: Mon Jul 30 16:33:17 2012 +0000 * gdb.dwarf2/dw4-sig-types.exp: Fix typo. commit 63c451d5ea057f23a287c9b1ac846b59a4a9c028 Author: Ulrich Weigand Date: Mon Jul 30 15:05:40 2012 +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. commit c79947181e0021676f840b630ab61051bc8c987b Author: aburgess Date: Mon Jul 30 12:10:17 2012 +0000 http://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. commit 434071609797d516ad7d7f72b28f571cfa1a8496 Author: Nick Clifton Date: Mon Jul 30 08:43:43 2012 +0000 Updated translations commit 186303c11ba42008762053ae8bcf2f7ea41aa958 Author: Alan Modra Date: Mon Jul 30 00:00:04 2012 +0000 daily update commit 63b129e18357ecbe31b9abcf6d445fd7c071a246 Author: gdbadmin Date: Mon Jul 30 00:00:03 2012 +0000 *** empty log message *** commit 937d19c45ac36b0231ae94d8a0ca36aed59cd7e4 Author: gdbadmin Date: Sun Jul 29 00:00:32 2012 +0000 *** empty log message *** commit edab8d2e9c9eff54c25bd675cade5e6eadba7996 Author: Alan Modra Date: Sun Jul 29 00:00:04 2012 +0000 daily update commit e1622b3b1f08c8e911dc28de1eea815411b5a2b3 Author: Alan Modra Date: Sat Jul 28 00:00:04 2012 +0000 daily update commit a344311c242cada8014ee6dbfa4eb34c50380146 Author: gdbadmin Date: Sat Jul 28 00:00:02 2012 +0000 *** empty log message *** commit 7454da8cc2027f9d1844cf8846ce069d06f797ff Author: Jan Kratochvil Date: Fri Jul 27 21:34:29 2012 +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. commit 9d53d7bcfc59af667e9351b671c8e59489292fef Author: Jan Kratochvil Date: Fri Jul 27 20:22:52 2012 +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. commit cb56199a112a362ce87773465078e3ea9932e3af Author: Tom Tromey Date: Fri Jul 27 19:22:16 2012 +0000 * c-exp.y (classify_name): Avoid assignment in condition. commit abf2196f1fcb4096ad9e9d3126569b598382d3e3 Author: Pedro Alves Date: Fri Jul 27 17:24:25 2012 +0000 2012-07-27 Roland Schwingel * amd64-windows-tdep.c: Include "frame.h". (amd64_windows_skip_trampoline_code): New function. (amd64_windows_init_abi): Add trampoline registration. commit cb1b797bd918eca0f8b99e31803e44a0629b93fc Author: Mike Frysinger Date: Fri Jul 27 16:30:46 2012 +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 commit 08d5b36840ec5f4af3e71d35c331f2eda3f94ec8 Author: qiyao Date: Fri Jul 27 16:21:44 2012 +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. commit 39adfe0b3e7a47392878e45e375e3890bef5bd13 Author: Andreas Krebbel Date: Fri Jul 27 15:56:42 2012 +0000 2012-07-27 Andreas Krebbel * cpu-s390.c (bfd_s390_64_arch, bfd_s390_arch): Pick the default arch depending on the target size. commit 527a453a267a1b847b2fadf47d8944ad6067a4f8 Author: Tristan Gingold Date: Fri Jul 27 08:24:35 2012 +0000 bfd/ 2012-07-27 Tristan Gingold * configure.in: Bump version to 2.23.51 * configure: Regenerate. commit fe4bd33ed1eaf4a6a7f232b2f44211bca83799c9 Author: qiyao Date: Fri Jul 27 08:09:11 2012 +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. commit 7280a1a9f0d7c9b909f092ca0319b3e238c8865d Author: qiyao Date: Fri Jul 27 00:56:32 2012 +0000 gdb/gdbserver/ * server.c (process_point_options): Stop at 'X' when parsing. commit eadd55a004aa5231728026919f6f604fb5a1bf2f Author: qiyao Date: Fri Jul 27 00:52:33 2012 +0000 gdb/ * thread.c (switch_to_thread): Don't call registers_changed. commit c3d883b093b802a6d4f2a44587adc070ecf5cc6e Author: DJ Delorie Date: Fri Jul 27 00:02:21 2012 +0000 merge from gcc commit dda394604672ed77dab110afc5b3546a61f29588 Author: Alan Modra Date: Fri Jul 27 00:00:04 2012 +0000 daily update commit 725cf500148876394b8b191188f75d9b0b19da07 Author: gdbadmin Date: Fri Jul 27 00:00:02 2012 +0000 *** empty log message *** commit c9ead973670e9f822e7093146a6f05d08a5e0a33 Author: Tom Tromey Date: Thu Jul 26 20:11:08 2012 +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) : 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. commit 1c3134475762978047d32e51f5a8e374b49d930e Author: Jan Kratochvil Date: Thu Jul 26 19:09:34 2012 +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. commit 4493af582fb58919e55906e881a5665c2c8bd849 Author: Tom Tromey Date: Thu Jul 26 18:43:00 2012 +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. commit d2e8bd06c9178663525b734f9df7dbdb91456243 Author: Jan Kratochvil Date: Thu Jul 26 18:21:49 2012 +0000 gdb/ * auto-load.c (auto_load_info_scripts): Remove immediate_quit increment and decrement. commit 0380d1c8df152d6a52ad08595c690cc34cf16b04 Author: Cary Coutant Date: Thu Jul 26 18:20:38 2012 +0000 2012-07-26 Teresa Johnson * bfd/dwarf2.c (find_line): Initialize discriminator_ptr if it is non-NULL. commit 2269e5138854fdb16675fafc1538dfed9978665b Author: Tom Tromey Date: Thu Jul 26 17:21:02 2012 +0000 * copying.c: Rebuild. * copying.awk: Don't use immediate_quit. Use 'no_set_class', not 'no_class'. commit f598e2f93e7b529ffe93d8e5137f40c2884ab796 Author: Tom Tromey Date: Thu Jul 26 16:57:16 2012 +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. commit 5134bbd001531c5c6d02573d4d7fb86b17a549ec Author: Keith Seitz Date: Thu Jul 26 16:22:44 2012 +0000 * linespec.c (linespec_lexer_lex_number): The input is also a valid number if the next character is a comma or colon. commit a2261c987b03820c9cedc62320cdcc118e925d90 Author: Joel Brobecker Date: Thu Jul 26 15:28:18 2012 +0000 [NEWS] Document --enable-libmcheck/--disable-libmcheck gdb/ChangeLog: * NEWS: Document new --enable-libmcheck/--disable-libmcheck configure options. commit f1648d7708b363f408ed22362bf96ba437fd6627 Author: Nick Clifton Date: Thu Jul 26 14:05:37 2012 +0000 Fix attributation of PR 13135 patch. commit 77428a374f094c405cc23783303400b848ce7d8b Author: Nick Clifton Date: Thu Jul 26 13:43:21 2012 +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. commit 67e81f78feea96b65e82c66313a7425a6d16cf25 Author: Tristan Gingold Date: Thu Jul 26 09:00:41 2012 +0000 2012-07-26 Tristan Gingold * machoread.c: Include gdb_bfd.h. commit 842a39d9f89037d4a6fd12ff517fbb0260cbf394 Author: Tristan Gingold Date: Thu Jul 26 08:47:08 2012 +0000 2012-07-26 Tristan Gingold * dwarf2loc.c (locexpr_describe_location_piece): Use uint64_t for offset. commit 9bfccf03741918b09d4d458c8d4f8b1e704f1ffb Author: siddhesh Date: Thu Jul 26 02:03:14 2012 +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. commit 8b48a82f79b2dc23bd30fcba786a77614f706a21 Author: gdbadmin Date: Thu Jul 26 00:00:33 2012 +0000 *** empty log message *** commit 08dc69c3a167909eb8d7d4226519b912fa0cefe7 Author: Alan Modra Date: Thu Jul 26 00:00:05 2012 +0000 daily update commit c31b0069be0205fe39eb738084054c0e9afecfe5 Author: Jan Kratochvil Date: Wed Jul 25 20:19:56 2012 +0000 gdb/testsuite/ Fix testsuite regression after --use-deprecated-index-sections removal. * lib/mi-support.exp (gdbindex_warning_re): Update the expect string. commit 8dd1f9f6c3c4d3f241c56be3b651df90a0826e0b Author: Jan Kratochvil Date: Wed Jul 25 20:17:58 2012 +0000 gdb/testsuite/ Fix compatibility with Tcl before 7.5. * lib/future.exp (lreverse): New function if it does not exist. commit 232bffa3ba4859cf41d928a2bdfff804c4157d09 Author: Jan Kratochvil Date: Wed Jul 25 20:14:17 2012 +0000 gdb/ * contrib/cc-with-tweaks.sh: Put into comment path gdb/contrib/. commit 400647678726aad321126ab546d86a860656d198 Author: Marc Khouzam Date: Wed Jul 25 18:34:17 2012 +0000 2012-07-25 Marc Khouzam * gdb.mi/mi-pending.c: New method to set a second pending breakpoint. * gdb.mi/mi-pending.exp: Set a pending breakpoint with a condition. commit 39481edb8432993d50d5236b67a92bf1068d2197 Author: Joel Brobecker Date: Wed Jul 25 18:27:21 2012 +0000 convert_doublest_to_floatformat: handle off-range values. On x86_64-linux targetting AVR, we see the following issues: (gdb) print 1.6e+308 $1 = 0.89002949 (gdb) print 1.6e-308 $3 = 2.87630892 What happens is that GDB is trying to convert the value it read (as a host "long double") into a target "double" value. The routine performing the conversion does not realize that 1.6e+308 is just too large to fit in a double. Similarly, it does not notice that 1.6e-308 is too small to be represented. This patch enhances convert_doublest_to_floatformat to both handle floats that are too small and too large. gdb/ChangeLog: * doublest.c (convert_doublest_to_floatformat): If the exponent is too small, treat the value as zero. If the exponent is too large, treat the value as infinity. commit 09a215f4c6aabd8a86402f15e7abd8bc37933993 Author: Joel Brobecker Date: Wed Jul 25 18:27:03 2012 +0000 Add support for --enable-lmcheck configure option. This allows the user to enable this option at configure time if building a release, or to disable it if building a snapshot. gdb/ChangeLog: * configure.ac: Add --enable-lmcheck configure option. * configure: Regenerate. commit 47bbf2c7f8fb4d2ef8e46ce1ae6f02c15736b1e6 Author: Tom Tromey Date: Wed Jul 25 15:47:08 2012 +0000 * NEWS: Mention maint info bfds. * gdb_bfd.c (all_bfds): New global. (gdb_bfd_ref, gdb_bfd_unref): Update all_bfds. (print_one_bfd, maintenance_info_bfds, _initialize_gdb_bfd): New functions. gdb/doc * gdb.texinfo (Maintenance Commands): Document maint info bfds. commit 2a540dcefa99913caa81b68b97d9cd75c64b92d7 Author: corsepiu Date: Wed Jul 25 15:34:07 2012 +0000 2012-07-25 Ralf Corsépius * configure.tgt: Add v850*-*-rtems*. commit 03319667c1eaf69644b3d14e35c949646bac4eef Author: Tom Tromey Date: Wed Jul 25 15:32:04 2012 +0000 * macrotab.c (macro_bcache_str): Remove cast. commit 11abf6cbdf22dbb574bdf8a9f1bcf9081861b479 Author: jwlemke Date: Wed Jul 25 13:08:54 2012 +0000 2012-07-25 James Lemke * ppc-opc.c (powerpc_opcodes): Add/remove PPCVLE for some 32-bit insns. commit 4643fc6023b9d9aad57359b5624756b880c085d1 Author: Hui Zhu Date: Wed Jul 25 12:26:23 2012 +0000 2012-07-25 Hui Zhu * linespec.c (linespec_lexer_lex_number): Update comments, change the return and add check to make sure the input is the decimal numbers. (linespec_lexer_lex_one): If linespec_lexer_lex_number return false, call linespec_lexer_lex_string. commit 03a89df90c480e6510e9d768078f7ed577870c6b Author: Alan Modra Date: Wed Jul 25 00:00:05 2012 +0000 daily update commit 7da926c6f52476ef1bbee02286992c340bca66b7 Author: gdbadmin Date: Wed Jul 25 00:00:03 2012 +0000 *** empty log message *** commit 88c5dc228f2c4ee396d84d78ec239c3c96425a12 Author: Eric B. Weddington Date: Tue Jul 24 21:44:44 2012 +0000 2012-07-24 Jan Waclawek PR 13899 * elf32-avr.c (elf32_avr_relax_delete_bytes): Call _bfd_elf_link_read_relocs with keep_memory as TRUE. commit f29e1327d73c2f61b77fd5dd35fb6346ab24e43e Author: Cary Coutant Date: Tue Jul 24 21:06:56 2012 +0000 2012-07-24 Teresa Johnson bfd/ * bfd.c (bfd_find_nearest_line_discriminator): New macro. * coff-rs6000.c: Init _bfd_find_nearest_line_discriminator. * coff64-rs6000.c: Likewise. * dwarf2.c (struct line_info): Add discriminator field. (add_line_info): Fill in new discriminator field. (decode_line_info): Record discriminator information instead of ignoring it. (lookup_address_in_line_info_table): Return discriminator field if requested. (comp_unit_find_nearest_line): Add discriminator argument. (find_line): Likewise. (_bfd_dwarf2_find_nearest_line): Likewise. (_bfd_dwarf2_find_line): Likewise. * elf-bfd.h (_bfd_elf_find_nearest_line_discriminator): New. (_bfd_elf_find_line_discriminator): Likewise. (_bfd_generic_find_nearest_line_discriminator): Likewise. Defined. * elf.c (_bfd_elf_find_nearest_line): Change to a wrapper that invokes _bfd_elf_find_nearest_line_discriminator with correct arguments. (_bfd_elf_find_nearest_line_discriminator): New. (_bfd_elf_find_line): Change to a wrapper that invokes _bfd_elf_find_line_discriminator with correct arguments. (_bfd_elf_find_line_discriminator): New. * coffgen.c (coff_find_nearest_line_with_names): Handle new discriminator argument. * elf32-arm.c (elf32_arm_find_nearest_line): Likewise. * elf64-alpha.c (elf64_alpha_find_nearest_line): Likewise. * elfxx-mips.c (_bfd_mips_elf_find_nearest_line): Likewise. * mach-o.c (bfd_mach_o_find_nearest_line): Likewise. * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Add discriminator argument. (_bfd_dwarf2_find_line): Likewise. (_bfd_generic_find_nearest_line_discriminator): New. * libbfd.c (_bfd_generic_find_nearest_line_discriminator): New. * bfd-in2.h: Regenerated. * libbfd.h: Likewise. * targets.c (BFD_JUMP_TABLE_SYMBOLS): Initialize _bfd_find_nearest_line_discriminator with _bfd_generic_find_nearest_line_discriminator. (bfd_target): Add _bfd_find_nearest_line_discriminator. binutils/ * addr2line.c (find_address_in_section): Invoke bfd_find_nearest_line_discriminator to get the discriminator. (find_offset_in_section): Likewise. (translate_addresses): Print discriminator if it is non-zero. * objdump.c (show_line): Invoke bfd_find_nearest_line_discriminator to get the discriminator, and keep track of prev_discriminator. Print discriminator if it is non-zero. (disassemble_data): Initialize prev_discriminator. (dump_reloc_set): Invoke bfd_find_nearest_line_discriminator to get the discriminator, and keep track of last_discriminator. Print discriminator if it is non-zero. commit ec820e32a6abbef5191c2546c7e3b751477f9cbe Author: Tom Tromey Date: Tue Jul 24 20:15:47 2012 +0000 * symfile.c (symbol_file_add): Don't open BFD twice. commit f3b53c8136fe59d69a4199775cf6ab46da97eb24 Author: Marc Khouzam Date: Tue Jul 24 17:39:18 2012 +0000 Updated last commit's date. commit 53329bd672f05e1e4393af47923243522abf166f Author: Marc Khouzam Date: Tue Jul 24 17:37:56 2012 +0000 2012-07-20 Marc Khouzam * breakpoint.c (create_breakpoint): Store condition for pending breakpoints. commit 1561ec7c7116b2e77dfdc79f640e83d268115308 Author: Andreas Schwab Date: Tue Jul 24 16:37:14 2012 +0000 * m68k-tdep.c (m68k_reg_struct_return_p): Accept complex types. (m68k_return_value): Handle complex types like structures. (m68k_svr4_return_value): Likewise. commit 30beff4b4c7350689deac72dc98748cff0b44961 Author: Nick Clifton Date: Tue Jul 24 13:23:40 2012 +0000 * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Added code that enables the linker to offset addresses, when linking against symbols from the XGATE processor and vice versa. commit a5720b48692cd7a428a9131fb3148da3518d3f0c Author: Jan Kratochvil Date: Tue Jul 24 13:14:36 2012 +0000 gdb/ * gdb_bfd.c (zlib_decompress_section) : Adjust parameters to bfd_get_section_name. commit b77f726f6d056b827c408ff5660c296b777ad6b2 Author: Nick Clifton Date: Tue Jul 24 12:56:47 2012 +0000 PR binutils/13135 * arm-dis.c: Add necessary casts for printing integer values. Use %s when printing string values. * hppa-dis.c: Likewise. * m68k-dis.c: Likewise. * microblaze-dis.c: Likewise. * mips-dis.c: Likewise. * ppc-dis.c: Likewise. * sparc-dis.c: Likewise. * dis-asm.h (fprintf_ftype): Add ATTRIBUTE_FPTR_PRINTF_2. commit 23c77880a5ba598190f48054d867575c4d0540e8 Author: qiyao Date: Tue Jul 24 12:49:18 2012 +0000 gdb/ * cli/cli-setshow.c (do_setshow_command): Handle case 'var_uinteger' and 'var_zuninteger' together. Handle case 'var_integer' and 'var_zinteger' together. commit 9197b01f1552691456de526f12321457de0b79da Author: Alan Modra Date: Tue Jul 24 00:00:05 2012 +0000 daily update commit 31c166487ec9e253567fb091b57345396c0e587b Author: gdbadmin Date: Tue Jul 24 00:00:03 2012 +0000 *** empty log message *** commit d49a90564eb51663e1c51184cab5be3336c5cd25 Author: Keith Seitz Date: Mon Jul 23 20:40:06 2012 +0000 * linespec.c (convert_linespec_to_sal): Don't add any symbols to the result vector if symbol_to_sal returns zero. commit 7d564425a2e775ca9c8b5848198a1a046cd7b2cd Author: Keith Seitz Date: Mon Jul 23 20:31:32 2012 +0000 * linespec.c (decode_objc): Record the function name in the linespec. ----------------------------------------------------------------------- Summary of changes: bfd/ChangeLog | 99 + bfd/bfd-in2.h | 9 + bfd/bfd.c | 5 + bfd/coff-rs6000.c | 2 + bfd/coff64-rs6000.c | 2 + bfd/coffgen.c | 2 +- bfd/configure | 40 +- bfd/configure.in | 4 +- bfd/cpu-s390.c | 8 + bfd/dwarf2.c | 52 +- bfd/elf-bfd.h | 7 + bfd/elf.c | 32 +- bfd/elf32-arm.c | 11 +- bfd/elf32-avr.c | 5 +- bfd/elf32-m68hc1x.c | 88 +- bfd/elf64-alpha.c | 2 +- bfd/elfxx-mips.c | 2 +- bfd/libbfd-in.h | 9 +- bfd/libbfd.c | 13 + bfd/libbfd.h | 9 +- bfd/mach-o.c | 2 +- bfd/po/es.po | 2248 ++++++++-------- bfd/po/fi.po | 2242 ++++++++-------- bfd/po/fr.po | 2250 +++++++++-------- bfd/po/ru.po | 2244 +++++++++-------- bfd/po/uk.po | 2761 ++++++++++---------- bfd/targets.c | 4 + bfd/version.h | 2 +- gdb/ChangeLog | 338 +++- gdb/Makefile.in | 5 +- gdb/NEWS | 14 + gdb/amd64-windows-tdep.c | 37 + gdb/arm-linux-nat.c | 12 +- gdb/auto-load.c | 2 - gdb/breakpoint.c | 13 +- gdb/c-exp.y | 154 ++- gdb/cli/cli-cmds.c | 2 - gdb/cli/cli-setshow.c | 16 +- gdb/configure | 23 +- gdb/configure.ac | 21 +- gdb/configure.tgt | 2 +- gdb/contrib/cc-with-tweaks.sh | 4 +- gdb/copying.awk | 16 +- gdb/copying.c | 10 +- gdb/doc/ChangeLog | 9 + gdb/doc/gdb.texinfo | 9 + gdb/doublest.c | 22 + gdb/dwarf2loc.c | 14 +- gdb/dwarf2loc.h | 6 +- gdb/dwarf2read.c | 14 +- gdb/features/arm-with-iwmmxt.c | 5 +- gdb/features/arm-with-m-fpa-layout.c | 3 +- gdb/features/arm-with-m-vfp-d16.c | 3 +- gdb/features/arm-with-m.c | 3 +- gdb/features/arm-with-neon.c | 3 +- gdb/features/arm-with-vfpv2.c | 3 +- gdb/features/arm-with-vfpv3.c | 3 +- gdb/features/i386/amd64-avx-linux.c | 6 +- gdb/features/i386/amd64-avx.c | 6 +- gdb/features/i386/amd64-linux.c | 6 +- gdb/features/i386/amd64.c | 6 +- gdb/features/i386/i386-avx-linux.c | 6 +- gdb/features/i386/i386-avx.c | 6 +- gdb/features/i386/i386-linux.c | 6 +- gdb/features/i386/i386-mmx-linux.c | 3 +- gdb/features/i386/i386-mmx.c | 3 +- gdb/features/i386/i386.c | 6 +- gdb/features/i386/x32-avx-linux.c | 6 +- gdb/features/i386/x32-avx.c | 6 +- gdb/features/i386/x32-linux.c | 6 +- gdb/features/i386/x32.c | 6 +- gdb/features/mips-dsp-linux.c | 3 +- gdb/features/mips-linux.c | 6 +- gdb/features/mips64-dsp-linux.c | 3 +- gdb/features/mips64-linux.c | 4 +- gdb/features/rs6000/powerpc-32.c | 4 +- gdb/features/rs6000/powerpc-32l.c | 4 +- gdb/features/rs6000/powerpc-403.c | 4 +- gdb/features/rs6000/powerpc-403gc.c | 4 +- gdb/features/rs6000/powerpc-405.c | 5 +- gdb/features/rs6000/powerpc-505.c | 4 +- gdb/features/rs6000/powerpc-601.c | 4 +- gdb/features/rs6000/powerpc-602.c | 4 +- gdb/features/rs6000/powerpc-603.c | 4 +- gdb/features/rs6000/powerpc-604.c | 4 +- gdb/features/rs6000/powerpc-64.c | 4 +- gdb/features/rs6000/powerpc-64l.c | 4 +- gdb/features/rs6000/powerpc-7400.c | 7 +- gdb/features/rs6000/powerpc-750.c | 4 +- gdb/features/rs6000/powerpc-860.c | 4 +- gdb/features/rs6000/powerpc-altivec32.c | 7 +- gdb/features/rs6000/powerpc-altivec32l.c | 7 +- gdb/features/rs6000/powerpc-altivec64.c | 7 +- gdb/features/rs6000/powerpc-altivec64l.c | 7 +- gdb/features/rs6000/powerpc-cell32l.c | 7 +- gdb/features/rs6000/powerpc-cell64l.c | 7 +- gdb/features/rs6000/powerpc-e500.c | 4 +- gdb/features/rs6000/powerpc-e500l.c | 4 +- gdb/features/rs6000/powerpc-isa205-32l.c | 4 +- gdb/features/rs6000/powerpc-isa205-64l.c | 4 +- gdb/features/rs6000/powerpc-isa205-altivec32l.c | 7 +- gdb/features/rs6000/powerpc-isa205-altivec64l.c | 7 +- gdb/features/rs6000/powerpc-isa205-vsx32l.c | 7 +- gdb/features/rs6000/powerpc-isa205-vsx64l.c | 7 +- gdb/features/rs6000/powerpc-vsx32.c | 7 +- gdb/features/rs6000/powerpc-vsx32l.c | 7 +- gdb/features/rs6000/powerpc-vsx64.c | 7 +- gdb/features/rs6000/powerpc-vsx64l.c | 7 +- gdb/features/rs6000/rs6000.c | 4 +- gdb/features/s390-linux32.c | 3 +- gdb/features/s390-linux32v1.c | 3 +- gdb/features/s390-linux32v2.c | 3 +- gdb/features/s390-linux64.c | 3 +- gdb/features/s390-linux64v1.c | 3 +- gdb/features/s390-linux64v2.c | 3 +- gdb/features/s390x-linux64.c | 3 +- gdb/features/s390x-linux64v1.c | 3 +- gdb/features/s390x-linux64v2.c | 3 +- gdb/features/tic6x-c62x-linux.c | 3 +- gdb/features/tic6x-c62x.c | 3 +- gdb/features/tic6x-c64x-linux.c | 3 +- gdb/features/tic6x-c64x.c | 3 +- gdb/features/tic6x-c64xp-linux.c | 3 +- gdb/features/tic6x-c64xp.c | 3 +- gdb/gdb_bfd.c | 75 +- gdb/gdbarch.c | 3 +- gdb/gdbarch.h | 3 +- gdb/gdbarch.sh | 3 +- gdb/gdbserver/ChangeLog | 38 + gdb/gdbserver/linux-arm-low.c | 21 +- gdb/gdbserver/server.c | 8 +- gdb/gdbserver/server.h | 1 + gdb/gdbserver/target.c | 8 + gdb/gdbserver/target.h | 3 +- gdb/gdbserver/tracepoint.c | 71 +- gdb/go32-nat.c | 3 + gdb/infcall.c | 41 +- gdb/linespec.c | 47 +- gdb/m68k-tdep.c | 13 +- gdb/machoread.c | 1 + gdb/macrotab.c | 2 +- gdb/objc-exp.y | 1792 ------------- gdb/objc-lang.c | 4 +- gdb/objc-lang.h | 4 - gdb/ppc-linux-tdep.c | 2 + gdb/psymtab.c | 10 +- gdb/python/py-inferior.c | 5 + gdb/remote-sim.c | 4 - gdb/ser-go32.c | 2 + gdb/symfile.c | 3 +- gdb/symmisc.c | 33 +- gdb/target-descriptions.c | 6 +- gdb/testsuite/ChangeLog | 160 ++ gdb/testsuite/gdb.ada/aliased_array.exp | 6 +- gdb/testsuite/gdb.ada/array_bounds.exp | 6 +- gdb/testsuite/gdb.ada/array_return.exp | 6 +- gdb/testsuite/gdb.ada/array_subscript_addr.exp | 6 +- gdb/testsuite/gdb.ada/arrayidx.exp | 6 +- gdb/testsuite/gdb.ada/arrayparam.exp | 6 +- gdb/testsuite/gdb.ada/arrayptr.exp | 6 +- gdb/testsuite/gdb.ada/atomic_enum.exp | 6 +- gdb/testsuite/gdb.ada/bad-task-bp-keyword.exp | 6 +- gdb/testsuite/gdb.ada/bp_enum_homonym.exp | 6 +- gdb/testsuite/gdb.ada/bp_on_var.exp | 6 +- gdb/testsuite/gdb.ada/bp_range_type.exp | 6 +- gdb/testsuite/gdb.ada/call_pn.exp | 6 +- gdb/testsuite/gdb.ada/catch_ex.exp | 6 +- gdb/testsuite/gdb.ada/char_enum.exp | 6 +- gdb/testsuite/gdb.ada/char_param.exp | 6 +- gdb/testsuite/gdb.ada/complete.exp | 6 +- gdb/testsuite/gdb.ada/cond_lang.exp | 11 +- gdb/testsuite/gdb.ada/dyn_loc.exp | 6 +- gdb/testsuite/gdb.ada/enum_idx_packed.exp | 6 +- gdb/testsuite/gdb.ada/exec_changed.exp | 24 +- gdb/testsuite/gdb.ada/exprs.exp | 6 +- gdb/testsuite/gdb.ada/fixed_cmp.exp | 6 +- gdb/testsuite/gdb.ada/fixed_points.exp | 6 +- gdb/testsuite/gdb.ada/formatted_ref.exp | 7 +- gdb/testsuite/gdb.ada/frame_args.exp | 6 +- gdb/testsuite/gdb.ada/fullname_bp.exp | 6 +- gdb/testsuite/gdb.ada/fun_addr.exp | 6 +- gdb/testsuite/gdb.ada/fun_in_declare.exp | 6 +- gdb/testsuite/gdb.ada/funcall_param.exp | 6 +- gdb/testsuite/gdb.ada/homonym.exp | 6 +- gdb/testsuite/gdb.ada/info_locals_renaming.exp | 6 +- gdb/testsuite/gdb.ada/int_deref.exp | 6 +- gdb/testsuite/gdb.ada/interface.exp | 6 +- gdb/testsuite/gdb.ada/lang_switch.exp | 10 +- gdb/testsuite/gdb.ada/mi_catch_ex.exp | 6 +- gdb/testsuite/gdb.ada/mi_task_arg.exp | 6 +- gdb/testsuite/gdb.ada/mi_task_info.exp | 6 +- gdb/testsuite/gdb.ada/mod_from_name.exp | 6 +- gdb/testsuite/gdb.ada/nested.exp | 6 +- gdb/testsuite/gdb.ada/null_array.exp | 6 +- gdb/testsuite/gdb.ada/null_record.exp | 6 +- gdb/testsuite/gdb.ada/operator_bp.exp | 6 +- gdb/testsuite/gdb.ada/packed_array.exp | 6 +- gdb/testsuite/gdb.ada/packed_tagged.exp | 6 +- gdb/testsuite/gdb.ada/print_chars.exp | 6 +- gdb/testsuite/gdb.ada/print_pc.exp | 6 +- gdb/testsuite/gdb.ada/ptr_typedef.exp | 6 +- gdb/testsuite/gdb.ada/ptype_field.exp | 6 +- gdb/testsuite/gdb.ada/ptype_tagged_param.exp | 6 +- gdb/testsuite/gdb.ada/rec_return.exp | 6 +- gdb/testsuite/gdb.ada/ref_param.exp | 6 +- gdb/testsuite/gdb.ada/ref_tick_size.exp | 6 +- gdb/testsuite/gdb.ada/same_enum.exp | 6 +- gdb/testsuite/gdb.ada/set_pckd_arr_elt.exp | 6 +- gdb/testsuite/gdb.ada/small_reg_param.exp | 6 +- gdb/testsuite/gdb.ada/start.exp | 6 +- gdb/testsuite/gdb.ada/str_ref_cmp.exp | 6 +- gdb/testsuite/gdb.ada/sym_print_name.exp | 6 +- gdb/testsuite/gdb.ada/taft_type.exp | 6 +- gdb/testsuite/gdb.ada/tagged.exp | 6 +- gdb/testsuite/gdb.ada/tagged_not_init.exp | 6 +- gdb/testsuite/gdb.ada/task_bp.exp | 6 +- gdb/testsuite/gdb.ada/tasks.exp | 6 +- gdb/testsuite/gdb.ada/tick_last_segv.exp | 6 +- gdb/testsuite/gdb.ada/type_coercion.exp | 6 +- gdb/testsuite/gdb.ada/uninitialized_vars.exp | 6 +- .../gdb.ada/variant_record_packed_array.exp | 6 +- gdb/testsuite/gdb.ada/watch_arg.exp | 6 +- gdb/testsuite/gdb.ada/whatis_array_val.exp | 6 +- gdb/testsuite/gdb.ada/widewide.exp | 6 +- gdb/testsuite/gdb.base/annota1.exp | 2 +- gdb/testsuite/gdb.base/async-shell.exp | 2 +- gdb/testsuite/gdb.base/catch-load.exp | 4 +- gdb/testsuite/gdb.base/ctxobj.exp | 1 + gdb/testsuite/gdb.base/print-file-var.exp | 1 + gdb/testsuite/gdb.base/valgrind-db-attach.exp | 5 + .../mi-pendshr.c => gdb.base/valgrind-infcall.c} | 25 +- ...valgrind-db-attach.exp => valgrind-infcall.exp} | 82 +- gdb/testsuite/gdb.base/watchpoint.exp | 44 +- gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp | 2 +- gdb/testsuite/gdb.dwarf2/fission-reread.S | 2 +- gdb/testsuite/gdb.dwarf2/pr13961.S | 2 +- gdb/testsuite/gdb.linespec/ls-errs.exp | 2 + gdb/testsuite/gdb.mi/mi-pending.exp | 19 +- gdb/testsuite/gdb.mi/mi-pendshr.c | 6 + gdb/testsuite/gdb.mi/mi-var-invalidate.exp | 9 + gdb/testsuite/gdb.objc/print.exp | 4 - gdb/testsuite/gdb.python/py-inferior.c | 41 + gdb/testsuite/gdb.python/py-inferior.exp | 15 +- gdb/testsuite/gdb.server/solib-list.exp | 6 + gdb/testsuite/gdb.trace/strace.exp | 130 +- gdb/testsuite/lib/ada.exp | 22 + gdb/testsuite/lib/future.exp | 13 + gdb/testsuite/lib/mi-support.exp | 2 +- gdb/thread.c | 1 - gdb/top.c | 2 +- gdb/tracepoint.c | 52 +- gdb/varobj.c | 15 +- gdb/version.in | 2 +- include/ChangeLog | 11 + include/dis-asm.h | 2 +- include/opcode/ChangeLog | 15 + include/opcode/mips.h | 50 +- libiberty/ChangeLog | 11 + libiberty/md5.c | 12 +- libiberty/pex-win32.c | 25 +- opcodes/ChangeLog | 65 + opcodes/arm-dis.c | 57 +- opcodes/configure | 6 +- opcodes/configure.in | 6 +- opcodes/h8300-dis.c | 2 +- opcodes/hppa-dis.c | 8 +- opcodes/i386-opc.tbl | 2 +- opcodes/i386-tbl.h | 2 +- opcodes/i960-dis.c | 12 +- opcodes/m68k-dis.c | 8 +- opcodes/microblaze-dis.c | 6 +- opcodes/micromips-opc.c | 172 ++ opcodes/mips-dis.c | 74 +- opcodes/pdp11-dis.c | 32 +- opcodes/po/POTFILES.in | 2 + opcodes/po/es.po | 359 ++- opcodes/po/fi.po | 357 ++- opcodes/ppc-dis.c | 2 +- opcodes/ppc-opc.c | 112 +- opcodes/rl78-decode.c | 814 +++--- opcodes/sh-dis.c | 4 +- opcodes/sparc-dis.c | 4 +- opcodes/v850-dis.c | 2 +- sim/arm/ChangeLog | 6 + sim/arm/wrapper.c | 14 +- sim/bfin/ChangeLog | 13 + sim/bfin/machs.c | 28 +- 287 files changed, 9682 insertions(+), 9187 deletions(-) delete mode 100644 gdb/objc-exp.y copy gdb/testsuite/{gdb.mi/mi-pendshr.c => gdb.base/valgrind-infcall.c} (69%) copy gdb/testsuite/gdb.base/{valgrind-db-attach.exp => valgrind-infcall.exp} (54%) First 500 lines of diff: diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 98dde86..73f9eff 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,102 @@ +2012-08-01 Alan Modra + + * 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. + +2012-07-30 Nick Clifton + + * po/bfd.pot: Updated template. + * po/es.po: Updated Spanish translation. + * po/fi.po: Updated Finnish translation. + * po/fr.po: Updated French translation. + * po/ru.po: Updated Russian translation. + * po/uk.po: Updated Ukranian translation. + +2012-07-27 Mike Frysinger + + * configure.in (AC_INIT): Call with the args bfd and 2.22.52. + (AM_INIT_AUTOMAKE): Remove args. + * configure: Regenerate. + +2012-07-27 Andreas Krebbel + + * cpu-s390.c (bfd_s390_64_arch, bfd_s390_arch): Pick the default + arch depending on the target size. + +2012-07-27 Tristan Gingold + + * configure.in: Bump version to 2.23.51 + * configure: Regenerate. + +2012-07-26 Teresa Johnson + + * bfd/dwarf2.c (find_line): Initialize discriminator_ptr + if it is non-NULL. + +2012-07-26 Meador Inge + Nick Clifton + + PR ld/14397 + * elf32-arm.c (elf32_arm_finish_dynamic_sections): Report an error + if a required section is missing from the linker script. + +2012-07-24 Jan Waclawek + PR 13899 + * elf32-avr.c (elf32_avr_relax_delete_bytes): Call + _bfd_elf_link_read_relocs with keep_memory as TRUE. + +2012-07-24 Teresa Johnson + + * bfd.c (bfd_find_nearest_line_discriminator): New macro. + * coff-rs6000.c: Init _bfd_find_nearest_line_discriminator. + * coff64-rs6000.c: Likewise. + * dwarf2.c (struct line_info): Add discriminator field. + (add_line_info): Fill in new discriminator field. + (decode_line_info): Record discriminator information instead + of ignoring it. + (lookup_address_in_line_info_table): Return discriminator field if + requested. + (comp_unit_find_nearest_line): Add discriminator argument. + (find_line): Likewise. + (_bfd_dwarf2_find_nearest_line): Likewise. + (_bfd_dwarf2_find_line): Likewise. + * elf-bfd.h (_bfd_elf_find_nearest_line_discriminator): New. + (_bfd_elf_find_line_discriminator): Likewise. + (_bfd_generic_find_nearest_line_discriminator): Likewise. Defined. + * elf.c (_bfd_elf_find_nearest_line): Change to a wrapper + that invokes _bfd_elf_find_nearest_line_discriminator with correct + arguments. + (_bfd_elf_find_nearest_line_discriminator): New. + (_bfd_elf_find_line): Change to a wrapper + that invokes _bfd_elf_find_line_discriminator with correct + arguments. + (_bfd_elf_find_line_discriminator): New. + * coffgen.c (coff_find_nearest_line_with_names): Handle + new discriminator argument. + * elf32-arm.c (elf32_arm_find_nearest_line): Likewise. + * elf64-alpha.c (elf64_alpha_find_nearest_line): Likewise. + * elfxx-mips.c (_bfd_mips_elf_find_nearest_line): Likewise. + * mach-o.c (bfd_mach_o_find_nearest_line): Likewise. + * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Add discriminator + argument. + (_bfd_dwarf2_find_line): Likewise. + (_bfd_generic_find_nearest_line_discriminator): New. + * libbfd.c (_bfd_generic_find_nearest_line_discriminator): New. + * bfd-in2.h: Regenerated. + * libbfd.h: Likewise. + * targets.c (BFD_JUMP_TABLE_SYMBOLS): Initialize + _bfd_find_nearest_line_discriminator with + _bfd_generic_find_nearest_line_discriminator. + (bfd_target): Add _bfd_find_nearest_line_discriminator. + +2012-07-24 Sean Keys + + * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Added code + that enables the linker to offset addresses, when linking against + symbols from the XGATE processor and vice versa. + 2012-07-23 Nick Clifton * cisco-core.c (cisco_core_file_failing_command): Make static. diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 7a90a44..c7ce4cc 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -5810,6 +5810,11 @@ bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags); BFD_SEND (abfd, _bfd_find_nearest_line, \ (abfd, sec, syms, off, file, func, line)) +#define bfd_find_nearest_line_discriminator(abfd, sec, syms, off, file, func, \ + line, disc) \ + BFD_SEND (abfd, _bfd_find_nearest_line_discriminator, \ + (abfd, sec, syms, off, file, func, line, disc)) + #define bfd_find_line(abfd, syms, sym, file, line) \ BFD_SEND (abfd, _bfd_find_line, \ (abfd, syms, sym, file, line)) @@ -6191,6 +6196,7 @@ typedef struct bfd_target NAME##_bfd_is_target_special_symbol, \ NAME##_get_lineno, \ NAME##_find_nearest_line, \ + _bfd_generic_find_nearest_line_discriminator, \ _bfd_generic_find_line, \ NAME##_find_inliner_info, \ NAME##_bfd_make_debug_symbol, \ @@ -6214,6 +6220,9 @@ typedef struct bfd_target bfd_boolean (*_bfd_find_nearest_line) (bfd *, struct bfd_section *, struct bfd_symbol **, bfd_vma, const char **, const char **, unsigned int *); + bfd_boolean (*_bfd_find_nearest_line_discriminator) + (bfd *, struct bfd_section *, struct bfd_symbol **, bfd_vma, + const char **, const char **, unsigned int *, unsigned int *); bfd_boolean (*_bfd_find_line) (bfd *, struct bfd_symbol **, struct bfd_symbol *, const char **, unsigned int *); diff --git a/bfd/bfd.c b/bfd/bfd.c index 640b420..eed1896 100644 --- a/bfd/bfd.c +++ b/bfd/bfd.c @@ -1424,6 +1424,11 @@ DESCRIPTION . BFD_SEND (abfd, _bfd_find_nearest_line, \ . (abfd, sec, syms, off, file, func, line)) . +.#define bfd_find_nearest_line_discriminator(abfd, sec, syms, off, file, func, \ +. line, disc) \ +. BFD_SEND (abfd, _bfd_find_nearest_line_discriminator, \ +. (abfd, sec, syms, off, file, func, line, disc)) +. .#define bfd_find_line(abfd, syms, sym, file, line) \ . BFD_SEND (abfd, _bfd_find_line, \ . (abfd, syms, sym, file, line)) diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index 2a968bf..9326b32 100644 --- a/bfd/coff-rs6000.c +++ b/bfd/coff-rs6000.c @@ -4118,6 +4118,7 @@ const bfd_target rs6000coff_vec = coff_bfd_is_target_special_symbol, coff_get_lineno, xcoff_find_nearest_line, + _bfd_generic_find_nearest_line_discriminator, _bfd_generic_find_line, coff_find_inliner_info, coff_bfd_make_debug_symbol, @@ -4373,6 +4374,7 @@ const bfd_target pmac_xcoff_vec = coff_bfd_is_target_special_symbol, coff_get_lineno, xcoff_find_nearest_line, + _bfd_generic_find_nearest_line_discriminator, _bfd_generic_find_line, coff_find_inliner_info, coff_bfd_make_debug_symbol, diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c index 031385d..0821b6f 100644 --- a/bfd/coff64-rs6000.c +++ b/bfd/coff64-rs6000.c @@ -2710,6 +2710,7 @@ const bfd_target rs6000coff64_vec = coff_bfd_is_target_special_symbol, coff_get_lineno, coff_find_nearest_line, + _bfd_generic_find_nearest_line_discriminator, _bfd_generic_find_line, coff_find_inliner_info, coff_bfd_make_debug_symbol, @@ -2967,6 +2968,7 @@ const bfd_target aix5coff64_vec = coff_bfd_is_target_special_symbol, coff_get_lineno, coff_find_nearest_line, + _bfd_generic_find_nearest_line_discriminator, _bfd_generic_find_line, coff_find_inliner_info, coff_bfd_make_debug_symbol, diff --git a/bfd/coffgen.c b/bfd/coffgen.c index c0505c6..509119b 100644 --- a/bfd/coffgen.c +++ b/bfd/coffgen.c @@ -2153,7 +2153,7 @@ coff_find_nearest_line_with_names (bfd *abfd, if (_bfd_dwarf2_find_nearest_line (abfd, debug_sections, section, symbols, offset, filename_ptr, functionname_ptr, - line_ptr, 0, + line_ptr, NULL, 0, &coff_data(abfd)->dwarf2_find_line_info)) return TRUE; diff --git a/bfd/configure b/bfd/configure index 75e580d..63f34ab 100755 --- a/bfd/configure +++ b/bfd/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.64. +# Generated by GNU Autoconf 2.64 for bfd 2.23.51. # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software @@ -554,12 +554,12 @@ MFLAGS= MAKEFLAGS= # Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= -PACKAGE_URL= +PACKAGE_NAME='bfd' +PACKAGE_TARNAME='bfd' +PACKAGE_VERSION='2.23.51' +PACKAGE_STRING='bfd 2.23.51' +PACKAGE_BUGREPORT='' +PACKAGE_URL='' ac_unique_file="libbfd.c" # Factoring default headers for most tests. @@ -847,7 +847,7 @@ sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE}' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' @@ -1348,7 +1348,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. +\`configure' configures bfd 2.23.51 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1396,7 +1396,7 @@ Fine tuning of the installation directories: --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] + --docdir=DIR documentation root [DATAROOTDIR/doc/bfd] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] @@ -1418,7 +1418,9 @@ _ACEOF fi if test -n "$ac_init_help"; then - + case $ac_init_help in + short | recursive ) echo "Configuration of bfd 2.23.51:";; + esac cat <<\_ACEOF Optional Features: @@ -1538,7 +1540,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -configure +bfd configure 2.23.51 generated by GNU Autoconf 2.64 Copyright (C) 2009 Free Software Foundation, Inc. @@ -2180,7 +2182,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by $as_me, which was +It was created by bfd $as_me 2.23.51, which was generated by GNU Autoconf 2.64. Invocation command line was $ $0 $@ @@ -3987,8 +3989,8 @@ fi # Define the identity of the package. - PACKAGE=bfd - VERSION=2.22.52 + PACKAGE='bfd' + VERSION='2.23.51' cat >>confdefs.h <<_ACEOF @@ -11404,7 +11406,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11407 "configure" +#line 11409 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11510,7 +11512,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11513 "configure" +#line 11515 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -16446,7 +16448,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by $as_me, which was +This file was extended by bfd $as_me 2.23.51, which was generated by GNU Autoconf 2.64. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -16510,7 +16512,7 @@ Report bugs to the package provider." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -config.status +bfd config.status 2.23.51 configured by $0, generated by GNU Autoconf 2.64, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff --git a/bfd/configure.in b/bfd/configure.in index 5922961..97fff61 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -2,13 +2,13 @@ dnl Process this file with autoconf to produce a configure script. dnl AC_PREREQ(2.59) -AC_INIT +AC_INIT([bfd], [2.23.51]) AC_CONFIG_SRCDIR([libbfd.c]) AC_CANONICAL_TARGET AC_ISC_POSIX -AM_INIT_AUTOMAKE(bfd, 2.22.52) +AM_INIT_AUTOMAKE dnl These must be called before LT_INIT, because it may want dnl to call AC_CHECK_PROG. diff --git a/bfd/cpu-s390.c b/bfd/cpu-s390.c index 1a581e4..1cd3af1 100644 --- a/bfd/cpu-s390.c +++ b/bfd/cpu-s390.c @@ -33,7 +33,11 @@ const bfd_arch_info_type bfd_s390_64_arch = "s390", "s390:64-bit", 3, /* section alignment power */ +#if BFD_DEFAULT_TARGET_SIZE == 64 TRUE, /* the default */ +#else + FALSE, /* the default */ +#endif bfd_default_compatible, bfd_default_scan, bfd_arch_default_fill, @@ -50,7 +54,11 @@ const bfd_arch_info_type bfd_s390_arch = "s390", "s390:31-bit", 3, /* section alignment power */ +#if BFD_DEFAULT_TARGET_SIZE == 64 + FALSE, /* the default */ +#else TRUE, /* the default */ +#endif bfd_default_compatible, bfd_default_scan, bfd_arch_default_fill, diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index d31b849..b96b6ab 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -173,6 +173,9 @@ struct dwarf2_debug #define STASH_INFO_HASH_OFF 0 #define STASH_INFO_HASH_ON 1 #define STASH_INFO_HASH_DISABLED 2 + + /* True if we opened bfd_ptr. */ + bfd_boolean close_on_cleanup; }; struct arange @@ -980,6 +983,7 @@ struct line_info char *filename; unsigned int line; unsigned int column; + unsigned int discriminator; unsigned char op_index; unsigned char end_sequence; /* End of (sequential) code sequence. */ }; @@ -1080,6 +1084,7 @@ add_line_info (struct line_info_table *table, char *filename, unsigned int line, unsigned int column, + unsigned int discriminator, int end_sequence) { bfd_size_type amt = sizeof (struct line_info); @@ -1095,6 +1100,7 @@ add_line_info (struct line_info_table *table, info->op_index = op_index; info->line = line; info->column = column; + info->discriminator = discriminator; info->end_sequence = end_sequence; if (filename && filename[0]) @@ -1573,6 +1579,7 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash) char * filename = table->num_files ? concat_filename (table, 1) : NULL; unsigned int line = 1; unsigned int column = 0; + unsigned int discriminator = 0; int is_stmt = lh.default_is_stmt; int end_sequence = 0; /* eraxxon@alumni.rice.edu: Against the DWARF2 specs, some @@ -1607,8 +1614,9 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash) line += lh.line_base + (adj_opcode % lh.line_range); /* Append row to matrix using current values. */ if (!add_line_info (table, address, op_index, filename, - line, column, 0)) + line, column, discriminator, 0)) goto line_fail; + discriminator = 0; if (address < low_pc) low_pc = address; if (address > high_pc) @@ -1626,9 +1634,10 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash) { case DW_LNE_end_sequence: end_sequence = 1; - if (!add_line_info (table, address, op_index, filename, - line, column, end_sequence)) + if (!add_line_info (table, address, op_index, filename, line, + column, discriminator, end_sequence)) goto line_fail; + discriminator = 0; if (address < low_pc) low_pc = address; if (address > high_pc) @@ -1668,7 +1677,8 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash) table->num_files++; break; case DW_LNE_set_discriminator: - (void) read_unsigned_leb128 (abfd, line_ptr, &bytes_read); + discriminator = + read_unsigned_leb128 (abfd, line_ptr, &bytes_read); line_ptr += bytes_read; break; case DW_LNE_HP_source_file_correlation: @@ -1686,8 +1696,9 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash) break; case DW_LNS_copy: if (!add_line_info (table, address, op_index, - filename, line, column, 0)) + filename, line, column, discriminator, 0)) goto line_fail; + discriminator = 0; if (address < low_pc) low_pc = address; if (address > high_pc) @@ -1788,7 +1799,8 @@ static bfd_boolean lookup_address_in_line_info_table (struct line_info_table *table, bfd_vma addr, const char **filename_ptr, - unsigned int *linenumber_ptr) + unsigned int *linenumber_ptr, + unsigned int *discriminator_ptr) { struct line_sequence *seq = NULL; struct line_info *each_line; @@ -1823,6 +1835,8 @@ lookup_address_in_line_info_table (struct line_info_table *table, { *filename_ptr = each_line->filename; *linenumber_ptr = each_line->line; + if (discriminator_ptr) + *discriminator_ptr = each_line->discriminator; return TRUE; hooks/post-receive -- Repository for Project Archer.