public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-keiths-linespec-rewrite: reverse-20080717-branchpoint-10940-g907b711
@ 2012-03-01 23:08 kseitz
  0 siblings, 0 replies; only message in thread
From: kseitz @ 2012-03-01 23:08 UTC (permalink / raw)
  To: archer-commits

The branch, archer-keiths-linespec-rewrite has been created
        at  907b711122c212da995eaacffa5f49a8fa02f2be (commit)

- Log -----------------------------------------------------------------
commit 907b711122c212da995eaacffa5f49a8fa02f2be
Author: keiths <keiths@redhat.com>
Date:   Thu Mar 1 15:06:10 2012 -0800

    Fix -Wmissing-protoypes buglet.

commit 29e15dfda5a77b090fedb43a0aee42811fcc8d91
Author: keiths <keiths@redhat.com>
Date:   Thu Mar 1 14:27:53 2012 -0800

    Initial linespec rewrite v.0.0000000000001

commit 80ac8d5dbb66adfc9ef1cf33bc324c63b3cc03af
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 1 21:26:47 2012 +0000

    2012-03-01  Pedro Alves  <palves@redhat.com>
    
    	* jit-reader.in [!__cplusplus]
    	(GDB_DECLARE_GPL_COMPATIBLE_READER): Add missing backslash.

commit 0d291ed2326b9a58955c572a06fe189ede96dd84
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 1 21:14:51 2012 +0000

    2012-03-01  Pedro Alves  <palves@redhat.com>
    
    	* configure.ac (build_warnings): Add -Wmissing-prototypes.
    	* configure: Regenerate.

commit 00d27cd6c57e3fa18c25b9a8be95eee24dd52cb9
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 1 21:13:57 2012 +0000

    2012-03-01  Pedro Alves  <palves@redhat.com>
    
    	* amd64-linux-tdep.c (amd64_linux_record_signal): Make static.
    	* breakpoint.c (create_exception_master_breakpoint, trace_command)
    	(ftrace_command, strace_command): Make static.
    	* d-lang.c (_initialize_d_language): Declare.
    	* dwarf2expr.c (_initialize_dwarf2expr): Declare.
    	* dwarf2loc.c (_initialize_dwarf2loc):
    	* dwarf2read.c (process_psymtab_comp_unit): Make static.
    	* exec.c (exec_get_section_table): Make static.
    	* i386-linux-tdep.c (i386_linux_record_signal): Make static.
    	* infcmd.c (ensure_valid_thread, ensure_not_tfind_mode): Make static.
    	* inferior.c (remove_inferior_command, add_inferior_command)
    	(clone_inferior_command): Make static.
    	* linux-nat.c (linux_nat_thread_address_space)
    	(linux_nat_core_of_thread): Make static.
    	* linux-tdep.c (_initialize_linux_tdep): Declare.
    	* objc-lang.c (_initialize_objc_lang): Declare.
    	* opencl-lang.c (builtin_opencl_type, opencl_language_arch_info):
    	Make static.
    	(_initialize_opencl_language): Declare.
    	* record.c (_initialize_record): Declare.
    	* remote.c (demand_private_info, remote_get_tib_address)
    	(remote_supports_cond_tracepoints)
    	(remote_supports_fast_tracepoints, remote_get_tracepoint_status):
    	Make static.
    	* skip.c (_initialize_step_skip): Declare.
    	* symtab.c (skip_prologue_using_lineinfo): Make static.
    	* tracepoint.c (delete_trace_state_variable)
    	(trace_variable_command, delete_trace_variable_command)
    	(get_uploaded_tsv, find_matching_tracepoint_location)
    	(find_matching_tsv, create_tsv_from_upload, get_traceframe_info):
    	Make static.
    	* value.c (pack_unsigned_long): Make static.
    	* varobj.c (varobj_ensure_python_env): Make static.
    	* windows-tdep.c (_initialize_windows_tdep): Declare.
    	* xml-syscall.c (make_cleanup_free_syscalls_info): Make static.

commit d7421099dc404c7f68ae5d8463415b365a7d09c0
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 1 21:12:47 2012 +0000

    2012-03-01  Pedro Alves  <palves@redhat.com>
    
    	* linux-tdep.c (linux_has_shared_address_space): Make static.  Add
    	gdbarch parameter.
    	(linux_init_abi): Install it as has_shared_address_space gdbarch
    	callback.

commit 69592df5e64c73ce4966ebd35084b0c15e938907
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 1 21:12:04 2012 +0000

    2012-03-01  Pedro Alves  <palves@redhat.com>
    
    	* observer.c (observer_test_first_notification_function)
    	(observer_test_second_notification_function)
    	(observer_test_third_notification_function): Add declarations.

commit eae9ac185a655ee630af1a8f7a76e41125aec402
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 1 21:11:17 2012 +0000

    2012-03-01  Pedro Alves  <palves@redhat.com>
    
    	* common/signals.c (default_target_signal_to_host)
    	(default_target_signal_from_host): Move ...
    	* arch-utils.c: ... here.
    	* arch-utils.h (default_target_signal_to_host)
    	(default_target_signal_from_host): Declare.
    
    	* common/signals.c (target_signal_from_command): Move ...
    	* infrun.c: ... here.
    	* inferior.h (target_signal_from_command): Declare.
    	* target.h (target_signal_from_command)
    	(default_target_signal_from_host, default_target_signal_to_host):
    	Delete declarations.
    
    	* common/signals.c (_initialize_signals): Delete.

commit df19014971c3df33ff240b1ad1390fa50d81217e
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 1 21:09:55 2012 +0000

    2012-03-01  Pedro Alves  <palves@redhat.com>
    
    	* jit-reader.in (plugin_is_GPL_compatible): Add declarations for
    	both __cplusplus and !__cplusplus.

commit 765c912d797aa17e50b7abfb79ffabe61cf6df76
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 1 21:09:15 2012 +0000

    2012-03-01  Pedro Alves  <palves@redhat.com>
    
    	* psymtab.c (find_and_open_source): Delete declaration.
    	* source.c (find_and_open_source): Move comment ...
    	* source.h (find_and_open_source): ... to this new declaration.

commit d6c3151ae2205ef1736c6a551343001ba9a4cd53
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 1 21:08:37 2012 +0000

    2012-03-01  Pedro Alves  <palves@redhat.com>
    
    	* inline-frame.c: Include inline-frame.h.

commit f98b5cd8835cb900f7dd37295dfd914e324f9260
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 1 21:08:06 2012 +0000

    2012-03-01  Pedro Alves  <palves@redhat.com>
    
    	* tui/tui-data.c (set_gen_win_origin): Delete.
    	* tui/tui-data.h (tui_set_gen_win_origin): Delete declaration.
    	* tui/tui-regs.c (tui_last_reg_element_no_in_line): Delete.

commit 438b1d58de47e84c244a65ceed73a52512c039c4
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 1 21:07:30 2012 +0000

    2012-03-01  Pedro Alves  <palves@redhat.com>
    
    	* remote.c (encode_actions): Delete declaration.
    	* tracepoint.c (encode_actions): Make extern.
    	* tracepoint.h (encode_actions): Declare.

commit 8c9f854209e99904fad5125049de8b2faed4170d
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 1 21:06:54 2012 +0000

    2012-03-01  Pedro Alves  <palves@redhat.com>
    
    	* python/py-breakpoint.c: Include python.h.
    	* python/py-continueevent.c (create_continue_event_object): Make
    	static.
    	* python/py-lazy-string.c (stpy_get_type): Make static.
    	* python/py-newobjfileevent.c (create_new_objfile_event_object):
    	Make static.
    	* python/py-utils.c (unicode_to_target_python_string): Make
    	static.
    	* python/py-value.c: Include python.h.

commit e25dd303ca2ef75fe0ae14cb74753b24d2345c0e
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 1 21:06:14 2012 +0000

    2012-03-01  Pedro Alves  <palves@redhat.com>
    
    	* inferior.c (delete_threads_of_inferior): Delete.

commit 4a6d2f5040656e2a8be57420bc98c0f0ae8f46c8
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 1 21:05:28 2012 +0000

    2012-03-01  Pedro Alves  <palves@redhat.com>
    
    	Import fallback definitions from glibc.
    
    	* gdb_proc_service.h [!HAVE_PROC_SERVICE_H] (struct
    	ps_prochandle): Forward declare.
    	(ps_err_e): Use glibc's comments.
    	[!HAVE_PROC_SERVICE_H] (ps_pdread, ps_pdwrite, ps_ptread)
    	(ps_ptwrite, ps_lgetregs, ps_lsetregs, ps_lgetfpregs)
    	(ps_lsetfpregs, ps_getpid, ps_get_thread_area, ps_pglobal_lookup)
    	(ps_pstop, ps_pcontinue, ps_lstop, ps_lcontinue, ps_lgetxregsize)
    	(ps_lgetxregs, ps_lsetxregs, ps_plog): Declare.
    	(struct ps_prochandle): Adjust comment.

commit d2f734aa7f39d153b5379f1b4a158f4ab576aaf4
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 1 21:03:04 2012 +0000

    2012-03-01  Pedro Alves  <palves@redhat.com>
    
    	* ada-lang.c (ada_modulus_from_name): Delete.
    	* ada-lex.l (lexer_init): Make static.

commit 6171b52bd74b3145c8b81a69b3d51fb12094e0e9
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date:   Thu Mar 1 21:01:10 2012 +0000

    	* gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".

commit 28ba1e58b6af971416b80acf05617700359fe430
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 1 20:48:50 2012 +0000

    2012-03-01  Pedro Alves  <palves@redhat.com>
    
    	PR gdb/13767
    
    	gdb/
    	* frame.c (read_frame_register_unsigned): New.
    	* frame.h (read_frame_register_unsigned): Declare.
    	* i387-tdep.c (print_i387_status_word): New parameter `status_p'.
    	Handle it.
    	(print_i387_control_word): New parameter `control_p'.  Handle it.
    	(i387_print_float_info): Handle unavailable float registers.
    
    	gdb/testsuite/
    	* gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
    	(gdb_collect_globals_test): Call it.

commit fe594ff61b3961f1a96025198173c7572330784f
Author: Keith Seitz <keiths@redhat.com>
Date:   Thu Mar 1 20:34:11 2012 +0000

    	* gdb.cp/method2.exp: Output of overload menu is now
    	alphabetized.  Update tests for "break A::method".
    	* gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
    	of hard-coding them.
    	Overload menu is alphabetized: rewrite to accommodate.
    	Unset variables LINE and TYPES which are used in other tests.
    	Compute the output of "info break".
    	Update the breakpoint table after all breakpoints are deleted.
    	(continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
    	compute ACTUALS and the method body based on parameters.
    	Update expected output accordingly.
    	* gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
    	unique comments to allow the use of gdb_get_line_number.
    
    	* gdb.cp/method2.exp: Use prepare_for_testing and cleanup
    	some Tcl syntax.
    	* gdb.cp/ovldbreak.exp: Likewise.

commit d2bcac7d23f2bc807ccf0666e30834045b3598a5
Author: Keith Seitz <keiths@redhat.com>
Date:   Thu Mar 1 20:33:01 2012 +0000

    	* linespec.c (decode_line_2): Sort the list of methods
    	alphabetically before presenting the user with a selection
    	menu.

commit 55a5147158b466527f5d070dda6691df0335dd13
Author: Keith Seitz <keiths@redhat.com>
Date:   Thu Mar 1 20:25:48 2012 +0000

    	* gdb.base/help.exp (help show user): Update expected result
    	for new doc string changes (add "non-python").

commit 806ef06ae6289e0531eeed6b8f90521f9ccb54e6
Author: Doug Evans <dje@google.com>
Date:   Thu Mar 1 19:55:29 2012 +0000

    	* dwarf2read.c (dwarf2_cu): Remove unused members has_form_ref_addr,
    	has_namespace_info.
    	(dwarf2_read_abbrevs): Remove corresponding initialization.

commit 97c575f1e694776f4e5d7252321c7f89c6c40863
Author: Doug Evans <dje@google.com>
Date:   Thu Mar 1 19:30:17 2012 +0000

    	* NEWS: Mention new python command class gdb.COMMAND_USER.
    	* cli/cli-cmds.c (show_user): Print error when used on a python
    	command.
    	(init_cli_cmds): Update documentation strings for "show user" and
    	"set/show max-user-call-depth" to clarify that it does not apply to
    	python commands.
    	* python/py-cmd.c (cmdpy_init): Treat class_user as a valid class in
    	error check.
    	(gdbpy_initialize_commands): Add COMMAND_USER as a constant in
    	gdb python api.
    	* top.c (execute_command): Only execute a user-defined command as a
    	legacy macro if c->user_commands is set.
    
    	doc/
    	* gdb.texinfo (Commands In Python): Put example python macro in
    	COMMAND_USER category rather than COMMAND_OBSCURE.
    	Document gdb.COMMAND_USER.
    	(User-defined Commands): Update documentation to clarify
    	"set/show max-user-call-depth" and "show user" don't apply to python
    	commands.  Update documentation to clarify "help user-defined" may
    	also include python commands defined as COMMAND_USER.
    
    	testsuite/
    	* gdb.python/py-cmd.exp: Add test to verify that python commands can
    	be put in the user-defined category and that the commands appear in
    	"help user-defined".

commit ac55ab70cef76751d949f637dfbd28551a883bcb
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 1 19:27:18 2012 +0000

    	* valprint.h (struct generic_val_print_decorations): New.
    	(generic_val_print): Declare.
    	* valprint.c (generic_val_print): New function.
    	* p-valprint.c (p_decorations): New global.
    	(pascal_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM,
    	TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_RANGE, TYPE_CODE_INT,
    	TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ERROR, TYPE_CODE_UNDEF,
    	TYPE_CODE_BOOL, TYPE_CODE_CHAR>: Call generic_val_print.
    	* m2-valprint.c (m2_decorations): New global.
    	(m2_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM, TYPE_CODE_FUNC,
    	TYPE_CODE_BOOL, TYPE_CODE_RANGE, TYPE_CODE_INT, TYPE_CODE_CHAR,
    	TYPE_CODE_FLT, TYPE_CODE_METHOD, TYPE_CODE_VOID, TYPE_CODE_UNDEF,
    	TYPE_CODE_ERROR>: Call generic_val_print.
    	* f-valprint.c (f_decorations): New global.
    	(f_val_print): Use print_function_pointer_address.
    	<TYPE_CODE_REF, TYPE_CODE_FUNC, TYPE_CODE_CHAR, TYPE_CODE_FLAGS,
    	TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ENUM, TYPE_CODE_RANGE,
    	TYPE_CODE_BOOL, TYPE_CODE_COMPLEX, TYPE_CODE_UNDEF>: Call
    	generic_val_print.
    	* c-valprint.c (c_decorations): New global.
    	(c_val_print) <TYPE_CODE_MEMBERPTR, TYPE_CODE_REF, TYPE_CODE_ENUM,
    	TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_CODE_BOOL,
    	TYPE_CODE_RANGE, TYPE_CODE_CHAR, TYPE_CODE_FLT,
    	TYPE_CODE_DECFLOAT, TYPE_CODE_VOID, TYPE_CODE_ERROR,
    	TYPE_CODE_UNDEF, TYPE_CODE_COMPLEX>: Call generic_val_print.
    	* ada-valprint.c (ada_val_print_1) <TYPE_CODE_FLAGS>: Remove
    	case.

commit ad26b564b6127d039cb6dc50ddf6e00bb7a55bbb
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 1 19:26:12 2012 +0000

    	* valprint.c (val_print): Update.
    	* p-valprint (pascal_val_print): Return void.
    	* p-lang.h (pascal_val_print): Return void.
    	* m2-valprint.c (m2_val_print): Return void.
    	* m2-lang.h (m2_val_print): Return void.
    	* language.h (struct language_defn) <la_val_print>: Return void.
    	* language.c (unk_lang_val_print): Return void.
    	* jv-valprint.c (java_val_print): Return void.
    	* jv-lang.h (java_val_print): Return void.
    	* f-valprint.c (f_val_print): Return void.
    	* f-lang.h (f_val_print): Return void.
    	* d-valprint.c (d_val_print): Return void.
    	(dynamic_array_type): Update.
    	* d-lang.h (d_val_print): Return void.
    	* c-valprint.c (c_val_print): Return void.
    	* c-lang.h (c_val_print): Return void.
    	* ada-valprint.c (ada_vada_val_print, ada_val_print_1): Return
    	void.
    	* ada-lang.h (ada_val_print): Return void.

commit 7a5bc8ff981bf778bb2ab405d61832c4994dcfd4
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 1 19:24:57 2012 +0000

    	* value.h (val_print): Return void.
    	* valprint.c (val_print): Return void.

commit bbd75f30978450e2cf20537b529d926fc034b586
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 1 19:23:35 2012 +0000

    	* value.h (common_val_print): Return void.
    	* valprint.c (common_val_print): Return void.

commit be0e231fc490d5b36b7462a9e9b5e660d83bd0f1
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 1 19:22:22 2012 +0000

    	* value.h (value_print): Return void.
    	* valprint.c (value_print): Return void.
    	* p-valprint.c (pascal_value_print): Return void.
    	* p-lang.h (pascal_value_print): Return void.
    	* language.h (struct language_defn) <la_value_print>: Return
    	void.
    	* language.c (unk_lang_value_print): Return void.
    	* jv-valprint.c (java_value_print): Return void.
    	* jv-lang.h (java_value_print): Return void.
    	* f-valprint.c (c_value_print): Don't declare.
    	Include c-lang.h.
    	* c-valprint.c (c_value_print): Return void.
    	* c-lang.h (c_value_print): Return void.
    	* ada-valprint.c (ada_value_print): Return void.
    	* ada-lang.h (ada_value_print): Return void.

commit 5c4b7c74f38156e80e2b3c1c57f070ea45bcde1c
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 1 18:28:15 2012 +0000

    	* value.c (value_primitive_field): Handle virtual base classes.

commit 727f73957133e2122c87df9c0889b5c28a4a83ee
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 1 18:26:13 2012 +0000

    	* gdbtypes.h (struct vbase): Remove.

commit 021c6b73b067169f7776f15fff84b4921e0888e4
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 1 18:25:18 2012 +0000

    	* c-valprint.c (print_function_pointer_address): Move...
    	* valprint.c: ... here.  Make non-static.
    	* m2-valprint.c (print_function_pointer_address): Remove.
    	* valprint.h (print_function_pointer_address): Declare.

commit da131ab01383f3e555146dc6567e0fb1d9855567
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Mar 1 18:12:42 2012 +0000

    [NEWS] Document condition at end of catch exception/assert commands
    
    gdb/ChangeLog:
    
            * NEWS: Document the fact that one can provide a condition when
            creating an Ada exception catchpoint.

commit 5cdfa5e83f2c8ded9abdac1e0a1c7fdd8043bb3b
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 1 15:50:11 2012 +0000

    	* valprint.c (val_print_type_code_flags): Fix placement of
    	trailing brace.

commit fecfbdb9ad76a1206bd5a00ac14e1359dacf8fe6
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Mar 1 02:41:13 2012 +0000

    Do not set MULTILINE_COMMENT_PREFIXES before calling update-copyright
    
    This was a local hack to work around a limitation in update-copyright.
    But the limitation is now OBE, because the copyright statements should
    now always fit on a single line, thanks to the new policy of using
    one single year range in the copyright notice.
    
    gdb/ChangeLog:
    
            * copyright.py (MULTILINE_COMMENT_PREFIXES): Delete.
            (update_files): Do not set MULTILINE_COMMENT_PREFIXES
            environment variable before calling update-copyright.

commit edef4892142baf94bac024f819efb770693beca8
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Mar 1 02:41:01 2012 +0000

    Import gnulib's latest update-copyright script...
    
    ... and update our copyright.py script to set environment variable
    UPDATE_COPYRIGHT_USE_INTERVALS to '2' instead of '1'.  This tells
    the script to collapse all years into one single interval.
    
    gdb/ChangeLog:
    
            * gnulib/extra/update-copyright: Update to the latest from
            gnulib's git repository.
            * copyright.py: Set UPDATE_COPYRIGHT_USE_INTERVALS environment
            variable to 2 instead of 1.

commit df1ab18804dfaf58213c6075147bec7559deb086
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Mar 1 01:59:21 2012 +0000

    remove dead code in varobj.c:c_value_of_variable
    
    gdb/ChangeLog:
    
            * varobj.c (c_value_of_variable): Remove dead code.

commit 42a8d0e1c829015db282e3e7a402b5c330092446
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Mar 1 01:55:10 2012 +0000

    	* elfxx-tilegx.c (tilegx_elf_relocate_section): Silence bogus warning.

commit ecdbfb4b85fc480f4e68d6944e8efe72ae8a50ee
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Mar 1 00:00:03 2012 +0000

    *** empty log message ***

commit d3148c3970ecdcc9f63d80bba0f32b39ae05b87d
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Feb 29 23:00:05 2012 +0000

    daily update

commit 26cda9aebc1fcbc0f3c72e195caa8b75612f6a96
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Feb 29 19:53:16 2012 +0000

    [Ada] processId: Do not modify already encoded IDs
    
    The processID function is supposed to take a symbol name, and process it
    in a way that allows us to look that symbol up.  This patch is adding
    a guard to make sure that we do not apply any transformation if we detect
    that we are given an already-encoded symbol name.  For instance:
    
        gv___XR_pck__global_variable___XE
    
    This happens in the case where we are trying to print the value of
    a renaming. To do this, we simply parse and evaluate the XR symbol
    name as an expression. Without this change, the expression parser
    transforms gv___XR_pck__global_variable___XE into somethink like
    gv___xr_pck__global_variable___xe, which then screws up the rest
    of the renaming evaluation.
    
    gdb/ChangeLog:
    
            * ada-lex.p (processId): Do not modify already encoded IDs.
            Update function documentation.

commit 1e2c5ed467f77e124ace65a936f867445a786dfd
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Feb 29 19:51:47 2012 +0000

    ada-lang.c:ada_find_renaming_symbol minor improvement.
    
    This is a minor improvement in ada_find_renaming_symbol: What we were
    doing was going from a symbol, get its name, and then search for
    renamings.  But if the original symbol was already itself a renaming,
    then we'd look the symbol up again to return it.  Since we had the
    symbol in the first place, we shouldn't need to look it up again.
    
    This is what this patch does: Modify ada_find_renaming_symbol to
    take a symbol instead of the symbol's (linkage) name, and then updates
    the one caller.
    
    gdb/ChangeLog:
    
            * ada-lang.h (ada_find_renaming_symbol): Replace parameter
            "name" with "struct symbol *name_sym".
            * ada-exp.y (write_var_or_type): Update call to
            ada_find_renaming_symbol.
            * ada-lang.c (ada_find_renaming_symbol): Replace parameter
            "name" with "struct symbol *name_sym". Adjust Implementation
            accordingly.  Adjust the function documentation.

commit 7c6deeb7ab57fb0c586b9ac05676ae8fcd5e1c00
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Feb 29 19:50:21 2012 +0000

    Minor cleanup to a couple of functions in ada-lang.c.
    
    gdb/ChangeLog:
    
            * ada-lang.h (ada_find_any_symbol, ada_find_any_type): Delete.
            * ada-lang.c (ada_find_any_type): Add advance declaration.
            Make static.  Replace ada_find_any_symbol by
            ada_find_any_type_symbol.
            (ada_find_any_type_symbol): Renames ada_find_any_symbol.
            Improve function description.  Make static.
            (ada_find_renaming_symbol, find_old_style_renaming_symbol):
            Replace ada_find_any_symbol by ada_find_any_type_symbol.

commit 93079b205eb208e4a600dff84403b3c8280c8b74
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Feb 29 19:46:47 2012 +0000

    [Ada] avoid error message pollution with uninitialized tagged variable
    
    Consider the following function...
    
      3 procedure Foo is
      4    I : Integer := Ident (10);
      5    Obj : Base;
      6 begin
      7    Obj.X := I;
      8    Do_Nothing (Obj.X'Address);
      9 end Foo;
    
    ... where type "Base" is defined as a plain tagged record. If the user
    stops execution before "Obj" gets initialized (for example, by inserting
    a breakpoint "on" the function - or in other words, by inserting a
    breakpoint using the function name as the location), one might get
    the following of output if you try printing the value of obj:
    
        (gdb) p obj
        object size is larger than varsize-limit
        object size is larger than varsize-limit
        object size is larger than varsize-limit
        $1 = object size is larger than varsize-limit
        (x => 4204154)
    
    Same thing with "info locals":
    
       (gdb) info locals
        i = 0
        obj = object size is larger than varsize-limit
        (x => 4204154)
    
    We have also seen different error messages such as "Cannot read
    memory at 0x...".
    
    The error happens because we are trying to read the dispatch table
    of a tagged type variable before it gets initialized.  So the errors
    might legitimately occur, and are supposed to be be contained.
    However, the way things are written in ada-lang.c:ada_tag_name,
    although the exception is in fact contained, the error message still
    gets to be printed out.
    
    This patch prevents this from happening by eliminating the use of
    catch_errors, and using a TRY_CATCH block instead.  Doing this removed
    the need to use functions specifically fitted for catch_errors, and
    thus some other simplifications could me made.  In the end, the code
    got reorganized a bit to better show the logic behind it, as well as
    the common patterns.
    
    gdb/ChangeLog:
    
            * ada-lang.c (struct tag_args): Delete.
            (ada_get_tsd_type): Function body moved up in source file.
            (ada_tag_name_1, ada_tag_name_2): Delete.
            (ada_get_tsd_from_tag): New function.
            (ada_tag_name_from_tsd): New function.
            (ada_tag_name): Use a TRY_CATCH block instead of catch_errors
            to determine the tag name.
    
    gdb/testsuite/ChangeLog:
    
            * gdb.ada/tagged_not_init: New testcase.

commit a219eba792d6b074b14aa049879e0213bb9439ff
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Feb 29 19:44:09 2012 +0000

    [Ada] New functions to decode Ada types and values
    
    This patch introduces two new functions that will be used to support
    the implementation of the ada-varobj effort.  The function descriptions
    should say it all...
    
    gdb/ChangeLog:
    
            * ada-lang.h (ada_get_decoded_value, ada_get_decoded_type): Add
            declaration.
            * ada-lang.c (ada_get_decoded_value, ada_get_decoded_type): New
            function.

commit 6593eea0d90b6ca5e4cce4900ee618f0dbc4dcca
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Feb 29 19:37:04 2012 +0000

    [Ada] Fix comment in ada-lang.c:ada_is_ignored_field
    
    Fix a comment that completly mistunderstood the code...
    
    gdb/ChangeLog:
    
            * ada-lang.c (ada_is_ignored_field): Rewrite wrong comment.

commit 96eda7e01c0066ceef9f1000a4099bcd9229108f
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Feb 29 19:35:37 2012 +0000

    [Ada] Do not cache lookup result if not full_search
    
    The ada_lookup_symbol_list function has recently been changed to accept
    a "full_search" parameter. When null, this parameter instructs the
    function to perform a partial search (global and static symbols are not
    searched). When doing a partial search, the result should not be saved
    into the lookup cache, as the result might be incomplete.
    
    This manifested itself when trying to perform a function call on AVR
    after having inserted a breakpoint inside that function:
    
        (gdb) b same
        Breakpoint 2 at 0x78: file r.adb, line 5.
        (gdb) call same(42)
    
        Breakpoint 2, r.same (i=42) at r.adb:5
        5             return I;
        The program being debugged stopped while in a function called from GDB.
        Evaluation of the expression containing the function
        (at 0x0x800068) will be abandoned.
        ^^^^^^^^^^^^^^^
        When the function is done executing, GDB will silently stop.
    
    The expected output for the underlined portion is "(r.same)".
    
    What happens is that the breakpoint command triggers 3 lookups of the
    name "same":
      1. full search in LABEL_DOMAIN -> no match, cached;
      2. full search in VAR_DOMAIN -> 1 match, cached;
      3. partial search in VAR_DOMAIN -> no match, cached.
    
    The third lookup therefore causes the results of the partial search
    to be cached, thus overriding the result of the full search lookup.
    
    During the following command, the reference to "same" triggers a lookup
    of that symbol again. And since GDB CAN find the result of that lookup
    in the cache, it returns just that, which is: No match. (wrong!)
    
    As a result, we fallback on the symbol table to resolve the lookup.
    And instead of pushing an OP_VAR_VALUE subexpression for symbol "same",
    the parser ends up pushing an UNOP_MEMVAL subexpression using the value
    of the minimal symbol. This is where being on AVR becomes important:
    addresses on AVR are modular types, and if GDB thinks an address is
    a data address, it converts it.
    
    This is where one notices the fact that the breakpoint was inserted
    at 0x78, and yet GDB says that the function we stopped at is at
    0x0x800068...
    
    This patch fixes the problem by making sure we only cache the result
    of full searches.
    
    gdb/ChangeLog:
    
            * ada-lang.c (ada_lookup_symbol_list): Only cache the result of
            full searches.

commit f67852acb5d64d34b4faf113ce28934d6fc07630
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Feb 29 19:34:38 2012 +0000

    [Ada] print packed arrays indexed by enumerated type
    
    Consider the following declarations (a packed array indexed by an
    enumerated type):
    
        type Color is (Black, Red, Green, Blue, White);
        type Full_Table is array (Color) of Boolean;
        pragma Pack (Full_Table);
        Full : Full_Table := (False, True, False, True, False);
    
    GDB is unable to print the index values correctly. It prints the
    enumeration's underlying value instead of the enumeration name:
    
        (gdb) p full
        $1 = (0 => false, true, false, true, false)
        (gdb) p full'first
        $2 = 0
    
    And yet, it is capable of printing the correct type description:
    
        (gdb) ptype full
        type = array (black .. white) of boolean <packed: 1-bit elements>
    
    To get to the real index type, one has to follow the parallel XA type.
    We already do this for normal arrays. We can do it for this packed
    array as well.
    
    gdb/ChangeLog:
    
            * ada-lang.c (constrained_packed_array_type): If there is a
            parallel XA type, use it to determine the array index type.
    
    gdb/testsuite/ChangeLog:
    
            * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
            * gdb.ada/enum_idx_packed: New testcase.

commit ff7d6942104c853a31a16b6f181d1e0ea47a020a
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Feb 29 19:33:01 2012 +0000

    [Ada] Handle reference to array descriptors
    
    This patch is to help handle aliased array variables, such as:
    
       type Bounded is array (Integer range <>) of Integer;
       function New_Bounded (Low, High : Integer) return Bounded;
       BT : aliased Bounded := New_Bounded (Low => 1, High => 3);
    
    In that case, the compiler describes variable "BT" as a reference
    to a thin pointer, and GDB is unable to print its value:
    
        (gdb) p bt
        $1 =
    
    The problems starts when ada_value_print deconstructs the struct
    value into contents and address in order to call val_print. It
    turns out in this case that "bt" is not an lval. In the debug
    information, this variable's location is described as:
    
            .uleb128 0xd    # (DIE (0xe0) DW_TAG_variable)
            .ascii "bt\0"   # DW_AT_name
            [...]
            .byte   0x6     # DW_AT_location
            .byte   0x91    # DW_OP_fbreg
            .sleb128 -56
            .byte   0x6     # DW_OP_deref
            .byte   0x23    # DW_OP_plus_uconst
            .uleb128 0x8
            .byte   0x9f    # DW_OP_stack_value
    
    So, when ada_value_print passes the bt's (value) address, it passes
    in effect a meaningless address. The problem continues shortly after
    when ada_val_print_1 re-creates the value from the contents and address.
    The value has become an lval_memory, with a null address.
    
    As a result, we trigger a memory error later on, while trying to
    read the array bounds in order to transform our value into a simple
    array.
    
    To avoid the problem entirely, the fix is to coerce references before
    transforming array descriptors into simple arrays.
    
    gdb/ChangeLog:
    
            * ada-valprint.c (ada_val_print_1): If our value is a reference
            to an array descriptor, dereference it before converting it
            to a simple array.
    
    gdb/testsuite/ChangeLog:
    
            * gdb.ada/aliased_array: New testcase.

commit 89d745ee413279aa25e6fd0a3df16a874cba8e73
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Feb 29 19:30:53 2012 +0000

    Ada: ada_to_fixed_value should also unwrap_value
    
    We should always unwrap a value before trying to "fix" it. It is
    therefore logical that ada_to_fixed_value would call unwrap_value
    before creating the fixed value.
    
    This simplifies the code in ada-lang.c a bit.
    
    gdb/ChangeLog:
    
            * ada-lang.c (ada_to_fixed_value): Call unwrap_value before
            creating fixed value.
            (ada_value_ind, ada_coerce_ref, assign_component)
            (ada_evaluate_subexp): Remove call to unwrap_value before
            call to ada_to_fixed_value.

commit e31b2b38a5a60f27bf688f3e05caa880535ee8d1
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Feb 29 19:29:11 2012 +0000

    [Ada] whatis not printing array type name for value from history
    
    Consider the following declaration:
    
       type Full_Table is array (Color) of Integer;
       Full : Full_Table := (144, 233, 377, 610, 987);
    
    The debugger correctly prints the type name of variable "full":
    
            (gdb) whatis full
            type = pck.full_table
    
    But is unable to do so when using the value history:
    
            (gdb) print full
            $1 = (144, 233, 377, 610, 987)
            (gdb) whatis $
     !!! -> type = array (black .. white) of integer
    
    This is because the evaluation creates a "fixed" version of
    the array type, and that "fixed" version is missing a type name.
    As a result, whatis falls back to describing the type (a la ptype)
    instead of printing the type name.
    
    gdb/ChangeLog:
    
            * ada-lang.c (to_fixed_array_type): Set result's type name.
    
    gdb/testsuite/ChangeLog:
    
            * gdb.ada/whatis_array_val: New testcase.

commit 1ece286fdb1b5c413cf9b1f5d9ebc55e5068c417
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Feb 29 19:09:45 2012 +0000

    Add support for condition in Ada exception catchpoint commands
    
    Previously, conditions could be associated to Ada exception catchpoints,
    but not while creating the exception catchpoint:
    
        (gdb) catch exception first_exception if except_counter = 5
        Junk at end of expression
    
    This patch improves the parsing of the command arguments to allow
    an "if CONDITION" at the end.  All Ada exception catchpoint commands
    have been enhanced to support this.
    
    gdb/ChangeLog:
    
            * ada-lang.c (catch_ada_exception_command_split): Add new
            argument cond_string.  Add support for condition at end of
            "catch exception" commands.
            (ada_decode_exception_location): Add new argument cond_string.
            Update call to catch_ada_exception_command_split.
            (create_ada_exception_catchpoint): Add new argument cond_string.
            Set the breakpoint condition if needed.
            (catch_ada_exception_command): Update call to
            ada_decode_exception_location.
            (ada_decode_assert_location): Add function documentation.
            Add support for condition at end of "catch assert" command.
            (catch_assert_command): Update calls to ada_decode_assert_location
            and create_ada_exception_catchpoint.

commit c5a7f72d9b9da7b13373bfe2090e70e85e6e0d3a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Feb 29 14:59:40 2012 +0000

    gdb/
    	Fix disp-step-syscall.exp: fork: single step over fork.
    	* i386-linux-tdep.c (-i386_linux_get_syscall_number): Rename to ...
    	(i386_linux_get_syscall_number_from_regcache): ... here, new function
    	comment, change parameters gdbarch and ptid to regcache.  Remove
    	parameter regcache, initialize gdbarch from regcache here.
    	(i386_linux_get_syscall_number, i386_linux_displaced_step_copy_insn):
    	New functions.
    	(i386_linux_init_abi): Install i386_linux_displaced_step_copy_insn
    	instead.
    	* i386-tdep.c (i386_syscall_p): Check also for 'sysenter' and
    	'syscall'.  Make the 'int' check more strict.
    
    gdb/testsuite/
    	Fix disp-step-syscall.exp: fork: single step over fork.
    	* gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
    	whitespaces.
    	(single step over $syscall): Remove its check.
    	(single step over $syscall final pc): New check.

commit 380281ab3fa3d6724a92fb5ccbdcef7ac09616c8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Feb 29 14:56:54 2012 +0000

    gdb/
    	Fix reverse mode for syscall on AMD CPUs in 32-bit mode.
    	* i386-linux-tdep.c (i386_linux_intx80_sysenter_record): Rename to ...
    	(i386_linux_intx80_sysenter_syscall_record): ... here.
    	(i386_linux_init_abi): Initialize also I386_SYSCALL_RECORD.
    	Use the renamed function name.

commit a47f7e625860970c54e8c77d83aa7a1521863e34
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Feb 29 14:55:45 2012 +0000

    gdb/testsuite/
    	Support processors without SSSE3.
    	* gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
    	pabsd into ...
    	(ssse3_test): ... a new function.
    	(main): Call ssse3_test.
    	* gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
    	Update expected values everywhere.
    	(reverse-step to pabsd, verify xmm0 after reverse pabsd)
    	(verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
    	(reverse-step to pabsw, verify xmm0 after reverse pabsw)
    	(verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
    	(reverse-step to pabsb, verify xmm0 after reverse pabsb)
    	(verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
    	Move these tests lower.
    	(set breakpoint at end of ssse3_test, continue to end of ssse3_test)
    	(verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
    	(verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
    	New tests.

commit 090cdae71eb2221fe6ae2f79178152deb033f61a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Feb 29 14:52:40 2012 +0000

    gdb/
    	* arm-linux-tdep.c (arm_linux_copy_svc): Reset stale FRAME.
    	* breakpoint.c (until_break_command): Likewise.
    	* elfread.c (elf_gnu_ifunc_resolver_stop): Likewise.
    	* infcall.c (call_function_by_hand): Likewise.
    	* infcmd.c (finish_forward): Likewise.
    	* infrun.c (insert_exception_resume_breakpoint): Likewise.

commit 8523da3398612541899fd1c66bcb928d940a92f8
Author: qiyao <qiyao>
Date:   Wed Feb 29 13:59:39 2012 +0000

    gdb/gdbserver:
    
    2012-02-29  Yao Qi  <yao@codesourcery.com>
    	    Pedro Alves  <palves@redhat.com>
    
    	* linux-low.c (linux_wait_1): Call unsuspend_all_lwps when
    	`step_over_finished' is true.
    
    gdb/testsuite:
    
    2012-02-29  Yao Qi  <yao@codesourcery.com>
    	    Pedro Alves  <palves@redhat.com>
    
    	* gdb.trace/trace-mt.c: New
    	* gdb.trace/trace-mt.exp: New.

commit d290d98ea3a1424eb6eb3db343f3943d47d3437a
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Feb 29 00:00:33 2012 +0000

    *** empty log message ***

commit 530c5d08c4d40d94af91a37263fd77c5d109bc75
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Feb 28 23:00:05 2012 +0000

    daily update

commit 74d9b0405a8975f28f00f27352afbf3bb6276b03
Author: tschwinge <tschwinge>
Date:   Tue Feb 28 22:40:47 2012 +0000

    gdb/testsuite/
    	* gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
    	numbers instead of hardcoding them.
    	* gdb.base/annota1.c: Provide suitable markers.
    	* gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
    	numbers instead of hardcoding them.
    	* gdb.base/annota3.c: Provide suitable markers.

-----------------------------------------------------------------------


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-01 23:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-01 23:08 [SCM] archer-keiths-linespec-rewrite: reverse-20080717-branchpoint-10940-g907b711 kseitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).