OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
17 years ago * NEWS: Mention removal of HP aCC support.
Daniel Jacobowitz [Fri, 13 Apr 2007 13:56:19 +0000 (13:56 +0000)]
* NEWS: Mention removal of HP aCC support.

17 years ago * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the
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.

17 years ago * breakpoint.c (update_breakpoints_after_exec, print_it_typical)
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.

17 years ago * breakpoint.c (bpstat_what): Give step-resume higher priority than
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.

17 years ago * infrun.c: Doc fixes.
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.

17 years ago * configure.tgt (arm-*-nto*, sh-*-nto*): Remove.
Ulrich Weigand [Fri, 13 Apr 2007 00:39:49 +0000 (00:39 +0000)]
* configure.tgt (arm-*-nto*, sh-*-nto*): Remove.

17 years agodaily update
Alan Modra [Fri, 13 Apr 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Fri, 13 Apr 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * config/m68k/tm-monitor.h: Delete file.
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.

17 years agobfd/
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.

17 years agobfd/
Richard Sandiford [Thu, 12 Apr 2007 19:26:08 +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.

17 years ago * elf32-xtensa.c (xtensa_is_insntable_section): New.
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.

17 years agobfd/
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.

17 years ago2007-04-12 Luis Machado <luisgpm@br.ibm.com>
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.

17 years agoconfig:
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.

17 years ago * elf32-spu.c (needs_ovl_stub): Test that spu_elf_section_data
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.

17 years agodaily update
Alan Modra [Thu, 12 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Thu, 12 Apr 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
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.

17 years agomerge from gcc
DJ Delorie [Wed, 11 Apr 2007 20:01:26 +0000 (20:01 +0000)]
merge from gcc

17 years ago * gdb.texinfo (Contributors, Continuing and Stepping)
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}.

17 years ago * configure.ac (build_warnings): Add -Wno-char-subscripts.
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.

17 years ago* libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.
Jan Kratochvil [Wed, 11 Apr 2007 16:09:57 +0000 (16:09 +0000)]
* libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.

17 years ago* gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New
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.

17 years ago* gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
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.

17 years agofix typo in previous commit
Nathan Sidwell [Wed, 11 Apr 2007 14:36:33 +0000 (14:36 +0000)]
fix typo in previous commit

17 years ago * elf-vxworks.c (elf_vxworks_emit_relocs): Remap weakdef PLT slot
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.

17 years ago * gdbint.texinfo (Writing Tests): Mention gdb_test_multiple
Daniel Jacobowitz [Wed, 11 Apr 2007 11:11:12 +0000 (11:11 +0000)]
* gdbint.texinfo (Writing Tests): Mention gdb_test_multiple
and tab expansion.

17 years ago * sparc-tdep.c (X_RS2): New macro.
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.

17 years agodaily update
Alan Modra [Wed, 11 Apr 2007 00:00:08 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Wed, 11 Apr 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agoFix changelog entry.
Daniel Jacobowitz [Tue, 10 Apr 2007 22:03:07 +0000 (22:03 +0000)]
Fix changelog entry.

17 years agobfd/
Richard Henderson [Tue, 10 Apr 2007 18:00:25 +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.

17 years ago * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR
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.

17 years ago * breakpoint.c (gdb_breakpoint_query): Really return an
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.

17 years ago * Makefile.in (SFILES): Remove hpacc-abi.c.
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.

17 years ago * solib-svr4.c (enable_break): Simplify return value.
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.

17 years ago * solib-svr4.h (struct link_map_offsets): Remove l_addr_size,
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.

17 years ago*** empty log message ***
gdbadmin [Tue, 10 Apr 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 10 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
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.

17 years ago * src-release (do-proto-toplev): Process the support directories before
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.

17 years ago*** empty log message ***
gdbadmin [Mon, 9 Apr 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 9 Apr 2007 00:00:04 +0000 (00:00 +0000)]
daily update

17 years ago Pass stderr of program run with "target remote |"
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.

17 years ago*** empty log message ***
gdbadmin [Sun, 8 Apr 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 8 Apr 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sat, 7 Apr 2007 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 7 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago2007-04-03 Matt Thomas <matt@netbsd.org>
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.

17 years ago * filename_cmp.c (filename_cmp): Improve documentation.
Joel Brobecker [Fri, 6 Apr 2007 06:01:54 +0000 (06:01 +0000)]
    * filename_cmp.c (filename_cmp): Improve documentation.

17 years agodaily update
Alan Modra [Fri, 6 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Fri, 6 Apr 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agobfd/
H.J. Lu [Thu, 5 Apr 2007 16:16:27 +0000 (16:16 +0000)]
bfd/

2007-04-05  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4304
* elflink.c (bfd_elf_final_link): Call einfo callback in
bfd_link_info instead of _bfd_error_handler for DT_TEXTREL
warning.

ld/testsuite/

2007-04-05  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4304
* ld-i386/i386.exp: Run "warn1".

* ld-i386/warn1.d: New file.
* ld-i386/warn1.s: Likewise.

17 years agobfd/
Alan Modra [Thu, 5 Apr 2007 07:01:52 +0000 (07:01 +0000)]
bfd/
* elf32-spu.c (spu_elf_output_symbol_hook): New function.
(elf_backend_link_output_symbol_hook): Define.
ld/testsuite/
* ld-spu/ovl2.d: Update.

17 years ago2007-04-04 Eric Christopher <echristo@apple.com>
Eric Christopher [Thu, 5 Apr 2007 05:55:51 +0000 (05:55 +0000)]
2007-04-04  Eric Christopher  <echristo@apple.com>

        Move from gcc:
        2007-04-04  Zack Weinberg  <zack@mrtock.ucsd.edu>

                * texi2pod.pl: Correct handling of @itemize with no argument.

        2007-02-16  Matthias Klose  <doko@debian.org>

                * texi2pod.pl: Handle @subsubsection, ignore @anchor.

        2007-02-06  Richard Sandiford  <richard@codesourcery.com>

                * texi2pod.pl: Handle @multitable.

17 years agodaily update
Alan Modra [Thu, 5 Apr 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Thu, 5 Apr 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 4 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Wed, 4 Apr 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * dbxread.c (read_ofile_symtab): Move current_objfile
Pedro Alves [Tue, 3 Apr 2007 00:09:54 +0000 (00:09 +0000)]
* dbxread.c (read_ofile_symtab): Move current_objfile
clearing to after end_stabs.

17 years agodaily update
Alan Modra [Tue, 3 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Tue, 3 Apr 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * gdb.texinfo: Consistently capitalize all significant words in
Bob Wilson [Mon, 2 Apr 2007 17:31:40 +0000 (17:31 +0000)]
* gdb.texinfo: Consistently capitalize all significant words in
node names, chapter titles, section titles, and headings.  Update
cross references to match.
(Starting and Stopping Trace Experiment): Make node name plural.
(Breakpoint related warnings): Hyphenate "Breakpoint-related".

17 years agoPR binutils/4292
Nick Clifton [Mon, 2 Apr 2007 16:51:13 +0000 (16:51 +0000)]
PR binutils/4292
* bfd.c (bfd_fprintf_vma): Do not print addresses of 32-bit
  targets as 64-bit values, even if running on a 64-bit host.
* coffgen.c (coff_print_symbol): Likewise.
* nm.c (value_format): Replace with value_format_32bit and
  value_format_64bit.
  (set_radix): Update setting of value_format.
  (set_print_width): New function.  Compute the address size of a
  given bfd and set the print_width global appropriately.
  (display_archive): Use set_print_width.
  (display_file): Likewise,
  (print_object_filename_sysv): Update use of print_width.
  (print_archive_member_sysv): Likewise.
  (print_symbol_filename_posix): Likewise.
  (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.

17 years ago * filename_cmp.c: Include "config.h".
Andreas Schwab [Mon, 2 Apr 2007 11:20:52 +0000 (11:20 +0000)]
* filename_cmp.c: Include "config.h".

17 years agodaily update
Alan Modra [Mon, 2 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Mon, 2 Apr 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter
Andreas Schwab [Sun, 1 Apr 2007 18:24:59 +0000 (18:24 +0000)]
* rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter
gdbarch instead of current_gdbarch.

17 years ago * varobj.c (varobj_create): Keep varobj value
Vladimir Prus [Sun, 1 Apr 2007 15:44:54 +0000 (15:44 +0000)]
    * varobj.c (varobj_create): Keep varobj value
        NULL when evaluating the type.

17 years ago * gdb.mi/mi-var-child.c
Vladimir Prus [Sun, 1 Apr 2007 15:27:26 +0000 (15:27 +0000)]
    * gdb.mi/mi-var-child.c
        (do_children_tests): User char[2] instead of
        char so that automatic printing of pointers to char
        don't give unpredicable result.
        * gdb.mi/var-cmd.c (do_locals_test): Initialize
        local variables.
        * gdb.mi/mi-var-child.exp: Step to right line
        of do_children_tests.
        * gdb.mi/mi2-var-child.exp: Likewise.
        * gdb.mi/mi-var-cmd.exp: Step to right line of
        do_locals_tests.
        (do_children_tests): User char[2] instead of
        char so that automatic printing of pointers to char
        don't give unpredicable result.
        * gdb.mi/mi2-var-cmd.exp: Likewise.
        * lib/mi-support.exp (mi_continue_to_line):
        Pass test name to mi_wait_for_stop.

17 years agodaily update
Alan Modra [Sun, 1 Apr 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sun, 1 Apr 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * NEWS: Mention new Windows CE support.
Pedro Alves [Sat, 31 Mar 2007 10:42:22 +0000 (10:42 +0000)]
* NEWS: Mention new Windows CE support.

17 years ago*** empty log message ***
gdbadmin [Sat, 31 Mar 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 31 Mar 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years agogdb/
Pedro Alves [Fri, 30 Mar 2007 22:50:33 +0000 (22:50 +0000)]
gdb/

* configure.tgt: Move mips*-*-pe and sh*-*-pe to
the obsoletion stanza.
* NEWS: Mention deleted targets.

* config/sh/tm-wince.h: Remove.
* config/sh/wince.mt: Remove.
* config/mips/tm-wince.h: Remove.
* config/mips/wince.mt: Remove.

* wince.c: Remove.
* wince-stub.c: Remove.
* wince-stub.h: Remove.
* Makefile.in (wince.o): Remove rule.
(wince-stub.o): Likewise.

* mips-tdep.c (mips_next_pc): Make static.
* mips-tdep.h (mips_next_pc): Remove declaration.
* arm-tdep.c (arm_pc_is_thumb): Make static.
(thumb_get_next_pc): Likewise.
(arm_get_next_pc): Likewise.
* arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration.
(arm_pc_is_thumb): Likewise.
(thumb_get_next_pc): Likewise.
(arm_get_next_pc): Likewise.

gdb/doc/

* gdb.texinfo (WinCE): Delete obsolete subsection.

17 years ago * win32-low.c: Commit leftover changes from 2007-03-29.
Pedro Alves [Fri, 30 Mar 2007 20:28:24 +0000 (20:28 +0000)]
* win32-low.c: Commit leftover changes from 2007-03-29.

17 years ago * MAINTAINERS: Remove d10v entry.
Daniel Jacobowitz [Fri, 30 Mar 2007 17:21:48 +0000 (17:21 +0000)]
* MAINTAINERS: Remove d10v entry.
* Makefile.in (SFILES): Remove dwarfread.c.
(COMMON_OBS): Remove dwarfread.o.
(gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o)
(remote-est.o, rom68k-rom.o): Delete.
* NEWS: Mention removal of d10v, target abug, target cpu32bug,
target est, target rom68k, and DWARF 1.
* configure.tgt: Mark d10v as removed.
* dwarf2read.c: Doc update.
* elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset,
and lnsize.
(elf_locate_sections): Do not set them.
(elf_symfile_read): Do not call dwarf_build_psymtabs.
* symfile.h (dwarf_build_psymtabs): Delete prototype.
* config/m68k/monitor.mt (TDEPFILES): Prune.
* abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c,
remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete.

* gdb.texinfo (M68K): Remove obsolete ROM monitors.
* gdbint.texinfo (DWARF 1): Delete section and other dwarfread.c
references.

* gdb.asm/asm-source.exp: Remove d10v case.
* lib/gdb.exp (skip_cplus_tests): Likewise.
* gdb.asm/d10v.inc: Deleted.

17 years ago * i387-fp.c (struct i387_fsave, struct i387_fxsave): Make 16-bit
Daniel Jacobowitz [Fri, 30 Mar 2007 17:13:02 +0000 (17:13 +0000)]
* i387-fp.c (struct i387_fsave, struct i387_fxsave): Make 16-bit
fields short instead of int.  Add explicit padding.
(i387_cache_to_fsave): Remove unnecessary casts.
(i387_fsave_to_cache): Doc fix.
(i387_cache_to_fxsave): Remove unnecessary casts and masking.

17 years ago * i387-fp.c (i387_cache_to_fxsave): Reinitialize val2 before use.
Daniel Jacobowitz [Fri, 30 Mar 2007 15:29:46 +0000 (15:29 +0000)]
* i387-fp.c (i387_cache_to_fxsave): Reinitialize val2 before use.
(i387_fxsave_to_cache): Check fp->ftag while building ftag value.

17 years ago * doublest.c (convert_floatformat_to_doublest): Use
Daniel Jacobowitz [Fri, 30 Mar 2007 14:31:44 +0000 (14:31 +0000)]
* doublest.c (convert_floatformat_to_doublest): Use
floatformat_classify.
(floatformat_is_nan): Rename to...
(floatformat_classify): ...this.  Return more information.
* doublest.h (enum float_kind): New.
(floatformat_is_nan): Replace prototype...
(floatformat_classify): ...with this one.
* valprint.c (print_floating): Use floatformat_classify.  Handle
infinity.

* gdb.base/infnan.c, gdb.base/infnan.exp: New files.

17 years ago * README: Mention ISO C library requirement.
Daniel Jacobowitz [Fri, 30 Mar 2007 12:58:13 +0000 (12:58 +0000)]
* README: Mention ISO C library requirement.

17 years ago * Makefile.in (SFILES): Remove nlmread.c.
Daniel Jacobowitz [Fri, 30 Mar 2007 12:57:44 +0000 (12:57 +0000)]
* Makefile.in (SFILES): Remove nlmread.c.
(COMMON_OBS): Remove nlmread.o.
(nlmread.o): Delete rule.
* README: Delete reference to remote-st.c.
* acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete.
* defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and
GDB_OSABI_LYNXOS.
* i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete.
(_initialize_i386_tdep): Do not reference them.
* nlmread.c: Delete file.
* osabi.c (gdb_osabi_names): Remove NetWare and LynxOS.
* target.c: Doc update.
* thread.c: Delete commented include.
* config/alpha/tm-alpha.h: Doc update.

* gdb.texinfo (Startup): Delete references to some alternate
names for .gdbinit.
(Thread): Remove LynxOS reference.
(Tandem ST2000): Delete target-specific documentation.
* gdbint.texinfo (Symbol Handling): Remove mention of NLM.
(Target Architecture Definition): Remove mention of GDB_OSABI_NETWARE
and GDB_OSABI_LYNXOS.

* config/netware.exp: Delete file.

17 years ago* utils.c (string_to_core_addr): Comment typo.
Maciej W. Rozycki [Fri, 30 Mar 2007 09:31:31 +0000 (09:31 +0000)]
* utils.c (string_to_core_addr): Comment typo.

17 years ago* mips-tdep.c: Comment typo.
Maciej W. Rozycki [Fri, 30 Mar 2007 09:16:52 +0000 (09:16 +0000)]
* mips-tdep.c: Comment typo.

17 years agogdb/ChangeLog:
Ulrich Weigand [Fri, 30 Mar 2007 01:18:17 +0000 (01:18 +0000)]
gdb/ChangeLog:

* config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove.
* config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
* config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
* config/powerpc/nm-ppc64-linux.h: Remove file.
* config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h.
* inferior.h (PTRACE_ARG3_TYPE): Do not define.
(call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3.
* infptrace.c (call_ptrace): Likewise.
* m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define.
(fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3
and PTRACE_XFER_TYPE by PTRACE_TYPE_RET.
(store_register): Likewise.

gdb/doc/ChangeLog:

* gdbint.texi (Native Conditionals): Remove PTRACE_ARG3_TYPE.

17 years ago * Makefile.in (varobj.o): Add missing dependency.
Joel Brobecker [Fri, 30 Mar 2007 00:46:49 +0000 (00:46 +0000)]
    * Makefile.in (varobj.o): Add missing dependency.

17 years agoFix the entry date of a couple of entries.
Joel Brobecker [Fri, 30 Mar 2007 00:09:31 +0000 (00:09 +0000)]
Fix the entry date of a couple of entries.

17 years ago*** empty log message ***
gdbadmin [Fri, 30 Mar 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 30 Mar 2007 00:00:09 +0000 (00:00 +0000)]
daily update

17 years ago* m32c.cpu (Imm-8-s4n): Fix print hook.
DJ Delorie [Thu, 29 Mar 2007 23:56:39 +0000 (23:56 +0000)]
* m32c.cpu (Imm-8-s4n): Fix print hook.
(Lab-24-8, Lab-32-8, Lab-40-8): Fix.
(arith-jnz-imm4-dst-defn): Make relaxable.
(arith-jnz16-imm4-dst-defn): Fix encodings.

* m32c-desc.c: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-opc.c: Regenerate.

* config/tc-m32c.c (rl_for, relaxable): Protect argument.
(md_relax_table): Add entries for ADJNZ macros.
(M32C_Macros): Add ADJNZ macros.
(subtype_mappings): Add entries for ADJNZ macros.
(insn_to_subtype): Check for adjnz and sbjnz insns.
(md_estimate_size_before_relax): Pass insn to insn_to_subtype.
(md_convert_frag): Convert adjnz and sbjnz.

17 years ago2007-03-29 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 29 Mar 2007 22:40:12 +0000 (22:40 +0000)]
2007-03-29  Michael Snyder  <msnyder@access-company.com>

* MAINTAINERS: Update my email address.

17 years ago Add support for exception handling with multiple versions of
Joel Brobecker [Thu, 29 Mar 2007 21:57:02 +0000 (21:57 +0000)]
    Add support for exception handling with multiple versions of
        the Ada runtime:
        * ada-lang.c: Update general comments on how Ada exception catchpoints
        are implemented.
        (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name)
        (__gnat_raise_nodefer_with_msg): Delete.
        (ada_unhandled_exception_name_addr_ftype): New type.
        (exception_support_info): New type.
        (ada_unhandled_exception_name_addr): Add forward declaration.
        (ada_unhandled_exception_name_addr_from_raise): Likewise.
        (default_exception_support_info): New constant.
        (exception_support_info_fallback): Likewise.
        (exception_info): New global variable.
        (ada_exception_support_info_sniffer): New function.
        (ada_executable_changed_observer): Likewise.
        (ada_unhandled_exception_name_addr_from_raise): Renamed from
        ada_unhandled_exception_name_addr.
        (ada_unhandled_exception_name_addr): Reimplement to match the
        latest Ada runtime implementation.
        (error_breakpoint_runtime_sym_not_found): Delete.
        (ada_exception_sym_name): Get the exception sym name from
        exception_info rather than hardcoding it.
        (ada_exception_sal): Add call to ada_exception_support_info_sniffer.
        Update error handling.
        * Makefile.in (ada-lang.o): Add dependency on observer.h.

17 years agomerge from gcc
DJ Delorie [Thu, 29 Mar 2007 21:03:48 +0000 (21:03 +0000)]
merge from gcc

17 years ago * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o)
Daniel Jacobowitz [Thu, 29 Mar 2007 19:58:29 +0000 (19:58 +0000)]
* Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o)
(remote-st.o, uw-thread.o): Delete.
(HFILES_NO_SRCDIR, ALLDEPFILES): Update.
* configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*,
i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*,
i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*,
i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and
rs6000-*-lynxos* to an obsoletion stanza.
* configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*,
i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*,
and rs6000-*-lynxos* to an obsoletion stanza.  Do not mention
i[34567]86-*-netware*.
* NEWS: Mention deleted targets.

* coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c,
uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh,
config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh,
config/i386/i386v4.mh, config/i386/i386v42mp.mh,
config/i386/ncr3000.mh, config/i386/ncr3000.mt,
config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h,
config/i386/nm-i386sco5.h, config/i386/nm-i386v.h,
config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h,
config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt,
config/m68k/tm-cisco.h, config/m68k/tm-os68k.h,
config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt,
config/rs6000/tm-rs6000ly.h: Delete files.

17 years ago * gdb.dwarf2/dw2-noloc.S: New file.
Joel Brobecker [Thu, 29 Mar 2007 19:03:56 +0000 (19:03 +0000)]
    * gdb.dwarf2/dw2-noloc.S: New file.
        * gdb.dwarf2/dw2-noloc.exp: New file.

17 years ago * defs.h (deprecated_registers_changed_hook): Delete declaration.
Daniel Jacobowitz [Thu, 29 Mar 2007 18:55:01 +0000 (18:55 +0000)]
* defs.h (deprecated_registers_changed_hook): Delete declaration.
* interps.c (clear_interpreter_hooks): Do not clear
deprecated_registers_changed_hook.
* regcache.c (registers_changed): Do not call it.
* top.c (deprecated_registers_changed_hook): Do not define it.
* mi/mi-interp.c (mi_command_loop): Do not clear it.
* tui/tui-hooks.c (tui_install_hooks): Do not install it.
(tui_remove_hooks): Do not remove it.
(tui_selected_frame_level_changed_hook): Check for negative level.
Use get_selected_frame.
(tui_registers_changed_hook): Deleted.

17 years ago * stabsread.c (add_undefined_type): Add extra parameter.
Joel Brobecker [Thu, 29 Mar 2007 18:33:58 +0000 (18:33 +0000)]
    * stabsread.c (add_undefined_type): Add extra parameter.
        Now handles nameless types separately.
        (struct nat): New type.
        (noname_undefs, noname_undefs_allocated, noname_undefs_length):
        New static variables.
        (read_type): Update calls to add_undefined_type.
        (add_undefined_type_noname): New function.
        (add_undefined_type_1): Renames from add_undefined_type.
        (cleanup_undefined_types_noname): New function.
        (cleanup_undefined_types_1): Renames cleanup_undefined_types.
        (cleanup_undefined_types): New handles nameless types separately.
        (_initialize_stabsread): Initialize our new static constants.

17 years ago2007-03-29 Denis Pilat <denis.pilat@st.com>
Denis Pilat [Thu, 29 Mar 2007 15:24:28 +0000 (15:24 +0000)]
2007-03-29  Denis Pilat  <denis.pilat@st.com>

* configure.ac: Test for signal.h.
* configure, config.in: Regenerate.