From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11111 invoked by alias); 3 Sep 2010 07:32:53 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 10971 invoked by uid 9674); 3 Sep 2010 07:32:49 -0000 Date: Fri, 03 Sep 2010 07:32:00 -0000 Message-ID: <20100903073248.10956.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-jankratochvil-fedora14: Merge remote branch 'origin/gdb_7_2-branch' into archer-jankratochvil-fedora14 X-Git-Refname: refs/heads/archer-jankratochvil-fedora14 X-Git-Reftype: branch X-Git-Oldrev: af507f71e376b19f8ee9d54067924790566440e8 X-Git-Newrev: 30a7ce8ffc2b54bc4453a127be8dd28a3ea6d299 X-SW-Source: 2010-q3/txt/msg00070.txt.bz2 List-Id: The branch, archer-jankratochvil-fedora14 has been updated via 30a7ce8ffc2b54bc4453a127be8dd28a3ea6d299 (commit) via 5feed060c6824bc390d5e99eca004b8b219a92c0 (commit) via 14a0e2cde5bfcb0a0c7bacd4fa70015632098b13 (commit) via e6926438252a33d9d95c1ca1f370ef3abb000050 (commit) via ae3e0aa24da687d5bbb4ed927201b324d199a41f (commit) via 34989914cf0b3445adafe750ee899c4470c5b447 (commit) via e637166c19a2be706107c4eef416e0ed48cdc0c9 (commit) via 8423443c339c3f51ec6ac382b9b0f36a1a46a725 (commit) via 52c0b9c7730ed99617c8d39847742220d1d15384 (commit) via b2a02c5a228af7bb4bc780119588fb92f482669f (commit) via 677a55f4b7a0052f43174a2f6974bbf3ce3e1286 (commit) via 4727010fec5661f1498ec31ad928fd6597339ae4 (commit) via a12a474308fb675f627f527460611f58e695204c (commit) via b8fdd823e54f132cbf53bba8b709aed530263baf (commit) via ec0e608abd4b2aba650aec263502ecc36586f8ad (commit) via 5af123ecb78ea9aef96cadc0c07da9fcb38ee24a (commit) via 53663c6ee920ec085155e80db959956bb5f13e30 (commit) via 635159936af4cd062e54cb34e44d584a86b41603 (commit) via 0862fb921acf456ae083ada61685c864139e0940 (commit) via 6ad683b447949956fd3070f8a84bf6d77c099741 (commit) via 400e18b7c516901507b33589d7e1f21f79f3ce5c (commit) via 61aa46ef92bd148cf08c5a6c848f21d4b76c6900 (commit) via 8541ad14df1e60f103f672773a9eed617ad7b06e (commit) via 62bb9ab3ae2f4f19e52fdc33d92193595cc495c9 (commit) via 63cc0f1c3903c8215893cc41103557d31fce3573 (commit) via b089cf75ec05880b557518a444af4149b848f463 (commit) via e7e6e2a46b483b327e83171d1b39dde3f7941e23 (commit) via 35f93e9e8fa2c302df2a0f04bf69f884bc27839d (commit) via 24660db925b8722743aba2a5fe0ecb9b0e1b954e (commit) via 1afc7758e886a59d4ad55ea7782dddf6f4fe18d8 (commit) via 81b5053579e82941ffdd682ce605eef5ec518ceb (commit) via 18d7c2b1fa488112c37302b7bd1e3d5fae326464 (commit) via a57da38498ab9f60e98003cc7714833decd39199 (commit) via 461721bf365f8e80fca4036c829c641c3a054fcc (commit) via 0435f77c72adbf1bdb95322e26520cd3a3cee4b1 (commit) via 1e77c4dc7186ff270b1964c4daf89daf4b1e4d97 (commit) via 5c599900430ea25c890609aa07e140eab8387223 (commit) via d7d8797c238954277f4a26c0d391bd436051fceb (commit) via 160d37a8f0194a7bbd44a91bf63cddac923c084b (commit) via e662a4d528c5d103544d0b6e2169b0921b20df05 (commit) via acdb1a724b7091bb0d9160271be9705c533f7700 (commit) via 4f375a0e5d822c6496d090118f62249452fcb2a4 (commit) via 5ad31112678c9aaf0478a1edcf7686475a717951 (commit) via cd0e10e1b239e1bbcf8c2d4ca55b6ab19a348493 (commit) via 6ce988e0b8d7dddf759ef8b02583e3024090cdb5 (commit) via ab40990dd4b1f32d2332b29d15b2e0d8f5cfd349 (commit) via deabd636fca816718ff93f02b1ba55c474d7d607 (commit) via 0da6427539977517f7665ef8fd7023eadda110c8 (commit) via fc4aafd93185f76575a0eaaf771e911b6729541b (commit) via 0725ec26aee321086be5f4eb75c0a8d1ab2b32ff (commit) via 5f87194acf901cc67dd5f0896d05b9b6940a2743 (commit) via bbf2bc21959a7b81746eb98ef2bdf048860e70d5 (commit) via 29f0986022a1d1fd7440a02233e92d3314038bd8 (commit) via ec30362b6c3428a6dbdc332a165ee8280b9059fb (commit) via c2052b0e7f3ee63a0e6af8523e82a78a58f05dca (commit) via 9519ebfd49811b0b1c949bbd9012de4671db8a00 (commit) via 9772882ae2d7ac8448b06b554fea631526022d17 (commit) via 8f58978a7768cbb70110eaf136641f8a3a465f0f (commit) via 5feef7c01a204fa606e6d1992a6e88681afcdd1c (commit) via 928d43440ba207d3d46fc3fbddd739b4044c20ab (commit) via a9860317574f459388ec0ab7c4de5f9c03c56571 (commit) via 582c012408a73234763de7825e4d554e5a584e64 (commit) via 64c344813afa4c00b880da70498c798eb3fe3901 (commit) via cf6530392c70d9aa29432624cc01c913e0f0c71d (commit) via 0e6c111e20133d95a1d84614ec1d23b7ac7783bf (commit) via bad9ceda1b70a0511ee6a588e1e3344e8b1d9c58 (commit) via f8a1ae91c1e514ba1a23eb6d1f92e15c7bf3c019 (commit) via 7e56c80e6e9abb8990baade20bc418d6306d15d8 (commit) via 62acb95065161d63b06520b9e33a372ce56ad6ec (commit) via 3f679d9e6b31c82702f6b7afca80492f8d3aba33 (commit) via 72977b73f3544249edafa80fa1e6e81d334de76d (commit) via 2d5e1c9512898ccffc75e64839d652a84dd1f4f1 (commit) via 3c9bcf68855e7f22db97447fdb91fd65419a22e0 (commit) via 3446b84077cc0d65346bfe740730673f5daf00c0 (commit) via 073ebdbeb2809486d5a976be6da6eb1152df3e3d (commit) via 2c70422705b66ef8d4477bc73632336f65ac335c (commit) via 8b850f0f4a98c654907d6716bdb6a0198d1df653 (commit) via 1c3bce6c48b2b0da78340f68d498fc2a9fa45bcc (commit) via 246946de5bca957b7c34a48222655bfa9ab60b54 (commit) via 9238639b233ad4da42ae6de33f1d95734585aac7 (commit) via d13f12e88a12a7744d755a7c63d748e0002ffb78 (commit) via d7d087193234adb87b63d2659f6f2e7985b5f47a (commit) via 52f292a02c9baa31790a6b78fdc7483874b71762 (commit) via ea8f06a2b443c1f4264a62b50badbd402caebc8f (commit) via 2f2ee99f2e55be950b03523e6afd338ceb1e4624 (commit) via 792b33a774bfce34b98c359314fb47fc1f2f1cf0 (commit) via 3a99f07239972e790d1c1e61636440348d7f6410 (commit) via e60e64716a4daba6c2111205ddbb34d5f6fb5701 (commit) via a7028d3232b509e94ce761d279da41ae3083f975 (commit) via 3e02f8520f3856466a1eea6dd51b19c02f9965a3 (commit) from af507f71e376b19f8ee9d54067924790566440e8 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 30a7ce8ffc2b54bc4453a127be8dd28a3ea6d299 Merge: af507f7 5feed06 Author: Jan Kratochvil Date: Fri Sep 3 09:31:07 2010 +0200 Merge remote branch 'origin/gdb_7_2-branch' into archer-jankratochvil-fedora14 Conflicts: gdb/configure gdb/configure.ac ----------------------------------------------------------------------- Summary of changes: gdb/ChangeLog | 211 +++++++ gdb/MAINTAINERS | 1 + gdb/Makefile.in | 4 +- gdb/NEWS | 75 +++- gdb/PROBLEMS | 102 +---- gdb/arm-linux-tdep.c | 94 +++- gdb/arm-tdep.c | 24 +- gdb/arm-tdep.h | 5 + gdb/breakpoint.c | 2 +- gdb/c-exp.y | 6 + gdb/cli/cli-cmds.c | 18 +- gdb/configure | 37 ++ gdb/configure.ac | 8 +- gdb/d-lang.c | 8 +- gdb/defs.h | 8 + gdb/doc/ChangeLog | 34 ++ gdb/doc/gdb.texinfo | 75 +++- gdb/dwarf2loc.c | 14 +- gdb/dwarf2read.c | 11 +- gdb/gdbcmd.h | 1 + gdb/gdbserver/ChangeLog | 11 + gdb/gdbserver/linux-low.c | 2 +- gdb/gdbserver/server.c | 4 +- gdb/gdbserver/utils.c | 20 +- gdb/infrun.c | 5 + gdb/mi/mi-main.c | 4 +- gdb/ppc-linux-nat.c | 2 +- gdb/psymtab.c | 2 +- gdb/python/python.c | 47 +-- gdb/record.c | 609 -------------------- gdb/remote.c | 3 +- gdb/symfile.c | 6 +- gdb/symtab.c | 2 +- gdb/target.c | 51 +- gdb/testsuite/ChangeLog | 84 +++ gdb/testsuite/gdb.arch/vsx-regs.exp | 20 +- .../charset-malloc.c} | 37 +- gdb/testsuite/gdb.base/charset.c | 6 +- gdb/testsuite/gdb.base/charset.exp | 11 +- gdb/testsuite/gdb.base/help.exp | 2 +- gdb/testsuite/gdb.base/printcmds.c | 6 + gdb/testsuite/gdb.base/printcmds.exp | 7 + gdb/testsuite/gdb.base/relocate.c | 7 + gdb/testsuite/gdb.base/solib-nodir.exp | 54 ++ .../gdb.dwarf2/dw2-ref-missing-frame-func.c | 2 + gdb/testsuite/gdb.gdb/selftest.exp | 8 +- gdb/testsuite/gdb.opt/inline-bt.c | 13 +- gdb/testsuite/gdb.opt/inline-bt.exp | 2 +- gdb/testsuite/gdb.opt/inline-cmds.c | 19 +- gdb/testsuite/gdb.opt/inline-locals.c | 13 +- gdb/testsuite/gdb.python/py-inferior.c | 10 +- gdb/testsuite/gdb.python/python.exp | 23 + gdb/testsuite/gdb.stabs/gdb11479.c | 14 +- gdb/testsuite/lib/gdb.exp | 5 + gdb/thread.c | 4 +- gdb/top.c | 36 ++ gdb/utils.c | 87 +++- gdb/version.in | 2 +- 58 files changed, 1057 insertions(+), 921 deletions(-) copy gdb/testsuite/{gdb.dwarf2/dw2-ref-missing-frame-func.c => gdb.base/charset-malloc.c} (60%) create mode 100644 gdb/testsuite/gdb.base/solib-nodir.exp First 500 lines of diff: diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1fbf5f8..7abb05a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,214 @@ +2010-09-03 Joel Brobecker + + * version.in: Set version to 7.2.0.20100903-cvs. + +2010-09-03 Joel Brobecker + + GDB 7.2 released. + +2010-09-02 Joel Brobecker + + * NEWS: Replace "Changes since GDB 7.1" by "Changes in GDB 7.2". + +2010-09-02 Joel Brobecker + + * version.in: Update GDB version number to 7.2. + +2010-09-02 Joel Brobecker + + Back out the following change: + | 2010-06-29 Hui Zhu + | * record.c (set_record_pic_cmdlist, + | show_record_pic_cmdlist): New variables. + | (set_record_pic_command, + | show_record_pic_command): New functions. + | (record_pic_function, record_pic_line, record_pic_enum, + | set_record_pic_type, record_pic_hide_nofunction, + | record_pic_hide_nosource, record_pic_hide_same): New variables. + | (record_pic_fputs): New function. + | (function_list, node_list, edge_list): New struct. + | (function_list, node_list, edge_list): New variables. + | (record_pic_cleanups, record_pic_node, + | record_pic_edge, cmd_record_pic): New functions. + | (_initialize_record): Add new commands for record pic. + +2010-09-01 Marc Khouzam + + * mi/mi-main.c (mi_cmd_list_target_features): Add `reverse' + as a feature reported by -list-target-features. + +2010-08-31 Michael Snyder + + * infrun.c (set_exec_direction_func): Error out if target does not + support reverse execution. + +2010-08-30 Yao Qi + + * arm-linux-tdep.c (arm_linux_sigreturn_return_addr): New. + (arm_linux_syscall_next_pc): New. + (arm_linux_copy_svc): Use arm_linux_sigreturn_return_addr instead. + (arm_linux_init_abi): Initialize syscall_next_pc. + * arm-tdep.c (thumb_get_next_pc_raw): Get next pc of SWI in Thumb mode. + (arm_get_next_pc_raw): Get next pc of SWI in ARM mode. + * arm-tdep.h (struct gdbarch_tdep): Add a function pointer syscall_next_pc. + Declare arm_frame_is_thumb. + +2010-08-27 Doug Evans + + * dwarf2read.c (dwarf2_per_objfile_free): Reorganize buffers to match + the order they're defined in. munmap .debug_types buffer. + +2010-08-19 Stan Shebs + + * NEWS: Mention some additional changes. + +2010-08-19 Tom Tromey + + * Makefile.in (install-python): Add DESTDIR. + +2010-08-19 Doug Evans + + PR exp/11926 + * c-exp.y (parse_number): Handle 0 return from sscanf. + +2010-08-19 Joel Brobecker + + * psymtab.c (map_symbol_filenames_psymtab): Call FUN with + the arguments in the correct order. + * symtab.c (maybe_add_partial_symtab_filename): Declare + the arguments in the correct order. + +2010-08-18 Tom Tromey + + PR python/11900: + * configure: Rebuild. + * configure.ac: Add install-python to CONFIG_INSTALL. + * Makefile.in (install-python): New. + +2010-08-14 Ulrich Weigand + + * arm-tdep.c (arm_push_dummy_call): Handle pointers to + typedef'ed function types correctly. + +2010-08-11 Brad Roberts + + * d-lang.c (extract_identifiers): Handle multiple digits. + +2010-08-09 Jan Kratochvil + + * defs.h (make_cleanup_restore_uinteger, make_cleanup_restore_ui_file) + (make_cleanup_restore_page_info) + (set_batch_flag_and_make_cleanup_restore_page_info): New declarations. + * gdbcmd.h (execute_command_to_string): New declaration. + * python/python.c (struct restore_ui_file_closure, restore_ui_file) + (make_cleanup_restore_ui_file): Move to utils.c + (execute_gdb_command) : Move ... + * top.c (execute_command_to_string): ... here. Call + set_batch_flag_and_make_cleanup_restore_page_info. + * utils.c (make_cleanup_restore_integer): New source file blank line. + (make_cleanup_restore_uinteger): New. + (struct restore_ui_file_closure, do_restore_ui_file) + (make_cleanup_restore_ui_file): Move here from python/python.c. + (init_page_info) + (do_restore_page_info_cleanup, make_cleanup_restore_page_info) + (set_batch_flag_and_make_cleanup_restore_page_info): New. + +2010-08-06 Maciej W. Rozycki + + * thread.c (add_thread_silent): Use null_ptid instead of + minus_one_ptid while getting rid of stale inferior_ptid. + +2010-08-05 Marc Khouzam + + * mi/mi-main.c (mi_cmd_remove_inferior): Properly access first + argument. + +2010-07-31 Renquan Cheng + + * MAINTAINERS: Add myself for write after approval privileges. + +2010-07-30 Tom Tromey + + * configure: Rebuild. + * configure.ac: Add missing case for Python 2.7. + +2010-07-29 Pedro Alves + + * PROBLEMS: Remove mention of all problems. + +2010-07-28 Oleg Nesterov + + * remote.c (readchar): Call pop_target in case of SERIAL_ERROR. + +2010-07-28 Tom Tromey + + * Makefile.in (HFILES_NO_SRCDIR): Remove link-warning.h. + +2010-07-28 Joel Brobecker + + * breakpoint.c (breakpoint_re_set_one): Move call to set_language + down, just before the block that parse the breakpoint addr_string. + +2010-07-28 CHENG Renquan + + * cli/cli-cmds.c (disassemble_command): Add support of disassemble + "start,+length" form of arguments. + * NEWS: Add "Changed commands" (disassemble) section for "Changes + since GDB 7.1"; and merge two separated paragraphs of disassemble + description in "Changes in GDB 7.0". + +2010-07-27 Jan Kratochvil + + * top.c (input_from_terminal_p): Return 0 on BATCH_FLAG. + * utils.c (defaulted_query): Do not explicitly check for BATCH_FLAG. + (fputs_maybe_filtered): Do not do filtering also on + ! INPUT_FROM_TERMINAL_P. + +2010-07-27 Thiago Jung Bauermann + + * ppc-linux-nat.c (store_vsx_register): Use PTRACE_GETVSXREGS to get + VSX registers contents. + +2010-07-27 Tom Tromey + + * dwarf2loc.c (locexpr_describe_location_piece): Also recognize + TLS with DW_OP_const4u or DW_OP_const8u. + +2010-07-22 Pedro Alves + + * NEWS: Mention target reported shared libraries support by + default. + +2010-07-21 Ozkan Sezer + + * target.c (debug_to_insert_breakpoint): Instead of casting to unsigned + long and %ld, use core_addr_to_string() and %s to print CORE_ADDR vars + and host_address_to_string() and %s for pointers. + (debug_to_remove_breakpoint): Likewise. + (debug_to_region_ok_for_hw_watchpoint): Likewise. + (debug_to_can_accel_watchpoint_condition): Likewise. + (debug_to_stopped_data_address): Likewise. + (debug_to_watchpoint_addr_within_range): Likewise. + (debug_to_insert_hw_breakpoint): Likewise. + (debug_to_remove_hw_breakpoint): Likewise. + (debug_to_insert_watchpoint): Likewise. + (debug_to_remove_watchpoint): Likewise. + +2010-07-21 Pedro Alves + + PR symtab/11827 + + Revert: + 2010-05-21 Pierre Muller + * dwarf2read.c (process_die): Also allow DW_TAG_const_type + and DW_TAG_volatile_type. + (new_symbol): Likewise. + +2010-07-20 Jan Kratochvil + + * symfile.c (find_separate_debug_file_by_debuglink): Remove + a gdb_assert call, new comment. + 2010-07-16 Thiago Jung Bauermann * NEWS: Mention support for the new ptrace interface and hardware diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS index e023426..2b3a3e0 100644 --- a/gdb/MAINTAINERS +++ b/gdb/MAINTAINERS @@ -482,6 +482,7 @@ Andrew Cagney cagney@gnu.org David Carlton carlton@bactrian.org Stephane Carrez stcarrez@nerim.fr Michael Chastain mec.gnu@mindspring.com +Renquan Cheng crq@gcc.gnu.org Eric Christopher echristo@apple.com Randolph Chung tausq@debian.org Nick Clifton nickc@redhat.com diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 6133da3..3703dca 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -743,7 +743,7 @@ ia64-tdep.h ada-lang.h varobj.h frv-tdep.h nto-tdep.h serial.h \ c-lang.h d-lang.h frame.h event-loop.h block.h cli/cli-setshow.h \ cli/cli-decode.h cli/cli-cmds.h cli/cli-dump.h \ cli/cli-script.h macrotab.h symtab.h version.h gnulib/wchar.in.h \ -gnulib/string.in.h gnulib/str-two-way.h gnulib/extra/link-warning.h \ +gnulib/string.in.h gnulib/str-two-way.h \ gnulib/stdint.in.h remote.h gdb.h sparc-nat.h gdbserver/win32-low.h \ gdbserver/i387-fp.h gdbserver/server.h gdbserver/terminal.h \ gdbserver/mem-break.h gdbserver/wincecompat.h gdbserver/target.h \ @@ -1043,6 +1043,8 @@ install-tui: $(INSTALL_DATA) $(srcdir)/gdb.1 \ $(DESTDIR)$(man1dir)/$$transformed_name.1 +install-python: + $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(GDB_DATADIR)/python/gdb uninstall: force $(CONFIG_UNINSTALL) transformed_name=`t='$(program_transform_name)'; \ diff --git a/gdb/NEWS b/gdb/NEWS index d3704b7..cd7fcd9 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -1,7 +1,15 @@ What has changed in GDB? (Organized release by release) -*** Changes since GDB 7.1 +*** Changes in GDB 7.2 + +* Shared library support for remote targets by default + + When GDB is configured for a generic, non-OS specific target, like + for example, --target=arm-eabi or one of the many *-*-elf targets, + GDB now queries remote stubs for loaded shared libraries using the + `qXfer:libraries:read' packet. Previously, shared library support + was always disabled for such configurations. * C++ Improvements: @@ -67,6 +75,26 @@ remote packets have been defined to support static tracepoints, see the "New remote packets" section below. +* Better reconstruction of tracepoints after disconnected tracing + + GDB will attempt to download the original source form of tracepoint + definitions when starting a trace run, and then will upload these + upon reconnection to the target, resulting in a more accurate + reconstruction of the tracepoints that are in use on the target. + +* Observer mode + + You can now exercise direct control over the ways that GDB can + affect your program. For instance, you can disallow the setting of + breakpoints, so that the program can run continuously (assuming + non-stop mode). In addition, the "observer" variable is available + to switch all of the different controls; in observer mode, GDB + cannot affect the target's behavior at all, which is useful for + tasks like diagnosing live systems in the field. + +* The new convenience variable $_thread holds the number of the + current thread. + * New remote packets qGetTIBAddr @@ -97,6 +125,15 @@ qXfer:statictrace:read tracepoint action). The remote stub reports support for this packet to gdb's qSupported query. +QAllow + + Send the current settings of GDB's permission flags. + +QTDPsrc + + Send part of the source (textual) form of a tracepoint definition, + which includes location, conditional, and action list. + * The source command now accepts a -s option to force searching for the script in the source search path even if the script name specifies a directory. @@ -182,6 +219,34 @@ strace FN | FILE:LINE | *ADDR | -m MARKER_ID Define a static tracepoint by probing a marker at the given function, line, address, or marker ID. +set observer on|off +show observer + Enable and disable observer mode. + +set may-write-registers on|off +set may-write-memory on|off +set may-insert-breakpoints on|off +set may-insert-tracepoints on|off +set may-insert-fast-tracepoints on|off +set may-interrupt on|off + Set individual permissions for GDB effects on the target. Note that + some of these settings can have undesirable or surprising + consequences, particularly when changed in the middle of a session. + For instance, disabling the writing of memory can prevent + breakpoints from being inserted, cause single-stepping to fail, or + even crash your program, if you disable after breakpoints have been + inserted. However, GDB should not crash. + +set record memory-query on|off +show record memory-query + Control whether to stop the inferior if memory changes caused + by an instruction cannot be recorded. + +* Changed commands + +disassemble + The disassemble command now supports "start,+length" form of two arguments. + * Python scripting ** GDB now provides a new directory location, called the python directory, @@ -531,8 +596,9 @@ or the "condition" command is available. GDB sends the condition to the target for evaluation using the same bytecode format as is used for tracepoint actions. -* "disassemble" command with a /r modifier, print the raw instructions -in hex as well as in symbolic form. +* The disassemble command now supports: an optional /r modifier, print the +raw instructions in hex as well as in symbolic form, and an optional /m +modifier to print mixed source+assembly. * Process record and replay @@ -624,9 +690,6 @@ qXfer:siginfo:write packet that permited the stub to pass a process id was removed. Remote servers should use the `T' stop reply packet instead. -* The "disassemble" command now supports an optional /m modifier to print mixed -source+assembly. - * GDB now supports multiple function calling conventions according to the DWARF-2 DW_AT_calling_convention function attribute. diff --git a/gdb/PROBLEMS b/gdb/PROBLEMS index 030f8ed..094957e 100644 --- a/gdb/PROBLEMS +++ b/gdb/PROBLEMS @@ -1,104 +1,6 @@ - Known problems in GDB 6.5 + Known problems in GDB 7.2 See also: http://www.gnu.org/software/gdb/bugs/ - -*** Build problems - -build/1411: build fails on hpux 10.20 and hpux 11.00 with CMA threads - -GDB does not build on HP/UX 10.20 or HP/UX 11.00 if the CMA -thread package is installed. The compile error is: - - ../../gdb/hpux-thread.c:222: variable-size type declared outside of any function - -This happens only if the CMA thread package is installed. - -As a workaround, you can disable support for CMA threads -by editing the file gdb/configure. Find the line: - - if test -f /usr/include/dce/cma_config.h ; then - -And replace it with: - - if false ; then - -*** Misc - -gdb/1560: Control-C does not always interrupt GDB. - -When GDB is busy processing a command which takes a long time to -complete, hitting Control-C does not have the expected effect. -The command execution is not aborted, and the "QUIT" message confirming -the abortion is displayed only after the command has been completed. - -*** C++ support - -gdb/931: GDB could be more generous when reading types C++ templates on input - -When the user types a template, GDB frequently requires the type to be -typed in a certain way (e.g. "const char*" as opposed to "const char *" -or "char const *" or "char const*"). - -gdb/1512: no canonical way to output names of C++ types - -We currently don't have any canonical way to output names of C++ types. -E.g. "const char *" versus "char const *"; more subtleties arise when -dealing with templates. - -gdb/1516: [regression] local classes, gcc 2.95.3, dwarf-2 - -With gcc 2.95.3 and the dwarf-2 debugging format, classes which are -defined locally to a function include the demangled name of the function -as part of their name. For example, if a function "foobar" contains a -local class definition "Local", gdb will say that the name of the class -type is "foobar__Fi.0:Local". - -This applies only to classes where the class type is defined inside a -function, not to variables defined with types that are defined somewhere -outside any function (which most types are). - -gdb/1588: names of c++ nested types in casts must be enclosed in quotes - -You must type - (gdb) print ('Foo::Bar') x -or - (gdb) print ('Foo::Bar' *) y -instead of - (gdb) print (Foo::Bar) x -or - (gdb) print (Foo::Bar *) y -respectively. - -gdb/1091: Constructor breakpoints ignored -gdb/1193: g++ 3.3 creates multiple constructors: gdb 5.3 can't set breakpoints - -When gcc 3.x compiles a C++ constructor or C++ destructor, it generates -2 or 3 different versions of the object code. These versions have -unique mangled names (they have to, in order for linking to work), but -they have identical source code names, which leads to a great deal of -confusion. Specifically, if you set a breakpoint in a constructor or a -destructor, gdb will put a breakpoint in one of the versions, but your -program may execute the other version. This makes it impossible to set -breakpoints reliably in constructors or destructors. - -gcc 3.x generates these multiple object code functions in order to -implement virtual base classes. gcc 2.x generated just one object code -function with a hidden parameter, but gcc 3.x conforms to a multi-vendor -ABI for C++ which requires multiple object code functions. - -*** Threads - -threads/1650: manythreads.exp - -On GNU/Linux systems that use the old LinuxThreads thread library, a -program rapidly creating and deleting threads can confuse GDB leading -to an internal error. - -This problem does not occur on newer systems that use the NPTL -library, and did not occur with GDB 6.1. - -threads/2137: Native Solaris Thread Debugging broken. - -Use GDB 6.4 if thread debugging is needed on Solaris. +None worth mentioning here. diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c index 15fc1c9..af11274 100644 --- a/gdb/arm-linux-tdep.c +++ b/gdb/arm-linux-tdep.c @@ -630,6 +630,82 @@ arm_linux_regset_from_core_section (struct gdbarch *gdbarch, return NULL; } +/* Copy the value of next pc of sigreturn and rt_sigrturn into PC, + and return 1. Return 0 if it is not a rt_sigreturn/sigreturn + syscall. */ +static int +arm_linux_sigreturn_return_addr (struct frame_info *frame, + unsigned long svc_number, + CORE_ADDR *pc) hooks/post-receive -- Repository for Project Archer.