Denis Pilat [Wed, 18 Apr 2007 07:21:33 +0000 (07:21 +0000)]
2007-04-18 Denis Pilat <denis.pilat@st.com>
* infcmd.c (post_create_inferior): Start with a call to
target_terminal_ours().
Alan Modra [Wed, 18 Apr 2007 03:55:10 +0000 (03:55 +0000)]
ld/
* ldlang.h (enum section_type): Add overlay_section.
* ldlang.c (lang_add_section): Handle flags for overlay_section
as per normal_section.
(lang_size_sections_1): When setting lma, detect overlays by
os->sectype rather than by looking for overlapping vmas.
(lang_enter_overlay_section): Use overlay_section type.
(lang_leave_overlay): Set first overlay section to normal.
ld/testsuite/
* ld-spu/ovl.lnk: Use OVERLAY keyword.
Alan Modra [Wed, 18 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 18 Apr 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Paul Brook [Tue, 17 Apr 2007 20:09:52 +0000 (20:09 +0000)]
2007-04-17 Paul Brook <paul@codesourcery.com>
bfd/
* elf.c (_bfd_elf_is_function_type): New function.
* elflink.c (_bfd_elf_merge_symbol): Use bed->is_function_type.
(_bfd_elf_dynamic_symbol_p, _bfd_elf_symbol_refs_local_p,
is_global_data_symbol_definition, elf_link_add_object_symbols): Ditto.
* elf-bfd.h (elf_backend_data): Add is_function_type.
(_bfd_elf_is_function_type): Add prototype.
* elfxx-target.h (elf_backend_is_function_type): Add default
definition.
(elfNN_bed): Add elf_backend_is_function_type.
* elf32-arm.c (elf32_arm_is_function_type): New function.
(elf_backend_is_function_type): Define.
ld/testsuite/
* ld-arm/preempt-app.s: New test.
* ld-arm/preempt-app.sym: New.
* ld-arm/arm-elf.exp: Add preempt-app.
Maciej W. Rozycki [Tue, 17 Apr 2007 17:57:03 +0000 (17:57 +0000)]
* mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some
brackets.
(mips_n32n64_push_dummy_call): Likewise. Reformat some
expressions.
(mips_o32_push_dummy_call): Likewise.
(mips_o64_push_dummy_call): Likewise.
Maciej W. Rozycki [Tue, 17 Apr 2007 16:25:49 +0000 (16:25 +0000)]
* mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
comment.
Maciej W. Rozycki [Tue, 17 Apr 2007 16:05:25 +0000 (16:05 +0000)]
* mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
comment.
(mips_o32_push_dummy_call): Likewise.
Andreas Schwab [Tue, 17 Apr 2007 15:07:21 +0000 (15:07 +0000)]
* symtab.c (skip_prologue_using_sal): Allow the end of the prologue
sal to be bigger than the end of the function.
Maciej W. Rozycki [Tue, 17 Apr 2007 14:48:49 +0000 (14:48 +0000)]
* mips-tdep.c (mips_o32_push_dummy_call): Take account of
argument alignment requirements when calculating stack space
required. When aligning an arg register to eight bytes
boundary, align stack_offset too. Write floating-point
arguments to the appropriate integer register if need go there.
(mips_o64_push_dummy_call): Likewise.
Daniel Jacobowitz [Tue, 17 Apr 2007 13:14:08 +0000 (13:14 +0000)]
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Put
DT_MIPS_RLD_MAP before DT_DEBUG again.
Alan Modra [Tue, 17 Apr 2007 00:00:10 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 17 Apr 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Kaz Kojima [Mon, 16 Apr 2007 13:05:30 +0000 (13:05 +0000)]
* config/tc-sh.c (sh_handle_align): Call as_bad_where instead
of as_warn_where for misaligned data.
Denis Pilat [Mon, 16 Apr 2007 12:13:16 +0000 (12:13 +0000)]
2007-04-16 Denis Pilat <denis.pilat@st.com>
* gdb.base/setshow.exp: Reset height after having set it to 100.
Denis Pilat [Mon, 16 Apr 2007 12:06:22 +0000 (12:06 +0000)]
2007-04-16 Denis Pilat <denis.pilat@st.com>
* gdb.mi/mi2-stack.exp: update from mi-stack.exp.
Denis Pilat [Mon, 16 Apr 2007 12:02:31 +0000 (12:02 +0000)]
2007-04-16 Denis Pilat <denis.pilat@st.com>
* gdb.mi/mi2-var-display.exp: Test for the fullname field.
gdbadmin [Mon, 16 Apr 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 16 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update
Kaz Kojima [Sun, 15 Apr 2007 22:02:25 +0000 (22:02 +0000)]
* config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
rs_fill frags.
Alan Modra [Sun, 15 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 15 Apr 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Steve Ellcey [Sat, 14 Apr 2007 20:45:09 +0000 (20:45 +0000)]
* Makefile.am: Add ACLOCAL_AMFLAGS.
* Makefile.in: Regenerate.
Steve Ellcey [Sat, 14 Apr 2007 20:38:13 +0000 (20:38 +0000)]
* Makefile.am: Add ACLOCAL_AMFLAGS.
* configure.in: Change macro call order.
* Makefile.in: Regenerate.
* configure: Regenerate.
Steve Ellcey [Sat, 14 Apr 2007 20:36:56 +0000 (20:36 +0000)]
* Makefile.am: Add ACLOCAL_AMFLAGS.
* configure.in: Change macro call order.
* Makefile.in: Regnerate.
* doc/Makefile.in: Regenerate.
* configure: Regenerate.
Steve Ellcey [Sat, 14 Apr 2007 20:35:07 +0000 (20:35 +0000)]
* config-ml.in: Update from GCC.
Ulrich Weigand [Sat, 14 Apr 2007 18:10:54 +0000 (18:10 +0000)]
* gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and
"sig" arguments, add "regcache" argument.
* gdbarch.c, gdbarch.h: Regenerate.
* infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments.
(handle_inferior_event): Call remove_single_step_breakpoints directly
instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints.
* alpha-tdep.c (alpha_software_single_step): Update argument list.
Remove handling of !insert_breakpoints_p case.
* arm-tdep.c (arm_software_single_step): Likewise.
* cris-tdep.c (cris_software_single_step): Likewise.
* mips-tdep.c (mips_software_single_step): Likewise.
* rs6000-tdep.c (rs6000_software_single_step): Likewise.
* sparc-tdep.c (sparc_software_single_step): Likewise.
* spu-tdep.c (spu_software_single_step): Likewise.
* alpha-tdep.h (alpha_software_single_step): Update prototype.
* mips-tdep.h (mips_software_single_step): Likewise.
* rs6000-tdep.h (rs6000_software_single_step): Likewise.
* sparc-tdep.h (sparc_software_single_step): Likewise.
Ulrich Weigand [Sat, 14 Apr 2007 16:17:39 +0000 (16:17 +0000)]
* alpha-tdep.c (alpha_software_single_step): Do not call write_pc
when removing single-step breakpoints.
Kaz Kojima [Sat, 14 Apr 2007 14:21:11 +0000 (14:21 +0000)]
* config/tc-sh.c (align_test_frag_offset_fixed_p): New.
(sh_optimize_expr): Likewise.
* config/tc-sh.h (md_optimize_expr): Define.
(sh_optimize_expr): Prototype.
Jakub Jelinek [Sat, 14 Apr 2007 13:01:24 +0000 (13:01 +0000)]
* elflink.c (bfd_elf_final_link): Don't free symbuf for
non-elf input bfds.
(bfd_elf_size_dynamic_sections): Don't access elf_section_data
for non-elf input bfds.
Vladimir Prus [Sat, 14 Apr 2007 09:51:30 +0000 (09:51 +0000)]
* varobj.h (varobj_set_frozen): New
(varobj_get_frozen): New.
(varobj_update): New parameter explicit.
* varobj.c (struct varobj): New fields frozen
and not_fetched.
(varobj_set_frozen, varobj_get_frozen): New.
(install_new_value): Don't fetch values for
frozen variable object, or children thereof. Allow
a frozen variable object to have non-fetched value.
(varobj_update): Allow updating child variables.
Don't traverse frozen children.
(new_variable): Initialize the frozen field.
(c_value_of_variable): Return NULL for frozen
variable without any value yet.
* mi/mi-cmd-var.c (varobj_update_one): New parameter
'explicit'.
(mi_cmd_var_create): Output the 'frozen' field,
as soon as testsuite is adjusted to expect that field.
(mi_cmd_var_set_frozen): New.
(mi_cmd_var_update): Pass the 'explicit' parameter to
varobj_update_one.
* mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'.
* mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare.
gdbadmin [Sat, 14 Apr 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 14 Apr 2007 00:00:05 +0000 (00:00 +0000)]
daily update
H.J. Lu [Fri, 13 Apr 2007 21:59:35 +0000 (21:59 +0000)]
Remove trailing white spaces.
H.J. Lu [Fri, 13 Apr 2007 21:57:21 +0000 (21:57 +0000)]
2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c: Remove trailing white spaces.
Paul Brook [Fri, 13 Apr 2007 15:07:15 +0000 (15:07 +0000)]
2007-04-13 Paul Brook <paul@codesourcery.com>
* target-descriptions.c (tdesc_named_type): Add ieee_single and
ieee_double.
* doc/gdb.texinfo: Document ieee_single and ieee_double target types.
Daniel Jacobowitz [Fri, 13 Apr 2007 14:25:12 +0000 (14:25 +0000)]
Delete files for last commit.
Daniel Jacobowitz [Fri, 13 Apr 2007 14:17:47 +0000 (14:17 +0000)]
* mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,
remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h,
scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c,
ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete.
* Makefile.in: Remove references to deleted files.
* README: Do not mention deleted ROM monitor interfaces.
* defs.h (enum language): Delete language_scm.
* expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING.
(dump_subexp_body_standard): Likewise.
* parse.c (operator_length_standard): Likewise.
* expression.h (enum exp_opcode): Delete OP_EXPRSTRING.
* remote-mips.c: Do not include remote-utils.h.
* remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug
throughout.
* value.c: Do not include scm-lang.h.
(unpack_long): Delete scm_unpack call.
* config/h8300/h8300.mt, config/mips/embed.mt,
config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt,
config/sh/embed.mt, config/sh/linux.mt: Remove references to
deleted files.
* NEWS: Mention removed files.
* gdb.texinfo (Memory): Reference Remote Debugging chapter.
(Character Sets, Caching Data of Remote Targets): Likewise.
(Targets): Delete Remote node. Move its text...
(Debugging Remote Programs): ...to here. Delete description
of the "remote" command.
(Remote configuration): Delete description of "set remotedevice"
and "show remotedevice".
(Embedded Processors): Delete H8/300, H8/500, and SH nodes.
Daniel Jacobowitz [Fri, 13 Apr 2007 14:03:56 +0000 (14:03 +0000)]
* symfile.c (add_psymbol_with_dem_name_to_list): Remove.
* symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype.
Daniel Jacobowitz [Fri, 13 Apr 2007 13:56:19 +0000 (13:56 +0000)]
* NEWS: Mention removal of HP aCC support.
Daniel Jacobowitz [Fri, 13 Apr 2007 13:54:06 +0000 (13:54 +0000)]
* solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the
first entry for static executables.
(breakpoint_addr): Delete unused variable.
(elf_locate_base): Search for _r_debug in static executables.
(enable_break): Do not set breakpoint_addr. Scan solib_break_names
also.
Daniel Jacobowitz [Fri, 13 Apr 2007 13:50:32 +0000 (13:50 +0000)]
* breakpoint.c (update_breakpoints_after_exec, print_it_typical)
(bpstat_what, print_one_breakpoint, allocate_bp_location)
(mention): Remove bp_through_sigtramp support.
* breakpoint.h (enum bptype): Remove bp_through_sigtramp.
Daniel Jacobowitz [Fri, 13 Apr 2007 13:33:10 +0000 (13:33 +0000)]
* breakpoint.c (bpstat_what): Give step-resume higher priority than
shlib events.
Daniel Jacobowitz [Fri, 13 Apr 2007 13:29:42 +0000 (13:29 +0000)]
* infrun.c: Doc fixes.
(handle_inferior_event): Clarify debug message.
(insert_step_resume_breakpoint_at_sal): Print a debug message.
Nathan Sidwell [Fri, 13 Apr 2007 12:05:59 +0000 (12:05 +0000)]
* Makefile.am (TOOL_PROGS): Add objcopy.
* Makefile.in: Rebuilt.
Ulrich Weigand [Fri, 13 Apr 2007 00:39:49 +0000 (00:39 +0000)]
* configure.tgt (arm-*-nto*, sh-*-nto*): Remove.
Alan Modra [Fri, 13 Apr 2007 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 13 Apr 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Ulrich Weigand [Thu, 12 Apr 2007 23:03:00 +0000 (23:03 +0000)]
* config/m68k/tm-monitor.h: Delete file.
* config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove.
* m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break
call moved to ...
* m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ...
* m68klinux-tdep.c (m68k_linux_init_abi): ... here.
Richard Sandiford [Thu, 12 Apr 2007 19:27:35 +0000 (19:27 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add
DT_MIPS_RTLD_MAP for PIEs.
Richard Sandiford [Thu, 12 Apr 2007 19:26:09 +0000 (19:26 +0000)]
bfd/
* elfxx-mips.c (mips_elf_calculate_relocation): Set DT_TEXTREL
when creating a __GOTT_BASE__ or __GOTT_INDEX__ relocation
in a read-only section.
(_bfd_mips_elf_check_relocs): Likewise.
ld/testsuite/
* ld-mips-elf/vxworks1-lib.td: New test.
* ld-mips-elf/mips-elf.exp: Run it.
H.J. Lu [Thu, 12 Apr 2007 19:20:46 +0000 (19:20 +0000)]
2007-04-12 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/4348
* objcopy.c (copy_object): Don't stop when there are no
sections to be copied.
testsuite/
2007-04-12 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/4348
* binutils-all/empty.s: New file.
* binutils-all/strip-3.d: Likewise.
* binutils-all/objcopy.exp: Run strip-3 for ELF target.
Bob Wilson [Thu, 12 Apr 2007 18:55:29 +0000 (18:55 +0000)]
* elf32-xtensa.c (xtensa_is_insntable_section): New.
(xtensa_is_proptable_section): New.
(elf_xtensa_discard_info_for_section): Handle "full" .xt.prop property
tables with 12-byte entries, as well as tables with 8-byte entries.
Sort the relocations before examining them.
(relax_property_section): Use xtensa_is_proptable_section and
xtensa_is_littable_section. Rewrite code for combining table entries
to be more robust in case of unexpected relocations. Do not set offset
of unused relocations to less than zero.
(xtensa_is_property_section): Use other functions instead of
duplicating section name comparisons.
(xtensa_is_littable_section): Use CONST_STRNEQ for ".gnu.linkonce.p.".
(xtensa_get_property_predef_flags): Use xtensa_is_insntable_section.
Bob Wilson [Thu, 12 Apr 2007 15:52:02 +0000 (15:52 +0000)]
bfd/
* elf32-xtensa.c (elf_xtensa_gc_mark_hook): Don't follow references
from Xtensa property sections.
ld/
* emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
Ulrich Weigand [Thu, 12 Apr 2007 14:52:20 +0000 (14:52 +0000)]
2007-04-12 Luis Machado <luisgpm@br.ibm.com>
* gdbarch.sh (software_single_step): Change the return type
from void to int and reformatted some comments to <= 80
columns.
* gdbarch.c, gdbarch.h: Regenerated.
* alpha-tdep.c (alpha_software_single_step): Likewise.
* alpha-tdep.h (alpha_software_single_step): Likewise.
* arm-tdep.c (arm_software_single_step): Likewise.
* cris-tdep.c (cris_software_single_step): Likewise.
* mips-tdep.c (mips_software_single_step): Likewise.
* mips-tdep.h (mips_software_single_step): Likewise.
* rs6000-tdep.c (rs6000_software_single_step): Likewise.
* rs6000-tdep.h (rs6000_software_single_step): Likewise.
* sparc-tdep.c (sparc_software_single_step): Likewise.
* sparc-tdep.h (sparc_software_single_step): Likewise.
* spu-tdep.c (spu_software_single_step): Likewise.
* infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP
and act accordingly.
Paolo Bonzini [Thu, 12 Apr 2007 13:06:01 +0000 (13:06 +0000)]
config:
2007-04-11 Kai Tietz <kai.tietz@onevision.com>
* stdint.m4: Make template compatible with older cygwin
types.h, wrapping each type in a __XXX_t_defined #ifdef.
Alan Modra [Thu, 12 Apr 2007 07:47:13 +0000 (07:47 +0000)]
* elf32-spu.c (needs_ovl_stub): Test that spu_elf_section_data
is non-NULL before dereferencing.
Alan Modra [Thu, 12 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 12 Apr 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Wed, 11 Apr 2007 21:56:25 +0000 (21:56 +0000)]
2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/4333
* i386-dis.c (GRP1a): New.
(GRP1b ... GRPPADLCK2): Update index.
(dis386): Use GRP1a for entry 0x8f.
(mod, rm, reg): Removed. Replaced by ...
(modrm): This.
(grps): Add GRP1a.
DJ Delorie [Wed, 11 Apr 2007 20:01:26 +0000 (20:01 +0000)]
merge from gcc
Bob Wilson [Wed, 11 Apr 2007 18:52:01 +0000 (18:52 +0000)]
* gdb.texinfo (Contributors, Continuing and Stepping)
(Fortran Defaults, HPPA, TUI, TUI Commands, Configure Options)
(General Query Packets, File-I/O Remote Protocol Extension)
(Protocol Basics, The F Reply Packet, Write)
(Protocol-specific Representation of Datatypes, Memory Transfer):
Fix hyphenation, punctuation and grammar problems.
(Cygwin Native): Likewise. Also fix misuse of @pxref and use
'section' instead of 'subsection' in the text.
(Non-debug DLL Symbols): Avoid 'subsubsection' in the text.
(i386): Remove period from section name.
(Installing GDB, Requirements, Running Configure, Separate Objdir)
(Config Names, Configure Options): Use @file{configure}.
Steve Ellcey [Wed, 11 Apr 2007 18:36:50 +0000 (18:36 +0000)]
* configure.ac (build_warnings): Add -Wno-char-subscripts.
* configure: Regenerate.
* doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts.
Jan Kratochvil [Wed, 11 Apr 2007 16:09:57 +0000 (16:09 +0000)]
* libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.
Jan Kratochvil [Wed, 11 Apr 2007 16:04:23 +0000 (16:04 +0000)]
* gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New
macros.
(TYPE_IS_OPAQUE): Empty vs. opaque structures are now
distinct on the TYPE_STUB_SUPPORTED debug targets.
* dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED.
Jan Kratochvil [Wed, 11 Apr 2007 16:03:59 +0000 (16:03 +0000)]
* gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
gdb.base/type-opaque.exp: New files.
Nathan Sidwell [Wed, 11 Apr 2007 14:36:33 +0000 (14:36 +0000)]
fix typo in previous commit
Nathan Sidwell [Wed, 11 Apr 2007 12:02:32 +0000 (12:02 +0000)]
* elf-vxworks.c (elf_vxworks_emit_relocs): Remap weakdef PLT slot
relocs too.
Daniel Jacobowitz [Wed, 11 Apr 2007 11:11:12 +0000 (11:11 +0000)]
* gdbint.texinfo (Writing Tests): Mention gdb_test_multiple
and tab expansion.
Joel Brobecker [Wed, 11 Apr 2007 07:10:08 +0000 (07:10 +0000)]
* sparc-tdep.c (X_RS2): New macro.
(sparc_skip_stack_check): New function.
(sparc_analyze_prologue): Adjust PC past stack probing
sequence if necessary.
Alan Modra [Wed, 11 Apr 2007 00:00:08 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 11 Apr 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Tue, 10 Apr 2007 22:03:07 +0000 (22:03 +0000)]
Fix changelog entry.
Richard Henderson [Tue, 10 Apr 2007 18:00:26 +0000 (18:00 +0000)]
bfd/
* elf64-alpha.c (struct alpha_elf_link_hash_table): Add relax_trip.
(elf64_alpha_size_got_sections): Remove unused something_changed local.
(elf64_alpha_size_plt_section): Return void.
(elf64_alpha_size_rela_got_section): Likewise.
(elf64_alpha_relax_section): Only regenerate got+plt if the
relax_trip counter has changed.
include/
* bfdlink.h (struct bfd_link_info): Add relax_trip.
ld/
* ldlang.c (relax_sections): Initialize and increment
link_info.relax_trip.
Andreas Schwab [Tue, 10 Apr 2007 16:02:41 +0000 (16:02 +0000)]
* rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR
register.
Daniel Jacobowitz [Tue, 10 Apr 2007 14:53:46 +0000 (14:53 +0000)]
* breakpoint.c (gdb_breakpoint_query): Really return an
enum gdb_rc.
(gdb_breakpoint): Likewise.
* thread.c (do_captured_list_thread_ids): Likewise.
(do_captured_thread_select): Likewise.
* mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc.
(mi_cmd_thread_list_ids): Remove bogus initialization.
Daniel Jacobowitz [Tue, 10 Apr 2007 11:58:15 +0000 (11:58 +0000)]
* Makefile.in (SFILES): Remove hpacc-abi.c.
(COMMON_OBS): Remove hpacc-abi.o.
(ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE).
(hpacc-abi.o, hpread.o): Delete rules.
* somread.c: Delete extern declarations from hpread.c.
(som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs.
(som_symfile_finish): Do not call hpread_symfile_finish.
(som_symfile_init): Do not call hpread_symfile_init.
* config/pa/hppa64.mt (TDEPFILES): Remove hpread.o.
* config/pa/hppahpux.mt (TDEPFILES): Likewise.
* hpacc-abi.c, hpread.c: Deleted.
* gdbint.texinfo (SOM): Correct location of the SOM reader.
Daniel Jacobowitz [Tue, 10 Apr 2007 11:51:17 +0000 (11:51 +0000)]
* solib-svr4.c (enable_break): Simplify return value.
(svr4_solib_create_inferior_hook): Do not warn if enable_break fails.
Andreas Schwab [Tue, 10 Apr 2007 08:47:53 +0000 (08:47 +0000)]
* solib-svr4.h (struct link_map_offsets): Remove l_addr_size,
l_ld_size, l_next_size, l_prev_size, l_name_size.
* solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address
to extract addresses from link map.
(LM_DYNAMIC_FROM_LINK_MAP): Likewise.
(LM_NEXT): Likewise.
(LM_NAME): Likewise.
(IGNORE_FIRST_LINK_MAP_ENTRY): Likewise.
(elf_locate_base): Likewise.
(open_symbol_file_object): Likewise.
(svr4_fetch_objfile_link_map): Likewise.
(SOLIB_EXTRACT_ADDRESS): Remove unused macro.
(HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of
l_ld_size.
(svr4_ilp32_fetch_link_map_offsets): Don't set removed members.
(svr4_lp64_fetch_link_map_offsets): Likewise.
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set
removed members. Set l_ld_offset to -1 if not present.
Vladimir Prus [Tue, 10 Apr 2007 08:47:50 +0000 (08:47 +0000)]
Fix typo in the previous commit
Vladimir Prus [Tue, 10 Apr 2007 08:01:13 +0000 (08:01 +0000)]
* NEWS: Mention disjoint histograms support in
gprof.
Vladimir Prus [Tue, 10 Apr 2007 07:57:31 +0000 (07:57 +0000)]
* hist.h (struct histogram)
(histograms, num_histograms): New.
* hist.c (find_histogram, find_histogram_for_pc)
(read_histogram_header): New.
(s_lowpc, s_highpc, lowpc, highpc, hist_num_bins)
(hist_sample): Remove.
(hist_read_rec): Use the above, and handle multiple
histogram records with disjoint address ranges.
(hist_write_hist): Support several histogram records.
(scale_and_align_entries): Adjust for multiple histograms.
(hist_assign_samples_1): New.
(hist_assign_samples): Use the above.
(hist_clip_symbol_address): New.
* hist.h (hist_check_address)
(hist_clip_symbol_address): Declare.
* gmon_io.c (gmon_out_read, gmon_out_write): Adjust handling
of legacy format for multiple histogram changes.
* corefile.c (find_call): Check for core_text_space and
clip symbol address range here.
* vax.c (vax_find_call): Don't check for
core_text_space, or clip the symbol's address range here.
Use hist_check_address to check call's target address.
* sparc.c: Likewise.
* tahoe.c: Likewise.
* i386.c: Likewise.
* mips.c: Likewise. Also use core_text_sect->vma as the base
address for code accesses, just like other machine-specific
routines do.
* gprof.texi: Adjust for the new logic.
gdbadmin [Tue, 10 Apr 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 10 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update
Kazu Hirata [Mon, 9 Apr 2007 17:09:56 +0000 (17:09 +0000)]
* m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
info->print_address_func if longjmp is called.
Daniel Jacobowitz [Mon, 9 Apr 2007 15:36:44 +0000 (15:36 +0000)]
* src-release (do-proto-toplev): Process the support directories before
the tool directory.
* Makefile.am (bfdver.h): Do not generate doc/bfdver.texi.
* doc/Makefile.am (DOCFILES): Add bfdver.texi.
(bfdver.texi): New rule.
* Makefile.in, doc/Makefile.in: Regenerated.
Daniel Jacobowitz [Mon, 9 Apr 2007 14:36:59 +0000 (14:36 +0000)]
* dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
DW_TAG_inlined_subroutine.
gdbadmin [Mon, 9 Apr 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 9 Apr 2007 00:00:04 +0000 (00:00 +0000)]
daily update
Vladimir Prus [Sun, 8 Apr 2007 15:20:07 +0000 (15:20 +0000)]
Pass stderr of program run with "target remote |"
via gdb_stderr.
* serial.c (serial_open): Set error_fd to -1.
* serial.h (struct serial): New field error_fd.
(struct serial_opts): New field avail.
* ser-pipe.c (pipe_open): Create another pair
of sockets. Pass stderr to gdb.
* ser-mingw.c (pipe_windows_open): Pass
PEX_STDERR_TO_PIPE to pex_run. Initialize
sd->error_fd.
(pipe_avail): New.
(_initialize_ser_windows): Hook pipe_avail.
* ser-base.c (generic_readchar): Check if there's
anything in stderr channel and route that to gdb_stderr.
gdbadmin [Sun, 8 Apr 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 8 Apr 2007 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 7 Apr 2007 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 7 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update
Matt Thomas [Fri, 6 Apr 2007 16:36:48 +0000 (16:36 +0000)]
2007-04-06 Matt Thomas <matt@netbsd.org>
* config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp)
to emit pcrel relocations by DWARF2 in non-code sections. Borrowed
heavily from tc-sparc.c. (vax_cons_fix_new): Likewise.
Matt Thomas [Fri, 6 Apr 2007 16:29:32 +0000 (16:29 +0000)]
2007-04-03 Matt Thomas <matt@netbsd.org>
* elf32-vax.c (elf_vax_relocate_section): Do not emit a PCREL reloc
in a shared object if it is not in a CODE section or if it is against
a section symbol. This allows DWARF2 to use pcrel format.
Matt Thomas [Fri, 6 Apr 2007 16:08:06 +0000 (16:08 +0000)]
2007-04-06 Matt Thomas <matt@netbsd.org>
* MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
Joel Brobecker [Fri, 6 Apr 2007 06:01:54 +0000 (06:01 +0000)]
* filename_cmp.c (filename_cmp): Improve documentation.
Alan Modra [Fri, 6 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 6 Apr 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***