From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6607 invoked by alias); 21 Jun 2012 11:12:15 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 6510 invoked by uid 9514); 21 Jun 2012 11:12:13 -0000 Date: Thu, 21 Jun 2012 11:12:00 -0000 Message-ID: <20120621111212.6495.qmail@sourceware.org> From: pmuldoon@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-pmuldoon-python-backtrace: Merge remote-tracking branch 'gdb/master' into archer-pmuldoon-python-backtrace X-Git-Refname: refs/heads/archer-pmuldoon-python-backtrace X-Git-Reftype: branch X-Git-Oldrev: 66f3298ad50418f3ca64c0c7200f2d5854c00b64 X-Git-Newrev: 9970e390718512d3b4ff0d315bedb787dd497c0b X-SW-Source: 2012-q2/txt/msg00061.txt.bz2 List-Id: The branch, archer-pmuldoon-python-backtrace has been updated via 9970e390718512d3b4ff0d315bedb787dd497c0b (commit) via 189806222333a8f5f5e919023a6e26bca7a2412d (commit) via 0298f1c375506bf5c0384f521cfb87c0c089407d (commit) via acddaee776eca3e4c4f583c904dd1ed9c6b852e9 (commit) via 5f6cb25267b9bdc5953a08e966dcd3252da73346 (commit) via 2dbafb26386fb2f2eafe59282ef207296978b400 (commit) via 37accf05b79490a7307b54354f1452ebe0ca00e6 (commit) via 6037a072b2f0dc9eea3316c74b3ef56f953a15f4 (commit) via ab7b9759a6b8c5d7d591adfa3a617d3d19783802 (commit) via 5a187cfd259fccb1ec05018ce9289f8a44d5257f (commit) via 1264106c42ad6051e4bc5253c2c725eb51bf4b67 (commit) via 52baea8e662c649fa620a15df91a626be1c9f5d5 (commit) via b5d3cf49a354b5012be3cc3ed75e245d4f67f065 (commit) via 23891d1cd44d936a282a4e86874007aef4b1f5e1 (commit) via 8dc728843dd533628e7d8640e2107c68738ccc4e (commit) via a31920e2da14b17a48cd1d02a1acbe0687b6c7f6 (commit) via 69a179f1518fae5168238f8775ff46013d0d155e (commit) via 8c4beaf3246489371aa612d93975912b3658d69b (commit) via 95689df3ff480400019264b3e031de0967f3c8f8 (commit) via ce4bf49d1ce49dfae0d8f876c959921d409465a8 (commit) via 3d1f8f43caa0c442171a653a743d9b15a8d2cebd (commit) via 8a0f2b5895d7e0b379bae993d1c3b3c3453c24f4 (commit) via 43cf499179912d28421c90ed3f5622ed1094cc43 (commit) via 7f155b3e3e1a334338090bd87903e6d516db222f (commit) via f6a5f9130fdc5656eda5735397ee355babd62c85 (commit) via 0256e8deee33143dbcc603c91fc4e394c204a941 (commit) via 13da28430e3679b896a8e10ff8461d2bc3cf1b32 (commit) via fdd359c07f289b8391aceb2e73c850517027e076 (commit) via 25e690174b0b72dbca2aa719a7b8378e2793abfc (commit) via 6c222b0ff740e03a361e8fa19a5bcf8eb93bd67a (commit) via fa08499c6141057876f037166a33b69027b196b7 (commit) via 17d31a79b9db905a10335956061774e4078f8920 (commit) via 1d5446e980ddec6233c6b57fd7c08eacc1e70a01 (commit) via ff1ab8da15f0a41b2ddd369ed8bcead13bfd446b (commit) via ef72254c55d5487171c64551060cadfd99ea1a74 (commit) via 3887977da3018c81a1a0ed5b224020c48476200b (commit) via fa26cc7d46f5c15c4f5b9f3d2289453e43835271 (commit) via 8e2f8bb4fb72c23bc5542fedc4bb44968fc1b94a (commit) via 0fad592c1aebfe2803dc446ce9404f4bea813a1d (commit) via 2341253d4824b2f81579d46b1258e1c7b37a2263 (commit) via c7f76d1297b8234e77d629dbd1e03d84b91e63a4 (commit) via 941d94dfcb50da0e968f16044dd24eb4c1db2230 (commit) via 43b2aab8bc43c70abe300626943ff2f9167940c9 (commit) via a8588aba78e56040dbf44f6ab92d3d2d863008c5 (commit) via 250c55b0a60e8f523985c0decba0d8f61bdc4dde (commit) via 63a93374216167aeb05f83350aa005ec58c4c15a (commit) via b87061022717dd80cbb6a4e68a5c848024b1cd42 (commit) via 069f45bc97e585b5407455c27ed2eb18fc54368a (commit) via 20f498edfd7e57d3297febcf9c7c7d667cc74239 (commit) via 5fd3a2d78f5d6467c9a168971a6b036b7eae76e6 (commit) via c68113bb3523fe3bcb03cf1e05825d89758b91bc (commit) via 12781b49815fb9b18ef8895ee3eb2e9af66c1f2f (commit) via 892652940567e51144e49c5f955073c3766228cf (commit) via 9a9deeb4e69acbb703e9103c35322a3ee8ae8c99 (commit) via f5d7b8976dc3ffb1a9728227f2bde6fca1e73c29 (commit) from 66f3298ad50418f3ca64c0c7200f2d5854c00b64 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 9970e390718512d3b4ff0d315bedb787dd497c0b Merge: 66f3298 1898062 Author: Phil Muldoon Date: Thu Jun 21 12:11:53 2012 +0100 Merge remote-tracking branch 'gdb/master' into archer-pmuldoon-python-backtrace commit 189806222333a8f5f5e919023a6e26bca7a2412d Author: gdbadmin Date: Thu Jun 21 00:00:33 2012 +0000 *** empty log message *** commit 0298f1c375506bf5c0384f521cfb87c0c089407d Author: Alan Modra Date: Thu Jun 21 00:00:04 2012 +0000 daily update commit acddaee776eca3e4c4f583c904dd1ed9c6b852e9 Author: Keith Seitz Date: Wed Jun 20 20:11:06 2012 +0000 * gdb.texinfo (GDB/MI Breakpoint Commands): Re-order options for -break-insert and document -p. commit 5f6cb25267b9bdc5953a08e966dcd3252da73346 Author: qiyao Date: Wed Jun 20 04:02:18 2012 +0000 * python/py-inferior.c: Update comments of infpy_read_memory and infpy_write_memory. gdb/doc: * gdb.texinfo (Inferiors In Python): Replace "gdb.read_memory" and "gdb.write_memory" with "Inferior.read_memory" and "Inferior.write_memory". commit 2dbafb26386fb2f2eafe59282ef207296978b400 Author: gdbadmin Date: Wed Jun 20 00:00:33 2012 +0000 *** empty log message *** commit 37accf05b79490a7307b54354f1452ebe0ca00e6 Author: Alan Modra Date: Wed Jun 20 00:00:04 2012 +0000 daily update commit 6037a072b2f0dc9eea3316c74b3ef56f953a15f4 Author: Joel Brobecker Date: Tue Jun 19 22:46:57 2012 +0000 include "config.h" instead of BFD's sysdep.h in d10v/interp.c The change of include file introduces some new warnings about functions being used without a prototype. So a few more system includes have been added to compensate for that. sim/d10v/ChangeLog: * interp.c: #include "config.h" instead of "sysdep.h". Add conditional include of string.h or strings.h, as well as conditional include of stdlib.h. commit ab7b9759a6b8c5d7d591adfa3a617d3d19783802 Author: Tom Tromey Date: Tue Jun 19 19:49:38 2012 +0000 PR exp/9514: * parser-defs.h (insert_type, insert_type_address_space): Declare. (push_type_address_space): Remove. * parse.c (insert_into_type_stack): New function. (insert_type): Likewise. (insert_type_address_space): Rename from push_type_address_space. Insert tp_space_identifier. * c-exp.y (ptr_operator): New production. (abs_decl): Use ptr_operator. (space_identifier): Call insert_type_address_space. (ptype): Don't use const_or_volatile_or_space_identifier. (const_or_volatile_noopt): Call insert_type. (conversion_type_id, conversion_declarator): New productions. (operator): Use conversion_type_id. testsuite * gdb.base/whatis.exp: Add tests. commit 5a187cfd259fccb1ec05018ce9289f8a44d5257f Author: Tom Tromey Date: Tue Jun 19 15:47:00 2012 +0000 * gdb.cp/m-static.cc (keepalive): New function. (gnu_obj_1::method): Use it. commit 1264106c42ad6051e4bc5253c2c725eb51bf4b67 Author: Doug Evans Date: Tue Jun 19 00:53:34 2012 +0000 * symtab.h (minimal_symbol): New member created_by_gdb. * elfread.c (elf_symtab_read): Set created_by_gdb for @plt minsym created by gdb. * symtab.c (lookup_symbol_in_objfile_from_linkage_name): New function. (search_symbols): Call it instead of lookup_symbol. Skip symbols created by gdb. Only scan minsyms if nfiles == 0. testsuite: * gdb.base/info-fun.exp: New file. * gdb.base/info-fun.c: New file. * gdb.base/info-fun-solib.c: New file. commit 52baea8e662c649fa620a15df91a626be1c9f5d5 Author: Doug Evans Date: Tue Jun 19 00:37:13 2012 +0000 * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_const_index. Adjust address for DW_OP_GNU_addr_index. * dwarf2expr.h (dwarf_expr_context): Update comment. * dwarf2loc.c (locexpr_describe_location_piece): New arg per_cu, all callers updated. Handle TLS vars described with DW_OP_GNU_const_index. (disassemble_dwarf_expression): Handle DW_OP_GNU_addr_index and DW_OP_GNU_const_index. * dwarf2read.c (decode_locdesc): Handle DW_OP_GNU_addr_index. commit b5d3cf49a354b5012be3cc3ed75e245d4f67f065 Author: DJ Delorie Date: Tue Jun 19 00:03:49 2012 +0000 merge from gcc commit 23891d1cd44d936a282a4e86874007aef4b1f5e1 Author: Alan Modra Date: Tue Jun 19 00:00:04 2012 +0000 daily update commit 8dc728843dd533628e7d8640e2107c68738ccc4e Author: gdbadmin Date: Tue Jun 19 00:00:03 2012 +0000 *** empty log message *** commit a31920e2da14b17a48cd1d02a1acbe0687b6c7f6 Author: Doug Evans Date: Mon Jun 18 20:31:26 2012 +0000 * block.c (find_block_in_blockvector): Make explicit the fact that we ignore GLOBAL_BLOCK. commit 69a179f1518fae5168238f8775ff46013d0d155e Author: Tom Tromey Date: Mon Jun 18 20:23:30 2012 +0000 * c-exp.y (operator): Remove trailing space after "delete" and "delete[]". commit 8c4beaf3246489371aa612d93975912b3658d69b Author: Jan Kratochvil Date: Mon Jun 18 17:31:33 2012 +0000 gdb/ Switch i386 and derived targets to ON_STACK. * amd64-dicos-tdep.c (amd64_dicos_push_dummy_code): Remove. (amd64_dicos_init_abi): Remove its installment. * dicos-tdep.c (dicos_init_abi): Remove the set_gdbarch_call_dummy_location call. Update the comment here. * i386-dicos-tdep.c (i386_dicos_push_dummy_code): Remove. (i386_dicos_init_abi): Remove its installment. * i386-tdep.c (i386_push_dummy_code): New function. (i386_gdbarch_init): Call set_gdbarch_call_dummy_location, install i386_push_dummy_code. commit 95689df3ff480400019264b3e031de0967f3c8f8 Author: Jan Kratochvil Date: Mon Jun 18 17:28:33 2012 +0000 gdb/ Remove stale dummy frames. * breakpoint.c: Include dummy-frame.h. (longjmp_breakpoint_ops): New variable. (update_breakpoints_after_exec, breakpoint_init_inferior): Delete also bp_longjmp_call_dummy. (bpstat_what, bptype_string, print_one_breakpoint_location) (init_bp_location): Support bp_longjmp_call_dummy. (set_longjmp_breakpoint): Use longjmp_breakpoint_ops. Comment why. (set_longjmp_breakpoint_for_call_dummy) (check_longjmp_breakpoint_for_call_dummy, longjmp_bkpt_dtor): New functions. (initialize_breakpoint_ops): Initialize longjmp_breakpoint_ops. * breakpoint.h (enum bptype): New item bp_longjmp_call_dummy. Delete FIXME comment and extend the other comment for bp_call_dummy. (set_longjmp_breakpoint_for_call_dummy) (check_longjmp_breakpoint_for_call_dummy): New declarations. * dummy-frame.c: Include gdbthread.h. (pop_dummy_frame_bpt): New function. (pop_dummy_frame): Call pop_dummy_frame_bpt. (dummy_frame_discard): New function. (cleanup_dummy_frames): Update the comment about longjmps. * dummy-frame.h (dummy_frame_discard): New declaration. * gdbthread.h (struct thread_info): Extend initiating_frame comment. * infcall.c (call_function_by_hand): New variable longjmp_b. Call set_longjmp_breakpoint_for_call_dummy. Chain its breakpoints with BPT. * infrun.c (handle_inferior_event) : Add case 4 comment. Call check_longjmp_breakpoint_for_call_dummy and keep_going if IS_LONGJMP and there is no other reason to stop. gdb/testsuite/ Remove stale dummy frames. * gdb.base/call-signal-resume.exp (maintenance print dummy-frames) (maintenance info breakpoints): New tests. * gdb.base/stale-infcall.c: New file. * gdb.base/stale-infcall.exp: New file. commit ce4bf49d1ce49dfae0d8f876c959921d409465a8 Author: Tom Tromey Date: Mon Jun 18 15:36:06 2012 +0000 2012-06-18 Greta Yorsh * remote-sim.c (sim_command_completer): Initialize variable 'result'. commit 3d1f8f43caa0c442171a653a743d9b15a8d2cebd Author: Hans-Peter Nilsson Date: Mon Jun 18 06:16:58 2012 +0000 * elf32-cris.c (cris_elf_plt_sym_val): Rewrite to work in presence of merged .got and .got.plt entries. commit 8a0f2b5895d7e0b379bae993d1c3b3c3453c24f4 Author: Alan Modra Date: Mon Jun 18 00:46:28 2012 +0000 * elf32-arm.c (elf32_arm_final_link_relocate): Correct return value. commit 43cf499179912d28421c90ed3f5622ed1094cc43 Author: gdbadmin Date: Mon Jun 18 00:00:32 2012 +0000 *** empty log message *** commit 7f155b3e3e1a334338090bd87903e6d516db222f Author: Alan Modra Date: Mon Jun 18 00:00:05 2012 +0000 daily update commit f6a5f9130fdc5656eda5735397ee355babd62c85 Author: Mike Frysinger Date: Sun Jun 17 23:34:17 2012 +0000 sim: cr16: include config.h rather than sysdep.h from bfd commit 0256e8deee33143dbcc603c91fc4e394c204a941 Author: Mike Frysinger Date: Sun Jun 17 23:33:42 2012 +0000 sim: moxie: fix build by including config.h first commit 13da28430e3679b896a8e10ff8461d2bc3cf1b32 Author: Jan Kratochvil Date: Sun Jun 17 19:53:51 2012 +0000 gdb/ * dwarf2expr.c (execute_stack_op): Support DW_OP_GNU_parameter_ref. * dwarf2loc.c (call_site_parameter_matches): Support CALL_SITE_PARAMETER_PARAM_OFFSET. (needs_dwarf_reg_entry_value): Push stub value. * dwarf2read.c (read_call_site_scope): New variable origin. Support CALL_SITE_PARAMETER_PARAM_OFFSET and its DW_AT_abstract_origin. * gdbtypes.h (enum call_site_parameter_kind): New item CALL_SITE_PARAMETER_PARAM_OFFSET. (struct call_site.parameter.u): New field param_offset. gdb/testsuite/ * gdb.arch/amd64-entry-value-param.S: New file. * gdb.arch/amd64-entry-value-param.c: New file. * gdb.arch/amd64-entry-value-param.exp: New file. commit fdd359c07f289b8391aceb2e73c850517027e076 Author: Jan Kratochvil Date: Sun Jun 17 19:50:50 2012 +0000 gdb/ Code cleanup: Generalize call_site.parameter key. * dwarf2expr.c (execute_stack_op) : Remove variable dwarf_reg. New variable kind_u. Update parameters to push_dwarf_reg_entry_value. (ctx_no_push_dwarf_reg_entry_value): Update parameters. * dwarf2expr.h (enum call_site_parameter_kind) (union call_site_parameter_u): Forward declarations. (struct dwarf_expr_context_funcs): Update parameters and their description for push_dwarf_reg_entry_value. (ctx_no_push_dwarf_reg_entry_value): Update parameters. * dwarf2loc.c (call_site_parameter_matches): New function. (dwarf_expr_reg_to_entry_parameter): Update parameters and their description. Use call_site_parameter_matches. (dwarf_expr_push_dwarf_reg_entry_value, value_of_dwarf_reg_entry): Update parameters and their description. (value_of_dwarf_block_entry): Remove variables dwarf_reg and fb_offset. New variable kind_u. Adjust the caller for updated parameters. (needs_dwarf_reg_entry_value): Update parameters. * dwarf2read.c (read_call_site_scope): New variable loc. Use it instead of attr. Update for the changed fields of struct call_site_parameter. * gdbtypes.h: Include dwarf2expr.h. (enum call_site_parameter_kind): New. (struct call_site.parameter): New field kind. Wrap dwarf_reg and fb_offset into new union u. commit 25e690174b0b72dbca2aa719a7b8378e2793abfc Author: Hans-Peter Nilsson Date: Sun Jun 17 18:56:31 2012 +0000 * interp.c: Include config.h first. Do not include sysdep.h. commit 6c222b0ff740e03a361e8fa19a5bcf8eb93bd67a Author: Hans-Peter Nilsson Date: Sun Jun 17 07:28:28 2012 +0000 * elf32-cris.c (cris_elf_relocate_section): : Handle references to thread common symbols. commit fa08499c6141057876f037166a33b69027b196b7 Author: gdbadmin Date: Sun Jun 17 00:00:32 2012 +0000 *** empty log message *** commit 17d31a79b9db905a10335956061774e4078f8920 Author: Alan Modra Date: Sun Jun 17 00:00:05 2012 +0000 daily update commit 1d5446e980ddec6233c6b57fd7c08eacc1e70a01 Author: H.J. Lu Date: Sat Jun 16 15:20:21 2012 +0000 Add and use amd64_x32_analyze_stack_align * amd64-tdep.c (amd64_x32_analyze_stack_align): New function. (amd64_analyze_prologue): Call amd64_x32_analyze_stack_align for x32. commit ff1ab8da15f0a41b2ddd369ed8bcead13bfd446b Author: H.J. Lu Date: Sat Jun 16 15:18:17 2012 +0000 Support x32 siginfo * amd64-linux-nat.c (compat_x32_clock_t): New. (compat_x32_siginfo_t): Likewise. (compat_x32_siginfo_from_siginfo): Likewise. (siginfo_from_compat_x32_siginfo): Likewise. (amd64_linux_siginfo_fixup): Call compat_x32_siginfo_from_siginfo and siginfo_from_compat_x32_siginfo for x32. commit ef72254c55d5487171c64551060cadfd99ea1a74 Author: Hui Zhu Date: Sat Jun 16 15:07:34 2012 +0000 2012-06-15 Hui Zhu * tracepoint.c (tfile_xfer_partial): Add a lseek. commit 3887977da3018c81a1a0ed5b224020c48476200b Author: H.J. Lu Date: Sat Jun 16 13:28:06 2012 +0000 Check bits_per_word instead of gdbarch_ptr_bit * amd64-linux-nat.c (ps_get_thread_area): Check bits_per_word instead of gdbarch_ptr_bit. * amd64-nat.c (amd64_native_gregset_reg_offset): Likewise. (amd64_supply_native_gregset): Likewise. (amd64_collect_native_gregset): Likewise. * amd64-tdep.c (amd64_supply_fxsave): Likewise. (amd64_supply_xsave): Likewise. (amd64_collect_fxsave): Likewise. (amd64_collect_xsave): Likewise. commit fa26cc7d46f5c15c4f5b9f3d2289453e43835271 Author: H.J. Lu Date: Sat Jun 16 13:26:36 2012 +0000 Check DS segment register for x32 process * amd64-linux-nat.c (AMD64_LINUX_X32_DS): New. (amd64_linux_read_description): Check DS segment register for x32 process. commit 8e2f8bb4fb72c23bc5542fedc4bb44968fc1b94a Author: gdbadmin Date: Sat Jun 16 00:00:33 2012 +0000 *** empty log message *** commit 0fad592c1aebfe2803dc446ce9404f4bea813a1d Author: Alan Modra Date: Sat Jun 16 00:00:04 2012 +0000 daily update commit 2341253d4824b2f81579d46b1258e1c7b37a2263 Author: Joel Brobecker Date: Fri Jun 15 17:20:30 2012 +0000 sim/erc32/sys.h: Include "config.h". This file includes "gdb/callback.h", which includes "bfd.h", which itself verifies that "config.h" was included earlier. sim/erc32/ChangeLog: * sys.h: Include "config.h". commit c7f76d1297b8234e77d629dbd1e03d84b91e63a4 Author: Joel Brobecker Date: Fri Jun 15 17:19:56 2012 +0000 Define PACKAGE macro in all sims' config.h. Some of the common includes in include/gdb such as callback.h include bfd.h. But there was a recent change in bfd-in.h to require that config.h be included before bfd.h can be included: /* PR 14072: Ensure that config.h is included first. */ #if !defined PACKAGE && !defined PACKAGE_VERSION #error config.h must be included before this header #endif PACKAGE_VERSION is always defined by default by the AC_INIT autoconf macro, but PACKAGE isn't. This patch updates the SIM_AC_COMMON macro to define it, and then regenerates all configure scripts and config.in files. sim/common/changeLog: * acinclude.m4 (SIM_AC_COMMON): Define PACKAGE. * config.in, configure: Regenerate. sim/ChangeLog: * configure: Regenerate. sim/arm/ChangeLog: * config.in, configure: Regenerate. sim/avr/ChangeLog: * config.in, configure: Regenerate. sim/bfin/ChangeLog: * config.in, configure: Regenerate. sim/cr16/ChangeLog: * config.in, configure: Regenerate. sim/cris/ChangeLog: * config.in, configure: Regenerate. sim/d10v/ChangeLog: * config.in, configure: Regenerate. sim/erc32/ChangeLog: * config.in, configure: Regenerate. sim/frv/ChangeLog: * config.in, configure: Regenerate. sim/h8300/ChangeLog: * config.in, configure: Regenerate. sim/iq2000/ChangeLog: * config.in, configure: Regenerate. sim/lm32/ChangeLog: * config.in, configure: Regenerate. sim/m32c/ChangeLog: * config.in, configure: Regenerate. sim/m32r/ChangeLog: * config.in, configure: Regenerate. sim/m68hc11/ChangeLog: * config.in, configure: Regenerate. sim/mcore/ChangeLog: * config.in, configure: Regenerate. sim/microblaze/ChangeLog: * config.in, configure: Regenerate. sim/mips/ChangeLog: * config.in, configure: Regenerate. sim/mn10300/ChangeLog: * config.in, configure: Regenerate. sim/moxie/ChangeLog: * config.in, configure: Regenerate. sim/ppc/ChangeLog: * configure: Regenerate. sim/rl78/ChangeLog: * config.in, configure: Regenerate. sim/rx/ChangeLog: * config.in, configure: Regenerate. sim/sh/ChangeLog: * config.in, configure: Regenerate. sim/sh64/ChangeLog: * config.in, configure: Regenerate. sim/v850/ChangeLog: * config.in, configure: Regenerate. sim/testsuite/ChangeLog: * configure: Regenerate. commit 941d94dfcb50da0e968f16044dd24eb4c1db2230 Author: Tom Tromey Date: Fri Jun 15 16:18:59 2012 +0000 * dwarf2read.c (dw2_find_symbol_file): Unconditionally use init_cutu_and_read_dies. testsuite * gdb.cp/namespace.exp: Add "show lang" test. commit 43b2aab8bc43c70abe300626943ff2f9167940c9 Author: iains Date: Fri Jun 15 14:42:59 2012 +0000 gdb/testsuite: * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special case. (top level): Use gdb_file_cmd instead of gdb_load. commit a8588aba78e56040dbf44f6ab92d3d2d863008c5 Author: iains Date: Fri Jun 15 14:41:24 2012 +0000 * MAINTAINERS (Write After Approval): Add myself to the list. commit 250c55b0a60e8f523985c0decba0d8f61bdc4dde Author: Tom Tromey Date: Fri Jun 15 14:38:29 2012 +0000 * valops.c (value_find_oload_method_list): Now static. * value.h (value_find_oload_method_list): Don't declare. commit 63a93374216167aeb05f83350aa005ec58c4c15a Author: Tom Tromey Date: Fri Jun 15 14:35:30 2012 +0000 * valops.c (find_overload_match): Use value_ind. commit b87061022717dd80cbb6a4e68a5c848024b1cd42 Author: Eli Zaretskii Date: Fri Jun 15 09:21:36 2012 +0000 Fix Texinfo usage issues. From Patrice Dumas . * gdb.texinfo (Summary): Add a link to "Free Documentation". (Free Documentation): Add @node line. (Continuing and Stepping) : Use @item instead of @itemx. (Reverse Execution) : Use @item instead of @itemx. (Embedded Processors): Put the link to "PA" to its correct place, according to document structure. (Python API): Put the link to "Lazy Strings In Python" to its correct place. (Index): Use @@ in @tex block to get a literal @. * gdbint.texinfo: Fix the @subtitle line. * stabs.texinfo (Top): Put the link to "Symbol Types Index" to its correct place. commit 069f45bc97e585b5407455c27ed2eb18fc54368a Author: Maciej W. Rozycki Date: Fri Jun 15 08:50:24 2012 +0000 * infrun.c (handle_inferior_event): Correct indentation. commit 20f498edfd7e57d3297febcf9c7c7d667cc74239 Author: Alan Modra Date: Fri Jun 15 00:00:05 2012 +0000 daily update commit 5fd3a2d78f5d6467c9a168971a6b036b7eae76e6 Author: gdbadmin Date: Fri Jun 15 00:00:02 2012 +0000 *** empty log message *** commit c68113bb3523fe3bcb03cf1e05825d89758b91bc Author: Doug Evans Date: Thu Jun 14 22:56:44 2012 +0000 * dwarf2loc.c (debug_loc_kind): Add DEBUG_LOC_START_LENGTH. (DEBUG_LOC_START_END): Renamed from DEBUG_LOC_NORMAL. All uses updated. (decode_debug_loc_dwo_addresses): New arg "byte_order". All callers updated. Handle DEBUG_LOC_START_LENGTH. (dwarf2_find_location_expression): Handle DEBUG_LOC_START_LENGTH. (loclist_describe_location): Ditto. commit 12781b49815fb9b18ef8895ee3eb2e9af66c1f2f Author: Maciej W. Rozycki Date: Thu Jun 14 21:15:14 2012 +0000 PR backtrace/13866 * infrun.c (handle_inferior_event): Re-fetch frame and gdbarch after hiding inline functions. commit 892652940567e51144e49c5f955073c3766228cf Author: Joel Brobecker Date: Thu Jun 14 18:21:30 2012 +0000 Fix copy/paste error in _initialize_inf_ttrace's advance declaration. gdb/ChangeLog: * inf-ttrace.c (_initialize_hppa_hpux_nat): Rename into _initialize_inf_ttrace. commit 9a9deeb4e69acbb703e9103c35322a3ee8ae8c99 Author: Joel Brobecker Date: Thu Jun 14 18:19:40 2012 +0000 Rename ia64-hpux-nat.c:_initialize_hppa_hpux_nat... ... into _initialize_ia64_hpux_nat. Looks like a harmless but unfortunate copy/paste error. gdb/ChangeLog: * ia64-hpux-nat.c (_initialize_ia64_hpux_nat): Renames _initialize_hppa_hpux_nat. commit f5d7b8976dc3ffb1a9728227f2bde6fca1e73c29 Author: Joel Brobecker Date: Thu Jun 14 18:17:35 2012 +0000 Fix invalid profile for command-completer in remote-sim.c The profile of command completers has been change to returna VEC of char_ptr. Most completers were updated, except the one in remote-sim.c. Unfortunately, to make things a little more difficult, the meat of the completer is actually implemented in the sim, were VECs are not available. This patch thus translates the returned array into a VEC, and then returns that VEC. gdb/ChangeLog: * remote-sim.c (sim_command_completer): Change type of return value to "VEC (char_ptr) *". Adjust implementation accordingly. ----------------------------------------------------------------------- Summary of changes: bfd/ChangeLog | 15 + bfd/elf32-arm.c | 2 +- bfd/elf32-cris.c | 59 ++- bfd/version.h | 2 +- gdb/ChangeLog | 229 ++++++++ gdb/MAINTAINERS | 1 + gdb/amd64-dicos-tdep.c | 20 - gdb/amd64-linux-nat.c | 236 ++++++++- gdb/amd64-nat.c | 6 +- gdb/amd64-tdep.c | 197 ++++++- gdb/block.c | 11 +- gdb/breakpoint.c | 106 ++++- gdb/breakpoint.h | 19 +- gdb/c-exp.y | 54 ++- gdb/dicos-tdep.c | 4 +- gdb/doc/ChangeLog | 30 + gdb/doc/gdb.texinfo | 36 +- gdb/doc/gdbint.texinfo | 2 +- gdb/doc/stabs.texinfo | 2 +- gdb/dummy-frame.c | 51 ++- gdb/dummy-frame.h | 2 + gdb/dwarf2expr.c | 47 ++- gdb/dwarf2expr.h | 19 +- gdb/dwarf2loc.c | 158 ++++-- gdb/dwarf2read.c | 61 ++- gdb/elfread.c | 1 + gdb/gdbthread.h | 4 +- gdb/gdbtypes.h | 42 +- gdb/i386-dicos-tdep.c | 20 - gdb/i386-tdep.c | 18 + gdb/ia64-hpux-nat.c | 4 +- gdb/inf-ttrace.c | 2 +- gdb/infcall.c | 13 +- gdb/infrun.c | 39 +- gdb/parse.c | 69 +++- gdb/parser-defs.h | 4 +- gdb/python/py-inferior.c | 4 +- gdb/remote-sim.c | 16 +- gdb/symtab.c | 98 +++- gdb/symtab.h | 4 + gdb/testsuite/ChangeLog | 38 ++ gdb/testsuite/gdb.arch/amd64-entry-value-param.S | 611 ++++++++++++++++++++ gdb/testsuite/gdb.arch/amd64-entry-value-param.c | 40 ++ gdb/testsuite/gdb.arch/amd64-entry-value-param.exp | 51 ++ gdb/testsuite/gdb.base/call-signal-resume.exp | 12 + gdb/testsuite/gdb.base/info-fun-solib.c | 20 + gdb/testsuite/gdb.base/info-fun.c | 22 + gdb/testsuite/gdb.base/info-fun.exp | 76 +++ gdb/testsuite/gdb.base/list.exp | 16 +- gdb/testsuite/gdb.base/stale-infcall.c | 63 ++ gdb/testsuite/gdb.base/stale-infcall.exp | 57 ++ gdb/testsuite/gdb.base/whatis.exp | 14 + gdb/testsuite/gdb.cp/m-static.cc | 3 + gdb/testsuite/gdb.cp/namespace.exp | 1 + gdb/tracepoint.c | 2 + gdb/valops.c | 5 +- gdb/value.h | 5 - gdb/version.in | 2 +- include/ChangeLog | 4 + include/dwarf2.def | 1 + sim/ChangeLog | 4 + sim/arm/ChangeLog | 4 + sim/arm/config.in | 3 + sim/arm/configure | 12 + sim/avr/ChangeLog | 4 + sim/avr/config.in | 3 + sim/avr/configure | 12 + sim/bfin/ChangeLog | 4 + sim/bfin/config.in | 3 + sim/bfin/configure | 12 + sim/common/ChangeLog | 5 + sim/common/acinclude.m4 | 7 + sim/common/config.in | 3 + sim/common/configure | 12 + sim/configure | 12 +- sim/cr16/ChangeLog | 9 + sim/cr16/config.in | 3 + sim/cr16/configure | 12 + sim/cr16/interp.c | 4 +- sim/cris/ChangeLog | 4 + sim/cris/config.in | 3 + sim/cris/configure | 12 + sim/d10v/ChangeLog | 10 + sim/d10v/config.in | 3 + sim/d10v/configure | 12 + sim/d10v/interp.c | 14 +- sim/erc32/ChangeLog | 8 + sim/erc32/config.in | 3 + sim/erc32/configure | 12 + sim/erc32/sis.h | 1 + sim/frv/ChangeLog | 4 + sim/frv/config.in | 3 + sim/frv/configure | 12 + sim/h8300/ChangeLog | 4 + sim/h8300/config.in | 3 + sim/h8300/configure | 12 + sim/iq2000/ChangeLog | 4 + sim/iq2000/config.in | 3 + sim/iq2000/configure | 12 + sim/lm32/ChangeLog | 4 + sim/lm32/config.in | 3 + sim/lm32/configure | 12 + sim/m32c/ChangeLog | 4 + sim/m32c/config.in | 3 + sim/m32c/configure | 12 + sim/m32r/ChangeLog | 4 + sim/m32r/config.in | 3 + sim/m32r/configure | 12 + sim/m68hc11/ChangeLog | 4 + sim/m68hc11/config.in | 3 + sim/m68hc11/configure | 12 + sim/mcore/ChangeLog | 4 + sim/mcore/config.in | 3 + sim/mcore/configure | 12 + sim/microblaze/ChangeLog | 4 + sim/microblaze/config.in | 3 + sim/microblaze/configure | 12 + sim/mips/ChangeLog | 4 + sim/mips/config.in | 3 + sim/mips/configure | 12 + sim/mn10300/ChangeLog | 8 + sim/mn10300/config.in | 3 + sim/mn10300/configure | 12 + sim/mn10300/interp.c | 2 +- sim/moxie/ChangeLog | 8 + sim/moxie/config.in | 3 + sim/moxie/configure | 12 + sim/moxie/interp.c | 2 + sim/ppc/ChangeLog | 4 + sim/ppc/configure | 44 ++- sim/rl78/ChangeLog | 4 + sim/rl78/config.in | 3 + sim/rl78/configure | 12 + sim/rx/ChangeLog | 4 + sim/rx/config.in | 3 + sim/rx/configure | 12 + sim/sh/ChangeLog | 4 + sim/sh/config.in | 3 + sim/sh/configure | 12 + sim/sh64/ChangeLog | 4 + sim/sh64/config.in | 3 + sim/sh64/configure | 12 + sim/testsuite/ChangeLog | 4 + sim/testsuite/configure | 2 +- sim/v850/ChangeLog | 4 + sim/v850/config.in | 3 + sim/v850/configure | 12 + 147 files changed, 3059 insertions(+), 290 deletions(-) create mode 100644 gdb/testsuite/gdb.arch/amd64-entry-value-param.S create mode 100644 gdb/testsuite/gdb.arch/amd64-entry-value-param.c create mode 100644 gdb/testsuite/gdb.arch/amd64-entry-value-param.exp create mode 100644 gdb/testsuite/gdb.base/info-fun-solib.c create mode 100644 gdb/testsuite/gdb.base/info-fun.c create mode 100644 gdb/testsuite/gdb.base/info-fun.exp create mode 100644 gdb/testsuite/gdb.base/stale-infcall.c create mode 100644 gdb/testsuite/gdb.base/stale-infcall.exp First 500 lines of diff: diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 41e6264..d4902da 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,18 @@ +2012-06-18 Hans-Peter Nilsson + + * elf32-cris.c (cris_elf_plt_sym_val): Rewrite to work in presence + of merged .got and .got.plt entries. + +2012-06-18 John Szakmeister + + * elf32-arm.c (elf32_arm_final_link_relocate): Correct return value. + +2012-06-17 Hans-Peter Nilsson + + * elf32-cris.c (cris_elf_relocate_section): + : Handle references to + thread common symbols. + 2012-06-13 Nick Clifton * elf32-arm.c (bfd_arm_get_mach_from_attributes): New function. diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index e9157b2..826dd7e 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -9664,7 +9664,7 @@ elf32_arm_final_link_relocate (reloc_howto_type * howto, (_("%B(%A+0x%lx): R_ARM_TLS_LE32 relocation not permitted in shared object"), input_bfd, input_section, (long) rel->r_offset, howto->name); - return (bfd_reloc_status_type) FALSE; + return bfd_reloc_notsupported; } else value = tpoff (info, value); diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c index 1f7d20d..58e430e 100644 --- a/bfd/elf32-cris.c +++ b/bfd/elf32-cris.c @@ -1877,7 +1877,8 @@ cris_elf_relocate_section (bfd *output_bfd ATTRIBUTE_UNUSED, return FALSE; } - if (!info->shared && (h == NULL || h->def_regular)) + if (!info->shared + && (h == NULL || h->def_regular || ELF_COMMON_DEF_P (h))) { /* Known contents of the GOT. */ bfd_vma off; @@ -2718,16 +2719,64 @@ cris_elf_gc_sweep_hook (bfd *abfd, /* The elf_backend_plt_sym_val hook function. */ static bfd_vma -cris_elf_plt_sym_val (bfd_vma i, const asection *plt, - const arelent *rel ATTRIBUTE_UNUSED) +cris_elf_plt_sym_val (bfd_vma i ATTRIBUTE_UNUSED, const asection *plt, + const arelent *rel) { bfd_size_type plt_entry_size; + bfd_size_type pltoffs; + bfd *abfd = plt->owner; + + /* Same for CRIS and CRIS v32; see elf_cris_(|pic_)plt_entry(|_v32)[]. */ + bfd_size_type plt_entry_got_offset = 2; + bfd_size_type plt_sec_size; + bfd_size_type got_vma_for_dyn; + asection *got; + + /* FIXME: the .got section should be readily available also when + we're not linking. */ + if ((got = bfd_get_section_by_name (abfd, ".got")) == NULL) + return (bfd_vma) -1; + plt_sec_size = bfd_section_size (plt->owner, plt); plt_entry_size - = (bfd_get_mach (plt->owner) == bfd_mach_cris_v32 + = (bfd_get_mach (abfd) == bfd_mach_cris_v32 ? PLT_ENTRY_SIZE_V32 : PLT_ENTRY_SIZE); - return plt->vma + (i + 1) * plt_entry_size; + /* Data in PLT is GOT-relative for DYN, but absolute for EXE. */ + got_vma_for_dyn = (abfd->flags & EXEC_P) ? 0 : got->vma; + + /* Because we can have merged GOT entries; a single .got entry for + both GOT and the PLT part of the GOT (.got.plt), the index of the + reloc in .rela.plt is not the same as the index in the PLT. + Instead, we have to hunt down the GOT offset in the PLT that + corresponds to that of this reloc. Unfortunately, we will only + be called for the .rela.plt relocs, so we'll miss synthetic + symbols for .plt entries with merged GOT entries. (FIXME: + fixable by providing our own bfd_elf32_get_synthetic_symtab. + Doesn't seem worthwile at time of this writing.) FIXME: we've + gone from O(1) to O(N) (N number of PLT entries) for finding each + PLT address. Shouldn't matter in practice though. */ + + for (pltoffs = plt_entry_size; + pltoffs < plt_sec_size; + pltoffs += plt_entry_size) + { + bfd_size_type got_offset; + bfd_byte gotoffs_raw[4]; + + if (!bfd_get_section_contents (abfd, (asection *) plt, gotoffs_raw, + pltoffs + plt_entry_got_offset, + sizeof (gotoffs_raw))) + return (bfd_vma) -1; + + got_offset = bfd_get_32 (abfd, gotoffs_raw); + if (got_offset + got_vma_for_dyn == rel->address) + return plt->vma + pltoffs; + } + + /* While it's tempting to BFD_ASSERT that we shouldn't get here, + that'd not be graceful behavior for invalid input. */ + return (bfd_vma) -1; } /* Make sure we emit a GOT entry if the symbol was supposed to have a PLT diff --git a/bfd/version.h b/bfd/version.h index e116fbc..df1d4e6 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -1,4 +1,4 @@ -#define BFD_VERSION_DATE 20120614 +#define BFD_VERSION_DATE 20120621 #define BFD_VERSION @bfd_version@ #define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@ #define REPORT_BUGS_TO @report_bugs_to@ diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cdf6a01..857fde8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,232 @@ +2012-06-20 Yao Qi + + * python/py-inferior.c: Update comments of infpy_read_memory + and infpy_write_memory. + +2012-06-19 Tom Tromey + + PR exp/9514: + * parser-defs.h (insert_type, insert_type_address_space): Declare. + (push_type_address_space): Remove. + * parse.c (insert_into_type_stack): New function. + (insert_type): Likewise. + (insert_type_address_space): Rename from push_type_address_space. + Insert tp_space_identifier. + * c-exp.y (ptr_operator): New production. + (abs_decl): Use ptr_operator. + (space_identifier): Call insert_type_address_space. + (ptype): Don't use const_or_volatile_or_space_identifier. + (const_or_volatile_noopt): Call insert_type. + (conversion_type_id, conversion_declarator): New productions. + (operator): Use conversion_type_id. + +2012-06-18 Doug Evans + + * symtab.h (minimal_symbol): New member created_by_gdb. + * elfread.c (elf_symtab_read): Set created_by_gdb for @plt minsym + created by gdb. + * symtab.c (lookup_symbol_in_objfile_from_linkage_name): New function. + (search_symbols): Call it instead of lookup_symbol. + Skip symbols created by gdb. Only scan minsyms if nfiles == 0. + + * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_const_index. + Adjust address for DW_OP_GNU_addr_index. + * dwarf2expr.h (dwarf_expr_context): Update comment. + * dwarf2loc.c (locexpr_describe_location_piece): New arg per_cu, + all callers updated. Handle TLS vars described with + DW_OP_GNU_const_index. + (disassemble_dwarf_expression): Handle DW_OP_GNU_addr_index + and DW_OP_GNU_const_index. + * dwarf2read.c (decode_locdesc): Handle DW_OP_GNU_addr_index. + + * block.c (find_block_in_blockvector): Make explicit the fact that we + ignore GLOBAL_BLOCK. + +2012-06-18 Tom Tromey + + * c-exp.y (operator): Remove trailing space after "delete" and + "delete[]". + +2012-06-18 Mark Kettenis + Jan Kratochvil + + Switch i386 and derived targets to ON_STACK. + * amd64-dicos-tdep.c (amd64_dicos_push_dummy_code): Remove. + (amd64_dicos_init_abi): Remove its installment. + * dicos-tdep.c (dicos_init_abi): Remove the + set_gdbarch_call_dummy_location call. Update the comment here. + * i386-dicos-tdep.c (i386_dicos_push_dummy_code): Remove. + (i386_dicos_init_abi): Remove its installment. + * i386-tdep.c (i386_push_dummy_code): New function. + (i386_gdbarch_init): Call set_gdbarch_call_dummy_location, install + i386_push_dummy_code. + +2012-06-18 Jan Kratochvil + + Remove stale dummy frames. + * breakpoint.c: Include dummy-frame.h. + (longjmp_breakpoint_ops): New variable. + (update_breakpoints_after_exec, breakpoint_init_inferior): Delete also + bp_longjmp_call_dummy. + (bpstat_what, bptype_string, print_one_breakpoint_location) + (init_bp_location): Support bp_longjmp_call_dummy. + (set_longjmp_breakpoint): Use longjmp_breakpoint_ops. Comment why. + (set_longjmp_breakpoint_for_call_dummy) + (check_longjmp_breakpoint_for_call_dummy, longjmp_bkpt_dtor): New + functions. + (initialize_breakpoint_ops): Initialize longjmp_breakpoint_ops. + * breakpoint.h (enum bptype): New item bp_longjmp_call_dummy. Delete + FIXME comment and extend the other comment for bp_call_dummy. + (set_longjmp_breakpoint_for_call_dummy) + (check_longjmp_breakpoint_for_call_dummy): New declarations. + * dummy-frame.c: Include gdbthread.h. + (pop_dummy_frame_bpt): New function. + (pop_dummy_frame): Call pop_dummy_frame_bpt. + (dummy_frame_discard): New function. + (cleanup_dummy_frames): Update the comment about longjmps. + * dummy-frame.h (dummy_frame_discard): New declaration. + * gdbthread.h (struct thread_info): Extend initiating_frame comment. + * infcall.c (call_function_by_hand): New variable longjmp_b. Call + set_longjmp_breakpoint_for_call_dummy. Chain its breakpoints with BPT. + * infrun.c (handle_inferior_event) : + Add case 4 comment. Call check_longjmp_breakpoint_for_call_dummy and + keep_going if IS_LONGJMP and there is no other reason to stop. + +2012-06-18 Greta Yorsh + + * remote-sim.c (sim_command_completer): Initialize + variable 'result'. + +2012-06-17 Jan Kratochvil + + * dwarf2expr.c (execute_stack_op): Support DW_OP_GNU_parameter_ref. + * dwarf2loc.c (call_site_parameter_matches): Support + CALL_SITE_PARAMETER_PARAM_OFFSET. + (needs_dwarf_reg_entry_value): Push stub value. + * dwarf2read.c (read_call_site_scope): New variable origin. Support + CALL_SITE_PARAMETER_PARAM_OFFSET and its DW_AT_abstract_origin. + * gdbtypes.h (enum call_site_parameter_kind): New item + CALL_SITE_PARAMETER_PARAM_OFFSET. + (struct call_site.parameter.u): New field param_offset. + +2012-06-17 Jan Kratochvil + + Code cleanup: Generalize call_site.parameter key. + * dwarf2expr.c (execute_stack_op) : Remove + variable dwarf_reg. New variable kind_u. Update parameters to + push_dwarf_reg_entry_value. + (ctx_no_push_dwarf_reg_entry_value): Update parameters. + * dwarf2expr.h (enum call_site_parameter_kind) + (union call_site_parameter_u): Forward declarations. + (struct dwarf_expr_context_funcs): Update parameters and their + description for push_dwarf_reg_entry_value. + (ctx_no_push_dwarf_reg_entry_value): Update parameters. + * dwarf2loc.c (call_site_parameter_matches): New function. + (dwarf_expr_reg_to_entry_parameter): Update parameters and their + description. Use call_site_parameter_matches. + (dwarf_expr_push_dwarf_reg_entry_value, value_of_dwarf_reg_entry): + Update parameters and their description. + (value_of_dwarf_block_entry): Remove variables dwarf_reg and fb_offset. + New variable kind_u. Adjust the caller for updated parameters. + (needs_dwarf_reg_entry_value): Update parameters. + * dwarf2read.c (read_call_site_scope): New variable loc. Use it + instead of attr. Update for the changed fields of struct + call_site_parameter. + * gdbtypes.h: Include dwarf2expr.h. + (enum call_site_parameter_kind): New. + (struct call_site.parameter): New field kind. Wrap dwarf_reg and + fb_offset into new union u. + +2012-06-16 H.J. Lu + + * amd64-tdep.c (amd64_x32_analyze_stack_align): New function. + (amd64_analyze_prologue): Call amd64_x32_analyze_stack_align + for x32. + +2012-06-16 H.J. Lu + + * amd64-linux-nat.c (compat_x32_clock_t): New. + (compat_x32_siginfo_t): Likewise. + (compat_x32_siginfo_from_siginfo): Likewise. + (siginfo_from_compat_x32_siginfo): Likewise. + (amd64_linux_siginfo_fixup): Call compat_x32_siginfo_from_siginfo + and siginfo_from_compat_x32_siginfo for x32. + +2012-06-15 Hui Zhu + + * tracepoint.c (tfile_xfer_partial): Add a lseek. + +2012-06-15 H.J. Lu + + * amd64-linux-nat.c (ps_get_thread_area): Check bits_per_word + instead of gdbarch_ptr_bit. + * amd64-nat.c (amd64_native_gregset_reg_offset): Likewise. + (amd64_supply_native_gregset): Likewise. + (amd64_collect_native_gregset): Likewise. + * amd64-tdep.c (amd64_supply_fxsave): Likewise. + (amd64_supply_xsave): Likewise. + (amd64_collect_fxsave): Likewise. + (amd64_collect_xsave): Likewise. + +2012-06-15 H.J. Lu + + * amd64-linux-nat.c (AMD64_LINUX_X32_DS): New. + (amd64_linux_read_description): Check DS segment register for + x32 process. + +2012-06-15 Tom Tromey + + * dwarf2read.c (dw2_find_symbol_file): Unconditionally use + init_cutu_and_read_dies. + +2012-06-15 Iain Sandoe + + * MAINTAINERS (Write After Approval): Add myself to the list. + +2012-06-15 Tom Tromey + + * valops.c (value_find_oload_method_list): Now static. + * value.h (value_find_oload_method_list): Don't declare. + +2012-06-15 Tom Tromey + + * valops.c (find_overload_match): Use value_ind. + +2012-06-15 Maciej W. Rozycki + + * infrun.c (handle_inferior_event): Correct indentation. + +2012-06-14 Doug Evans + + * dwarf2loc.c (debug_loc_kind): Add DEBUG_LOC_START_LENGTH. + (DEBUG_LOC_START_END): Renamed from DEBUG_LOC_NORMAL. + All uses updated. + (decode_debug_loc_dwo_addresses): New arg "byte_order". All callers + updated. Handle DEBUG_LOC_START_LENGTH. + (dwarf2_find_location_expression): Handle DEBUG_LOC_START_LENGTH. + (loclist_describe_location): Ditto. + +2012-06-14 Maciej W. Rozycki + + PR backtrace/13866 + * infrun.c (handle_inferior_event): Re-fetch frame and gdbarch + after hiding inline functions. + +2012-06-13 Joel Brobecker + + * inf-ttrace.c (_initialize_hppa_hpux_nat): Rename into + _initialize_inf_ttrace. + +2012-06-13 Joel Brobecker + + * ia64-hpux-nat.c (_initialize_ia64_hpux_nat): Renames + _initialize_hppa_hpux_nat. + +2012-06-13 Joel Brobecker + + * remote-sim.c (sim_command_completer): Change type of return + value to "VEC (char_ptr) *". Adjust implementation accordingly. + 2012-06-13 Mark Kettenis Jan Kratochvil diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS index 2588b8e..040c6c3 100644 --- a/gdb/MAINTAINERS +++ b/gdb/MAINTAINERS @@ -604,6 +604,7 @@ Grace Sainsbury graces@redhat.com Kei Sakamoto sakamoto.kei@renesas.com Mark Salter msalter@redhat.com Richard Sandiford richard@codesourcery.com +Iain Sandoe iain@codesourcery.com Peter Schauer Peter.Schauer@mytum.de Andreas Schwab schwab@linux-m68k.org Thomas Schwinge tschwinge@gnu.org diff --git a/gdb/amd64-dicos-tdep.c b/gdb/amd64-dicos-tdep.c index a262284..a983bb2 100644 --- a/gdb/amd64-dicos-tdep.c +++ b/gdb/amd64-dicos-tdep.c @@ -23,24 +23,6 @@ #include "amd64-tdep.h" #include "dicos-tdep.h" -static CORE_ADDR -amd64_dicos_push_dummy_code (struct gdbarch *gdbarch, - CORE_ADDR sp, CORE_ADDR funaddr, - struct value **args, int nargs, - struct type *value_type, - CORE_ADDR *real_pc, CORE_ADDR *bp_addr, - struct regcache *regcache) -{ - int bplen; - CORE_ADDR bppc = sp; - - gdbarch_breakpoint_from_pc (gdbarch, &bppc, &bplen); - *bp_addr = sp - bplen; - *real_pc = funaddr; - - return *bp_addr; -} - static void amd64_dicos_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { @@ -49,8 +31,6 @@ amd64_dicos_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) amd64_init_abi (info, gdbarch); dicos_init_abi (gdbarch); - - set_gdbarch_push_dummy_code (gdbarch, amd64_dicos_push_dummy_code); } static enum gdb_osabi diff --git a/gdb/amd64-linux-nat.c b/gdb/amd64-linux-nat.c index 5ebba3a..23eadbd 100644 --- a/gdb/amd64-linux-nat.c +++ b/gdb/amd64-linux-nat.c @@ -442,7 +442,7 @@ ps_err_e ps_get_thread_area (const struct ps_prochandle *ph, lwpid_t lwpid, int idx, void **base) { - if (gdbarch_ptr_bit (target_gdbarch) == 32) + if (gdbarch_bfd_arch_info (target_gdbarch)->bits_per_word == 32) { /* The full structure is found in . The second integer is the LDT's base_address and that is used to locate @@ -591,6 +591,71 @@ typedef struct compat_siginfo } _sifields; } compat_siginfo_t; +/* For x32, clock_t in _sigchld is 64bit aligned at 4 bytes. */ +typedef struct compat_x32_clock +{ + int lower; + int upper; +} compat_x32_clock_t; + +typedef struct compat_x32_siginfo +{ + int si_signo; + int si_errno; + int si_code; + + union + { + int _pad[((128 / sizeof (int)) - 3)]; + + /* kill() */ + struct + { + unsigned int _pid; + unsigned int _uid; + } _kill; + + /* POSIX.1b timers */ + struct + { + compat_timer_t _tid; + int _overrun; + compat_sigval_t _sigval; + } _timer; + + /* POSIX.1b signals */ + struct + { + unsigned int _pid; + unsigned int _uid; + compat_sigval_t _sigval; + } _rt; + + /* SIGCHLD */ + struct + { + unsigned int _pid; + unsigned int _uid; + int _status; + compat_x32_clock_t _utime; + compat_x32_clock_t _stime; + } _sigchld; + + /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */ + struct + { + unsigned int _addr; + } _sigfault; + + /* SIGPOLL */ + struct + { + int _band; + int _fd; + } _sigpoll; + } _sifields; +} compat_x32_siginfo_t; + #define cpt_si_pid _sifields._kill._pid #define cpt_si_uid _sifields._kill._uid hooks/post-receive -- Repository for Project Archer.