platform/upstream/binutils.git
12 years ago PR ld/12152
Rainer Orth [Mon, 5 Mar 2012 16:02:19 +0000 (16:02 +0000)]
PR ld/12152
* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Also ignore
overflows for R_SPARC_UA32 in .stab sections.

12 years ago * sh-tdep.c (sh_skip_prologue): Provide an upper limit on the function
Thomas Schwinge [Mon, 5 Mar 2012 15:16:39 +0000 (15:16 +0000)]
* sh-tdep.c (sh_skip_prologue): Provide an upper limit on the function
prologue to sh_analyze_prologue.
(sh_analyze_prologue): Make better use of such an upper limit, and
generally be more cautious about accessing memory.

12 years ago * ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Rename from
Tom Tromey [Mon, 5 Mar 2012 14:53:56 +0000 (14:53 +0000)]
* ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Rename from
_initialize_ia64_hpux_tdep.

12 years agoMention PR gdb/13766
Pedro Alves [Mon, 5 Mar 2012 14:24:03 +0000 (14:24 +0000)]
Mention PR gdb/13766

12 years ago2012-03-05 Pedro Alves <palves@redhat.com>
Pedro Alves [Mon, 5 Mar 2012 14:21:46 +0000 (14:21 +0000)]
2012-03-05  Pedro Alves  <palves@redhat.com>

* i387-tdep.c (i387_supply_xsave): If we have an xsave buffer, and
the register state is clear, supply explicit zero, instead of
marking the register unavailable.

12 years ago2012-03-05 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 5 Mar 2012 11:57:17 +0000 (11:57 +0000)]
2012-03-05  Tristan Gingold  <gingold@adacore.com>

* configure.ac: Enable gdb and readline for ia64*-*-*vms*.
* configure: Regenerate.

12 years ago2012-03-05 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 5 Mar 2012 11:46:35 +0000 (11:46 +0000)]
2012-03-05  Tristan Gingold  <gingold@adacore.com>

* NEWS: Mention OpenVMS ia64 new target.

12 years ago2012-03-05 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 5 Mar 2012 11:44:19 +0000 (11:44 +0000)]
2012-03-05  Tristan Gingold  <gingold@adacore.com>

* buildvms.com: New file.
* ia64vms-stub.c: New file.

12 years ago2012-03-05 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 5 Mar 2012 11:41:51 +0000 (11:41 +0000)]
2012-03-05  Tristan Gingold  <gingold@adacore.com>

* ia64-tdep.h: Include libunwind-frame.h and libunwind-ia64.h.
(ia64_unw_accessors, ia64_unw_rse_accessors)
(ia64_libunwind_descr): Declare.
* ia64-vms-tdep.c: New file.
* ia64-tdep.c (ia64_unw_accessors, ia64_unw_rse_accessors)
(ia64_libunwind_descr): Make them public.
* configure.tgt: Add ia64-*-*vms*.
* Makefile.in (ALL_64_TARGET_OBS): Add ia64-vms-tdep.o
(ALLDEPFILES): Add ia64-vms-tdep.c

12 years ago2012-03-05 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 5 Mar 2012 11:37:33 +0000 (11:37 +0000)]
2012-03-05  Tristan Gingold  <gingold@adacore.com>

* target.h (target_object): Add TARGET_OBJECT_OPENVMS_UIB.
* remote.c (PACKET_qXfer_uib): New enum value.
(remote_protocol_features): Add entry for PACKET_qXfer_uib.
(remote_xfer_partial): Handle TARGET_OBJECT_OPENVMS_UIB.
(_initialize_remote): Call add_packet_config_cmd for
xfer:uib packet.

doc/
2012-03-05  Tristan Gingold  <gingold@adacore.com>

* gdb.texinfo (General Query Packets): Document xfer:uib:read.

12 years ago2012-03-05 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 5 Mar 2012 11:33:36 +0000 (11:33 +0000)]
2012-03-05  Tristan Gingold  <gingold@adacore.com>

        * osabi.c (gdb_osabi_names): Add OpenVMS.
        (generic_elf_osabi_sniffer): Likewise.
        * defs.h (gdb_osabi): Add GDB_OSABI_OPENVMS.

12 years ago * configure.tgt (mips64*el-*-freebsd*, mips64*-*-freebsd*)
Hans-Peter Nilsson [Mon, 5 Mar 2012 04:02:20 +0000 (04:02 +0000)]
* configure.tgt (mips64*el-*-freebsd*, mips64*-*-freebsd*)
(mips*el-*-freebsd*, mips*-*-freebsd*): Correct triplets by
replacing trailing "-*" with "*".

12 years ago*** empty log message ***
gdbadmin [Mon, 5 Mar 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Sun, 4 Mar 2012 23:00:05 +0000 (23:00 +0000)]
daily update

12 years agosim: bfin: drop old linux/mii.h workarounds
Mike Frysinger [Sun, 4 Mar 2012 19:56:57 +0000 (19:56 +0000)]
sim: bfin: drop old linux/mii.h workarounds

We had some workarounds for old linux/mii.h headers, but it breaks with
newer ones.  So tweak the checks a bit to work with newer ones.  We'll
worry about older systems once someone complains.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agogdb/
Jan Kratochvil [Sun, 4 Mar 2012 19:22:47 +0000 (19:22 +0000)]
gdb/
Removed unused code.
* libunwind-frame.c (libunwind_frame_unwind)
(libunwind_frame_base_address): Remove.
* libunwind-frame.h (libunwind_frame_base_address): Remove declaration.

12 years agogdb/
Yao Qi [Sun, 4 Mar 2012 03:31:09 +0000 (03:31 +0000)]
gdb/
* common/agent.c (gdb_connect_sync_socket): Add _ markup and
remove trailing new line.
(agent_run_command, agent_run_command): Add _ markup.
(agent_capability_check): Likewise.

12 years agoFix indent of changelog entries.
Yao Qi [Sun, 4 Mar 2012 03:11:03 +0000 (03:11 +0000)]
Fix indent of changelog entries.

12 years agogdb/testsuite/
Yao Qi [Sun, 4 Mar 2012 02:36:38 +0000 (02:36 +0000)]
gdb/testsuite/
* gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
messages for KFAIL.

12 years ago*** empty log message ***
gdbadmin [Sun, 4 Mar 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Sat, 3 Mar 2012 23:00:05 +0000 (23:00 +0000)]
daily update

12 years agogdb/testsuite/
Jan Kratochvil [Sat, 3 Mar 2012 18:03:31 +0000 (18:03 +0000)]
gdb/testsuite/
* gdb.ada/arrayidx.exp: Call get_compiler_info.  New variable old_gcc.
(print one_two_three, indexes off, print few_reps, indexes off)
(print many_reps, indexes off, print empty, indexes off)
(print one_two_three, print few_reps, print many_reps, print empty):
Call setup_xfail if $gcc_old.

12 years agogdb/
Jan Kratochvil [Sat, 3 Mar 2012 14:21:04 +0000 (14:21 +0000)]
gdb/
* breakpoint.c (set_condition_evaluation_mode): Set
CONDITION_EVALUATION_MODE unconditionally.

gdb/testsuite/
Implement testsuite workaround for PR breakpoints/13781.
* gdb.cp/mb-templates.exp: New loop with variable $workaround.
(set breakpoint condition-evaluation host): New conditional command.

12 years agogdb/testsuite/
Jan Kratochvil [Sat, 3 Mar 2012 14:19:19 +0000 (14:19 +0000)]
gdb/testsuite/
Code cleanup.
* gdb.cp/mb-templates.exp: New variables executable.  Use it for
binfile.  use clean_restart.  Replace gdb_expect by gdb_test_multiple.
Replace GDB restart by kill and delete_breakpoints.  Replace breakpoint
number 1 by $bpnum.  Four times.

12 years agogdb:
Yao Qi [Sat, 3 Mar 2012 09:51:29 +0000 (09:51 +0000)]
gdb:
* common/agent.c (agent_look_up_symbols): Add one parameter 'arg'.
* common/agent.h: Update declaration.
* inf-child.c (inf_child_use_agent): New.
(inf_child_can_use_agent): New.
(inf_child_target): Initialize fields `to_use_agent'
and `to_can_use_agent'.
* agent.c (agent_new_objfile): New.
        (_initialize_agent): Add agent_new_objfile to new_objfile
observer.

* linux-nat.c (linux_child_static_tracepoint_markers_by_strid):
New.
        (linux_target_install_ops): Initialize field
`to_static_tracepoint_markers_by_strid'.
* remote.c (free_current_marker): Move it to ...
* tracepoint.c (free_current_marker): ... here.  New.
(cleanup_target_stop): New.
* tracepoint.h: Declare free_current_marker.
* NEWS: Add one entry about `info static-tracepoint-marker'.

gdb/gdbserver:
* tracepoint.c (tracepoint_look_up_symbols): Update call to
agent_look_up_symbols.

gdb/testsuite:
* gdb.trace/strace.exp: run strace_info_marker in linux native gdb.

12 years agogdb/testsuite/
Jan Kratochvil [Sat, 3 Mar 2012 06:58:16 +0000 (06:58 +0000)]
gdb/testsuite/
Setup KFAIL for PR server/13796.
* gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.

12 years agogdb:
Yao Qi [Sat, 3 Mar 2012 04:34:52 +0000 (04:34 +0000)]
gdb:
        * common/agent.c (agent_loaded_p): New.
        (agent_look_up_symbols): New global.
        * common/agent.h: Declare agent_loaded_p.

gdb/gdbserver:

        * Makefile.in (linux-low.o): Keep dependence on agent.h.
        (linux-x86-low.o): Likewise.
        * server.h: Remove in_process_agent_loaded.
        * tracepoint.c (in_process_agent_loaded): Removed.  Moved it
        common/agent.c.
        Update callers.

12 years agogdb:
Yao Qi [Sat, 3 Mar 2012 04:04:35 +0000 (04:04 +0000)]
gdb:
* common/agent.c (struct ipa_sym_addresses) <addr_capability>: New.
(agent_capability_check, agent_capability_invalidate): New.
(symbol_list): New array element.
* common/agent.h (enum agent_capa): New.
* target.c (target_pre_inferior): Call agent_capability_invalidate.

gdb/gdbserver:
* tracepoint.c (gdb_agent_capability): New global.
(in_process_agent_loaded_ust): Renamed to
`in_process_agent_supports_ust'.
Update callers.
(in_process_agent_supports_ust): Call agent_capability_check.
(clear_installed_tracepoints): Assert that agent supports
agent.

12 years agogdb:
Yao Qi [Sat, 3 Mar 2012 03:32:46 +0000 (03:32 +0000)]
gdb:
* target.h (struct target_ops) <to_use_agent>: New field.
(struct target_ops) <to_can_use_agent>: New field.
(target_use_agent, target_can_use_agent): New macro.
* target.c (update_current_target): Update.
* remote.c: New enum `PACKET_QAgent'.
(remote_protocol_features): Add a new element.
(remote_use_agent, remote_can_use_agent): New.
(init_remote_ops): Initialize field `can_use_agent' with
remote_can_use_agent.  Intiailize field `use_agent' with
remote_use_agent.
* common/agent.c (use_agent): New global.
* common/agent.h: Declare it.
* tracepoint.c (info_static_tracepoint_markers_command): Add
comment.
* Makefile.in (SFILES): Add common/agent.c and agent.c.
(COMMON_OBS): Add common/agent.o and agent.o
(common-agent.o): New rule.
* agent.c: New.

gdb/doc:
* gdb.texinfo (In-Process Agent): New node.
Document new commands.
(General Query Packets): Add packet `QAgent'.

gdb/gdbserver:
* linux-low.c (linux_supports_agent): New.
(linux_target_ops): Initialize field `supports_agent' with
linux_supports_agent.
* target.h (struct target_ops) <supports_agent>: New.
(target_supports_agent): New macro.
* server.c (handle_general_set): Handle packet 'QAgent'.
(handle_query): Send `QAgent+'.
* Makefile.in (server.o): Depends on agent.h.

12 years agogdb:
Yao Qi [Sat, 3 Mar 2012 03:08:36 +0000 (03:08 +0000)]
gdb:

* common/agent.c: New.
* common/agent.h: New.
* configure.ac: Add `sys/socket.h' and `sys/un.h' to
AC_CHECK_HEADERS.
* configure, configh.in: Regenerated.

gdb/gdbserver:

* Makefile.in (OBS): Add agent.o.
Add new rule for agent.o.
Track dependence of tracepoint.c on agent.h.
* tracepoint.c (run_inferior_command_1):
(run_inferior_command): Call agent_run_command.
(gdb_ust_connect_sync_socket): Deleted.  Move it to
common/agent.c.
(resume_thread, stop_thread): Likewise.
(gdb_ust_socket_init): Renamed to ...
(gdb_agent_socket_init): ... New.
(gdb_ust_thread): Renamed to ...
(gdb_agent_helper_thread): ... New.
(gdb_ust_init): Move some code to ...
(gdb_agent_init): ... here.  New.
[HAVE_UST]: Call gdb_ust_init.
(initialize_tracepoint_ftlib):  Call gdb_agent_init.
* configure.ac: Add `sys/un.h' to AC_CHECK_HEADERS.
* config.in, configure: Regenerated.

12 years ago * sh-tdep.c (sh_frame_cache): Don't fetch the FPSCR register
Kevin Buettner [Sat, 3 Mar 2012 01:27:47 +0000 (01:27 +0000)]
* sh-tdep.c (sh_frame_cache): Don't fetch the FPSCR register
unless it exists for this architecture.

12 years agoUpdate rx sim so that it'll print load statistics.
Kevin Buettner [Sat, 3 Mar 2012 01:23:45 +0000 (01:23 +0000)]
Update rx sim so that it'll print load statistics.

12 years ago*** empty log message ***
gdbadmin [Sat, 3 Mar 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Fri, 2 Mar 2012 23:00:05 +0000 (23:00 +0000)]
daily update

12 years agoNew Ada testcase for breakpoints on operators.
Joel Brobecker [Fri, 2 Mar 2012 20:36:41 +0000 (20:36 +0000)]
New Ada testcase for breakpoints on operators.

gdb/testsuite/ChangeLog:

        * gdb.ada/operator_bp: New testcase.

12 years agoTestcase: "info locals" with Ada renamings.
Joel Brobecker [Fri, 2 Mar 2012 19:31:53 +0000 (19:31 +0000)]
Testcase: "info locals" with Ada renamings.

gdb/testsuite/ChangeLog:

        * gdb.ada/info_locals_renaming: New testcase.

12 years ago * gdb.base/nextoverexit.c: New file.
Tom Tromey [Fri, 2 Mar 2012 19:29:57 +0000 (19:29 +0000)]
* gdb.base/nextoverexit.c: New file.
* gdb.base/nextoverexit.exp: New file.

12 years agolanguage-specific read_var_value for Ada renamings
Joel Brobecker [Fri, 2 Mar 2012 19:29:01 +0000 (19:29 +0000)]
language-specific read_var_value for Ada renamings

The purpose of this patch is to better support renamings in the
"info locals" command. Consider ...

    procedure Foo is
       GV : Integer renames Pck.Global_Variable;
    begin
       Increment (GV); -- STOP
    end Foo;

... Pck.Global_Variable is just an integer. After having stopped at
the "STOP" line, "info locals" yields:

    (gdb) info locals
    gv = <error reading variable gv (Cannot access memory at address 0xffffffffffffffff)>

In reality, two things are happening:

   (1) Variable "GV" does not exist, which is normal, since there is
       "GV" the renaming of another variable;

   (2) But to allow the user access to that renaming the same way
       the code has, the compiler produces an artificial variable
       whose name encodes the renaming:

        gv___XR_pck__global_variable___XE

       For practical reasons, the artificial variable itself is given
       irrelevant types and addresses.

But the "info locals" command does not act as if it was a short-cut
of "foreach VAR in locals, print VAR". Instead it gets the value of
each VAR directly, which does not work in this case, since the variable
is artificial and needs to be decoded first.

This patch makes the "read_var_value" routine language-specific.
The old implementation of "read_var_value" gets renamed to
"default_read_var_value" and all languages now use it (unchanged
behavior), except for Ada. In Ada, the new function ada_read_var_value
checks if we have a renaming, and if so, evaluates its value, or else
defers to default_read_var_value.

gdb/ChangeLog:

        * language.h (struct language_defn): New "method" la_read_var_value.
        * findvar.c: #include "language.h".
        (default_read_var_value): Renames read_var_value.  Rewrite
        function description.
        (read_var_value): New function.
        * value.h (default_read_var_value): Add prototype.
        * ada-lang.c (ada_read_renaming_var_value, ada_read_var_value):
        New functions.
        (ada_language_defn): Add entry for la_read_var_value.
        * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, language.c,
        * m2-lang.c, objc-lang.c, opencl-lang.c, p-lang.c: Update
        language_defn structures to add entry for new la_read_var_value
        field.

12 years ago2012-03-02 Tom Tromey <tromey@redhat.com>
Pedro Alves [Fri, 2 Mar 2012 19:26:10 +0000 (19:26 +0000)]
2012-03-02  Tom Tromey  <tromey@redhat.com>
    Pedro Alves  <palves@redhat.com>

PR breakpoints/13776:
* breakpoint.c (breakpoint_init_inferior): Delete step-resume
breakpoints.
(delete_longjmp_breakpoint_at_next_stop): New.
* breakpoint.h (delete_longjmp_breakpoint_at_next_stop): Declare.
* target.c (generic_mourn_inferior): Call mark_breakpoints_out
before deleting the inferior.  Add comments.
* thread.c (clear_thread_inferior_resources): Don't delete lonjmp
breakpoints immediately, but only on next stop.  Move that code
next to where we mark other breakpoints for deletion.

12 years agoFix ARI violations in mips-linux-nat.c and mips-tdep.c
Joel Brobecker [Fri, 2 Mar 2012 19:14:30 +0000 (19:14 +0000)]
Fix ARI violations in mips-linux-nat.c and mips-tdep.c

gdb/ChangeLog:

        * mips-linux-nat.c (mips_linux_read_description): Add missing i18n
        marker.
        * mips-tdep.c (mips_linux_reg_names): Improve comment to avoid ARI
        violation.

12 years agogdb/testsuite/
Edjunior Barbosa Machado [Fri, 2 Mar 2012 18:43:46 +0000 (18:43 +0000)]
gdb/testsuite/
2012-03-02  Edjunior Machado  <emachado@linux.vnet.ibm.com>

* gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
parameter.

12 years ago2012-03-02 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 2 Mar 2012 16:54:59 +0000 (16:54 +0000)]
2012-03-02  Pedro Alves  <palves@redhat.com>

* linux-thread-db.c (attach_thread): Avoid in_thread_list call.

12 years ago2012-03-02 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 2 Mar 2012 16:23:42 +0000 (16:23 +0000)]
2012-03-02  Pedro Alves  <palves@redhat.com>

* inferiors.c (add_pid_to_list, pull_pid_from_list): Delete.
* linux-low.c (struct simple_pid_list): New.
(stopped_pids): New a struct simple_pid_list pointer.
(add_to_pid_list, pull_pid_from_list): New.
(handle_extended_wait): Don't assume the first signal new children
report is SIGSTOP.  Adjust call to pull_pid_from_list.
(linux_wait_for_lwp): Adjust.

12 years ago Fix -Wmissing-prototypes build.
Ulrich Weigand [Fri, 2 Mar 2012 13:38:39 +0000 (13:38 +0000)]
Fix -Wmissing-prototypes build.
* ppc-linux-nat.c (ppc_linux_get_hwcap): Make static.
* remote-sim.c (gdbsim_has_all_memory): Likewise.
(gdbsim_has_memory): Likewise.

12 years agogdb/
Yao Qi [Fri, 2 Mar 2012 12:56:50 +0000 (12:56 +0000)]
gdb/
Fix -Wmissing-prototypes build.
* charset.c (phony_iconv_open): Make static.
(phony_iconv_close, phony_iconv): Likewise.
* i386-linux-nat.c (_initialize_i386_linux_nat): New prototype.
* i386-windows-nat.c (_initialize_i386_windows_nat): New
prototype.
* mingw-hdep.c (_initialize_mingw_hdep): New prototype.
* ser-mingw.c (create_select_thread): Make static.
* windows-termcap.c (tgetent): New prototype.
(tgetnum, tgetflag, tgetstr, tputs, tgoto): Likewise.

12 years agogdb/
Jan Kratochvil [Fri, 2 Mar 2012 05:38:51 +0000 (05:38 +0000)]
gdb/
Fix -Wmissing-prototypes build.
* windows-nat.c (dll_symbol_command, ctrl_c_handler): Make them static.
(_initialize_windows_nat, _initialize_check_for_gdb_ini)
(_initialize_loadable): New prototypes.

12 years ago * dwarf2read.c (load_full_comp_unit): Remove unnecessary reading of
Doug Evans [Fri, 2 Mar 2012 01:55:15 +0000 (01:55 +0000)]
* dwarf2read.c (load_full_comp_unit): Remove unnecessary reading of
abbrev table, read_comp_unit will do it.

12 years agogdb/gdbserver:
Yao Qi [Fri, 2 Mar 2012 00:18:51 +0000 (00:18 +0000)]
gdb/gdbserver:
* tracepoint.c (do_action_at_tracepoint): Write `stop_pc' in
debug log.

12 years agogdb/gdbserver:
Yao Qi [Fri, 2 Mar 2012 00:12:47 +0000 (00:12 +0000)]
gdb/gdbserver:
* tracepoint.c (collect_ust_data_at_tracepoint): Remove parameters
`stop_pc' and `tpoint'.  Update caller.

12 years agogdb/
Jan Kratochvil [Fri, 2 Mar 2012 00:06:13 +0000 (00:06 +0000)]
gdb/
Fix -Wmissing-prototypes build.
* alpha-tdep.c (alpha_deal_with_atomic_sequence): Make it static.
* amd64-darwin-tdep.c (_initialize_amd64_darwin_tdep): New prototype.
* amd64-windows-tdep.c (_initialize_amd64_windows_tdep): Likewise.
* arm-symbian-tdep.c (arm_symbian_skip_trampoline_code): Make it static.
(_initialize_arm_symbian_tdep): New prototype.
* arm-wince-tdep.c (arm_wince_skip_main_prologue): Make it static.
* i386-darwin-tdep.c (_initialize_i386_darwin_tdep): New prototype.
* i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Make it
static.
* lm32-tdep.c (_initialize_lm32_tdep): New prototype.
* microblaze-linux-tdep.c (_initialize_microblaze_linux_tdep): New
prototype.
* microblaze-tdep.c (microblaze_debug, microblaze_fetch_instruction)
(microblaze_skip_prologue, microblaze_frame_cache): Make them static.
* mips-linux-tdep.c (mips_linux_regset_from_core_section): Make it
static.
* moxie-tdep.c (moxie_process_record): Likewise.
* remote-mips.c (mips_can_use_watchpoint, mips_insert_watchpoint)
(mips_remove_watchpoint, mips_stopped_by_watchpoint): Make them static.
* rl78-tdep.c (rl78_breakpoint_from_pc): Make it static.
(_initialize_rl78_tdep): New prototype.
* rx-tdep.c (rx_breakpoint_from_pc): Make it static.
(_initialize_rx_tdep): New prototype.
* solib-darwin.c (darwin_in_dynsym_resolve_code): Make it static.
(_initialize_darwin_solib): New prototype.
* solib-spu.c: Include solib-spu.h.
(_initialize_spu_solib): New prototype.
* spu-multiarch.c (_initialize_spu_multiarch): New prototype.
* tic6x-tdep.c (tic6x_analyze_prologue, tic6x_skip_prologue)
(tic6x_breakpoint_from_pc, tic6x_frame_unwind_cache)
(tic6x_software_single_step): Make it static.
(_initialize_tic6x_tdep): New prototype.

12 years agogdb/
Jan Kratochvil [Fri, 2 Mar 2012 00:01:24 +0000 (00:01 +0000)]
gdb/
Fix -Wmissing-prototypes build.
* cris-tdep.c (cris_can_use_hardware_watchpoint)
(cris_region_ok_for_watchpoint, cris_stopped_data_address): Remove.

12 years ago*** empty log message ***
gdbadmin [Fri, 2 Mar 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agogdb/
Jan Kratochvil [Thu, 1 Mar 2012 23:58:48 +0000 (23:58 +0000)]
gdb/
Fix -Wmissing-prototypes build.
* frv-tdep.c (frv_check_watch_resources, frv_stopped_data_address)
(frv_have_stopped_data_address): Remove.

12 years agogdb/
Jan Kratochvil [Thu, 1 Mar 2012 23:55:40 +0000 (23:55 +0000)]
gdb/
Fix -Wmissing-prototypes build.
* Makefile.in (HFILES_NO_SRCDIR): Add sh64-tdep.h.
* sh-tdep.c: Include sh64-tdep.h.
* sh-tdep.h (sh64_gdbarch_init, sh64_show_regs): Remove declarations.
* sh64-tdep.c: Include sh64-tdep.h.
* sh64-tdep.h: New file.

12 years ago * mips-tdep.c (mips32_scan_prologue): Correct indentation.
Maciej W. Rozycki [Thu, 1 Mar 2012 23:35:46 +0000 (23:35 +0000)]
* mips-tdep.c (mips32_scan_prologue): Correct indentation.

12 years agodaily update
Alan Modra [Thu, 1 Mar 2012 23:00:05 +0000 (23:00 +0000)]
daily update

12 years ago * mips-tdep.c (mips_gdbarch_init): Only set pc_regnum and
Maciej W. Rozycki [Thu, 1 Mar 2012 22:52:03 +0000 (22:52 +0000)]
* mips-tdep.c (mips_gdbarch_init): Only set pc_regnum and
sp_regnum once the gdbarch_init_osabi hook has been called.

12 years agoFix typo in frame.h:read_frame_register_unsigned function description.
Joel Brobecker [Thu, 1 Mar 2012 22:47:46 +0000 (22:47 +0000)]
Fix typo in frame.h:read_frame_register_unsigned function description.

gdb/ChangeLog:

* frame.h (read_frame_register_unsigned): Fix typo in function
description.

12 years ago * mips-tdep.c (mips32_bc1_pc): New function.
Maciej W. Rozycki [Thu, 1 Mar 2012 22:37:51 +0000 (22:37 +0000)]
* mips-tdep.c (mips32_bc1_pc): New function.
(mips32_next_pc): Handle BC1ANY2F, BC1ANY2T, BC1ANY4F, BC1ANY4T,
BPOSGE32 and BPOSGE64 instructions.
(deal_with_atomic_sequence): Likewise.
(mips32_instruction_has_delay_slot): Likewise.

12 years ago gdb/
Maciej W. Rozycki [Thu, 1 Mar 2012 22:19:48 +0000 (22:19 +0000)]
gdb/
* features/mips-dsp.xml: New file.
* features/mips64-dsp.xml: New file.
* features/mips-dsp-linux.xml: New file.
* features/mips64-dsp-linux.xml: New file.
* features/Makefile (WHICH): Add mips-dsp-linux and
mips64-dsp-linux.
(mips-dsp-expedite, mips64-dsp-expedite): New variables.
* features/mips-dsp-linux.c: New file.
* features/mips64-dsp-linux.c: New file.
* regformats/mips-dsp-linux.dat: New file.
* regformats/mips64-dsp-linux.dat: New file.
* mips-linux-nat.c (mips_linux_register_addr): Handle DSP
registers.
(mips64_linux_register_addr): Likewise.
(mips64_linux_regsets_fetch_registers): Likewise.
(mips64_linux_regsets_store_registers): Likewise.
(mips64_linux_fetch_registers): Update call to
mips64_linux_regsets_fetch_registers.
(mips64_linux_store_registers): Update call to
mips64_linux_regsets_store_registers.
(mips_linux_read_description): Probe for DSP registers.
(_initialize_mips_linux_nat): Call initialize_tdesc_mips_dsp_linux
and initialize_tdesc_mips64_dsp_linux.
* mips-linux-tdep.c (supply_gregset, mips64_supply_gregset):
Remove padding of no longer used embedded register slots.
* mips-linux-tdep.h (DSP_BASE, DSP_CONTROL): New macros.
(MIPS_RESTART_REGNUM): Redefine enum value.
* mips-tdep.c (mips_generic_reg_names): Remove trailing null
strings.
(mips_tx39_reg_names): Likewise.
(mips_linux_reg_names): New array of register names for Linux
targets.
(mips_register_name): Check for a null pointer in
mips_processor_reg_names and return an empty string.
(mips_register_type): Exclude embedded registers for the IRIX
and Linux ABIs.
(mips_pseudo_register_type): Likewise.  Use dynamic numbers to
refer to FP registers, LO, HI, BadVAddr, Cause and PC.  Handle
DSP registers.
(mips_stab_reg_to_regnum): Handle DSP accumulators.
(mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise.
(mips_gdbarch_init): Likewise.  Initialize internal register
indices for the Linux ABI.  Use dynamic numbers to refer to
registers, as applicable, while parsing the target description.
* mips-tdep.h (struct mips_regnum): Add dspacc/dspctl offsets.

gdb/doc/
* gdb.texinfo (MIPS Features): Add org.gnu.gdb.mips.dsp.

gdb/gdbserver/
* linux-low.h (linux_target_ops): Add regset_bitmap member.
* linux-low.c (use_linux_regsets): New macro.
[!HAVE_LINUX_REGSETS] (regsets_fetch_inferior_registers): Likewise.
[!HAVE_LINUX_REGSETS] (regsets_store_inferior_registers): Likewise.
(linux_register_in_regsets): New function.
(usr_fetch_inferior_registers): Skip registers covered by
regsets.
(usr_store_inferior_registers): Likewise.
(usr_fetch_inferior_registers): New macro.
(usr_store_inferior_registers): Likewise.
(linux_fetch_registers): Handle mixed regset/non-regset targets.
(linux_store_registers): Likewise.
* linux-mips-low.c (init_registers_mips_dsp_linux): New
prototype.
(init_registers_mips64_dsp_linux): Likewise.
(init_registers_mips_linux): New macro.
(init_registers_mips_dsp_linux): Likewise.
(mips_dsp_num_regs): Likewise.
(DSP_BASE, DSP_CONTROL): New fallback macros.
(mips_base_regs): New macro.
(mips_regmap): Use it.  Fix the size.
(mips_dsp_regmap): New variable.
(mips_dsp_regset_bitmap): Likewise.
(mips_arch_setup): New function.
(mips_cannot_fetch_register): Use the_low_target.regmap rather
than mips_regmap.
(mips_cannot_store_register): Likewise.
(the_low_target): Update .arch_setup, .num_regs and .regmap
initializers.  Add .regset_bitmap initializer.
* linux-arm-low.c (the_low_target): Add .regset_bitmap
initializer.
* linux-bfin-low.c (the_low_target): Likewise.
* linux-cris-low.c (the_low_target): Likewise.
* linux-crisv32-low.c (the_low_target): Likewise.
* linux-ia64-low.c (the_low_target): Likewise.
* linux-m32r-low.c (the_low_target): Likewise.
* linux-m68k-low.c (the_low_target): Likewise.
* linux-ppc-low.c (the_low_target): Likewise.
* linux-s390-low.c (the_low_target): Likewise.
* linux-sh-low.c (the_low_target): Likewise.
* linux-sparc-low.c (the_low_target): Likewise.
* linux-tic6x-low.c (the_low_target): Likewise.
* linux-x86-low.c (the_low_target): Likewise.
* linux-xtensa-low.c (the_low_target): Likewise.
* configure.srv <mips*-*-linux*>: Add mips-dsp-linux.o and
mips64-dsp-linux.o to srv_regobj.  Add mips-dsp-linux.xml,
mips64-dsp-linux.xml, mips-dsp.xml and mips64-dsp.xml to
srv_xmlfiles.
* Makefile.in (mips-dsp-linux.o, mips-dsp-linux.c): New targets.
(mips64-dsp-linux.o, mips64-dsp-linux.c): Likewise.

gdb/testsuite/
* gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
core registers.

12 years ago2012-03-01 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 1 Mar 2012 21:26:48 +0000 (21:26 +0000)]
2012-03-01  Pedro Alves  <palves@redhat.com>

* jit-reader.in [!__cplusplus]
(GDB_DECLARE_GPL_COMPATIBLE_READER): Add missing backslash.

12 years ago2012-03-01 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 1 Mar 2012 21:14:53 +0000 (21:14 +0000)]
2012-03-01  Pedro Alves  <palves@redhat.com>

* configure.ac (build_warnings): Add -Wmissing-prototypes.
* configure: Regenerate.

12 years ago2012-03-01 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 1 Mar 2012 21:14:00 +0000 (21:14 +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.

12 years ago2012-03-01 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 1 Mar 2012 21:12:47 +0000 (21:12 +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.

12 years ago2012-03-01 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 1 Mar 2012 21:12:05 +0000 (21:12 +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.

12 years ago2012-03-01 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 1 Mar 2012 21:11:23 +0000 (21:11 +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.

12 years ago2012-03-01 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 1 Mar 2012 21:09:55 +0000 (21:09 +0000)]
2012-03-01  Pedro Alves  <palves@redhat.com>

* jit-reader.in (plugin_is_GPL_compatible): Add declarations for
both __cplusplus and !__cplusplus.

12 years ago2012-03-01 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 1 Mar 2012 21:09:16 +0000 (21:09 +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.

12 years ago2012-03-01 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 1 Mar 2012 21:08:37 +0000 (21:08 +0000)]
2012-03-01  Pedro Alves  <palves@redhat.com>

* inline-frame.c: Include inline-frame.h.

12 years ago2012-03-01 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 1 Mar 2012 21:08:07 +0000 (21:08 +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.

12 years ago2012-03-01 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 1 Mar 2012 21:07:31 +0000 (21:07 +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.

12 years ago2012-03-01 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 1 Mar 2012 21:06:54 +0000 (21:06 +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.

12 years ago2012-03-01 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 1 Mar 2012 21:06:14 +0000 (21:06 +0000)]
2012-03-01  Pedro Alves  <palves@redhat.com>

* inferior.c (delete_threads_of_inferior): Delete.

12 years ago2012-03-01 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 1 Mar 2012 21:05:31 +0000 (21:05 +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.

12 years ago2012-03-01 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 1 Mar 2012 21:03:15 +0000 (21:03 +0000)]
2012-03-01  Pedro Alves  <palves@redhat.com>

* ada-lang.c (ada_modulus_from_name): Delete.
* ada-lex.l (lexer_init): Make static.

12 years ago * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
Maciej W. Rozycki [Thu, 1 Mar 2012 21:01:11 +0000 (21:01 +0000)]
* gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".

12 years ago2012-03-01 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 1 Mar 2012 20:49:02 +0000 (20:49 +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.

12 years ago * gdb.cp/method2.exp: Output of overload menu is now
Keith Seitz [Thu, 1 Mar 2012 20:34:13 +0000 (20:34 +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.

12 years ago * linespec.c (decode_line_2): Sort the list of methods
Keith Seitz [Thu, 1 Mar 2012 20:33:09 +0000 (20:33 +0000)]
* linespec.c (decode_line_2): Sort the list of methods
alphabetically before presenting the user with a selection
menu.

12 years ago * gdb.base/help.exp (help show user): Update expected result
Keith Seitz [Thu, 1 Mar 2012 20:25:50 +0000 (20:25 +0000)]
* gdb.base/help.exp (help show user): Update expected result
for new doc string changes (add "non-python").

12 years ago * dwarf2read.c (dwarf2_cu): Remove unused members has_form_ref_addr,
Doug Evans [Thu, 1 Mar 2012 19:55:35 +0000 (19:55 +0000)]
* dwarf2read.c (dwarf2_cu): Remove unused members has_form_ref_addr,
has_namespace_info.
(dwarf2_read_abbrevs): Remove corresponding initialization.

12 years ago * NEWS: Mention new python command class gdb.COMMAND_USER.
Doug Evans [Thu, 1 Mar 2012 19:30:25 +0000 (19:30 +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".

12 years ago * valprint.h (struct generic_val_print_decorations): New.
Tom Tromey [Thu, 1 Mar 2012 19:27:18 +0000 (19:27 +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.

12 years ago * valprint.c (val_print): Update.
Tom Tromey [Thu, 1 Mar 2012 19:26:13 +0000 (19:26 +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.

12 years ago * value.h (val_print): Return void.
Tom Tromey [Thu, 1 Mar 2012 19:24:57 +0000 (19:24 +0000)]
* value.h (val_print): Return void.
* valprint.c (val_print): Return void.

12 years ago * value.h (common_val_print): Return void.
Tom Tromey [Thu, 1 Mar 2012 19:23:36 +0000 (19:23 +0000)]
* value.h (common_val_print): Return void.
* valprint.c (common_val_print): Return void.

12 years ago * value.h (value_print): Return void.
Tom Tromey [Thu, 1 Mar 2012 19:22:22 +0000 (19:22 +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.

12 years ago * value.c (value_primitive_field): Handle virtual base classes.
Tom Tromey [Thu, 1 Mar 2012 18:28:16 +0000 (18:28 +0000)]
* value.c (value_primitive_field): Handle virtual base classes.

12 years ago * gdbtypes.h (struct vbase): Remove.
Tom Tromey [Thu, 1 Mar 2012 18:26:13 +0000 (18:26 +0000)]
* gdbtypes.h (struct vbase): Remove.

12 years ago * c-valprint.c (print_function_pointer_address): Move...
Tom Tromey [Thu, 1 Mar 2012 18:25:19 +0000 (18:25 +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.

12 years ago[NEWS] Document condition at end of catch exception/assert commands
Joel Brobecker [Thu, 1 Mar 2012 18:12:43 +0000 (18:12 +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.

12 years ago * valprint.c (val_print_type_code_flags): Fix placement of
Tom Tromey [Thu, 1 Mar 2012 15:50:16 +0000 (15:50 +0000)]
* valprint.c (val_print_type_code_flags): Fix placement of
trailing brace.

12 years ago PR ld/13789
Hans-Peter Nilsson [Thu, 1 Mar 2012 08:24:10 +0000 (08:24 +0000)]
PR ld/13789
* ld-elf/zerosize1.d: Allow xyzzy to be either OBJECT or NOTYPE.

12 years ago * object.cc (need_decompressed_section): Add #ifdef ENABLE_THREADS.
Cary Coutant [Thu, 1 Mar 2012 07:27:38 +0000 (07:27 +0000)]
* object.cc (need_decompressed_section): Add #ifdef ENABLE_THREADS.

12 years agoDo not set MULTILINE_COMMENT_PREFIXES before calling update-copyright
Joel Brobecker [Thu, 1 Mar 2012 02:41:14 +0000 (02:41 +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.

12 years agoImport gnulib's latest update-copyright script...
Joel Brobecker [Thu, 1 Mar 2012 02:41:04 +0000 (02:41 +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.

12 years agoremove dead code in varobj.c:c_value_of_variable
Joel Brobecker [Thu, 1 Mar 2012 01:59:22 +0000 (01:59 +0000)]
remove dead code in varobj.c:c_value_of_variable

gdb/ChangeLog:

        * varobj.c (c_value_of_variable): Remove dead code.

12 years ago * elfxx-tilegx.c (tilegx_elf_relocate_section): Silence bogus warning.
Alan Modra [Thu, 1 Mar 2012 01:55:11 +0000 (01:55 +0000)]
* elfxx-tilegx.c (tilegx_elf_relocate_section): Silence bogus warning.

12 years ago*** empty log message ***
gdbadmin [Thu, 1 Mar 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Wed, 29 Feb 2012 23:00:05 +0000 (23:00 +0000)]
daily update