binutils-gdb.git
22 years ago2002-06-27 Kevin Buettner <kevinb@redhat.com>
Alan Modra [Thu, 27 Jun 2002 11:51:42 +0000 (11:51 +0000)]
2002-06-27  Kevin Buettner <kevinb@redhat.com>

* dwarf2.c (decode_line_info): Handle older, non-standard, 64-bit
DWARF2 formats.

22 years ago * cpu-powerpc.c: Comment on ordering of arch_info.
Alan Modra [Thu, 27 Jun 2002 11:29:15 +0000 (11:29 +0000)]
* cpu-powerpc.c: Comment on ordering of arch_info.
* elf32-ppc.c (ppc_elf_object_p): New function.
(elf_backend_object_p): Define.
* elf64-ppc.c (ppc64_elf_object_p): New function.
(elf_backend_object_p): Define.

22 years agoZap remainder of gdb.threads-hp directory.
Andrew Cagney [Thu, 27 Jun 2002 03:58:32 +0000 (03:58 +0000)]
Zap remainder of gdb.threads-hp directory.

22 years agodaily update
Alan Modra [Thu, 27 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Thu, 27 Jun 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * gdbint.texinfo (User Interface): Mention add_setshow_cmd and
Tom Tromey [Wed, 26 Jun 2002 20:58:48 +0000 (20:58 +0000)]
* gdbint.texinfo (User Interface): Mention add_setshow_cmd and

22 years ago * command.h (add_setshow_cmd): Declare.
Tom Tromey [Wed, 26 Jun 2002 20:58:17 +0000 (20:58 +0000)]
* command.h (add_setshow_cmd): Declare.
(add_setshow_cmd_full): Declare.
* cli/cli-decode.c (add_setshow_cmd): No longer static.  Now
returns void.  Use add_setshow_cmd_full.
(add_setshow_cmd_full): New function.
(add_setshow_auto_boolean_cmd): Use add_setshow_cmd_full.
(add_setshow_boolean_cmd): Likewise.

22 years agoRemove files checked in by mistake.
Jason Thorpe [Wed, 26 Jun 2002 18:37:26 +0000 (18:37 +0000)]
Remove files checked in by mistake.

22 years ago* config/vax/tm-vax.h: Protect from multiple inclusion.
Jason Thorpe [Wed, 26 Jun 2002 17:39:30 +0000 (17:39 +0000)]
* config/vax/tm-vax.h: Protect from multiple inclusion.
(TARGET_UPAGES, TARGET_NBPG, STACK_END_ADDR)
(SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Move to...
* config/vax/tm-vaxbsd.h: ...here.  New file.
* config/vax/vax.mt (TM_FILE): Set to tm-vaxbsd.h.

22 years ago* config/vax/tm-vax.h (BREAKPOINT): Remove.
Jason Thorpe [Wed, 26 Jun 2002 17:20:36 +0000 (17:20 +0000)]
* config/vax/tm-vax.h (BREAKPOINT): Remove.
(BELIEVE_PCC_PROMOTION): Remove.
(AP_REGNUM): Move to...
* config/vax/nm-vax.h: ...here.
* vax-tdep.c: Use VAX_AP_REGNUM instead of AP_REGNUM.
(vax_breakpoint_from_pc): New function.
(vax_gdbarch_init): Initialize gdbarch_breakpoint_from_pc
and gdbarch_believe_pcc_promotion.

22 years ago* config/m68k/tm-m68k.h: Rearrange code so macros not in the
Grace Sainsbury [Wed, 26 Jun 2002 17:09:30 +0000 (17:09 +0000)]
* config/m68k/tm-m68k.h: Rearrange code so macros not in the
gdbarch vector are at the top.
(NUM_REGS): Remove.
(FP_REGNUM, SP_REGNUM, PS_REGNUM, PC_REGNUM, FP0_REGNUM): Remove.
(FRAME_ARGS_ADDRESS): Remove.
(FRAME_LOCALS_ADDRESS): Remove.
(FRAME_NUM_ARGS): Remove.
(FRAME_ARGS_SKIP): Remove.
* m68k-tdep.c (enum): Add eumeration of special register numbers.
(m68k_gdbarch_init): Add gdbarch initializations for macros
undefined in tm-m68k.h

22 years ago* Makefile.in (vax_tdep_h): Define.
Jason Thorpe [Wed, 26 Jun 2002 16:07:16 +0000 (16:07 +0000)]
* Makefile.in (vax_tdep_h): Define.
(vax-tdep.o): Use $(vax_tdep_h).
* vax-tdep.c (vax_gdbarch_init): Use generic OS ABI framework.
(vax_dump_tdep): New function.
(_initialize_vax_tdep): Register vax_dump_tdep.
* vax-tdep.h: Include osabi.h.
(struct gdbarch_tdep): New.

22 years agold:
Joern Rennecke [Wed, 26 Jun 2002 15:42:33 +0000 (15:42 +0000)]
ld:
        * emulparams/shelf.sh (STACK_ADDR): Don't define.
        (OTHER_SECTIONS): Define.
        * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
        (OTHER_SECTIONS): Undef.
newlib:
        * libc/sys/sh/crt0.S: Remove vestigial .section directive.
gcc:
        * config/sh/crt1.asm: remove _stack label definition
        and sentinel value.

22 years ago* frame.h (deprecated_generic_find_dummy_frame): Rename
Andrew Cagney [Wed, 26 Jun 2002 15:28:46 +0000 (15:28 +0000)]
* frame.h (deprecated_generic_find_dummy_frame): Rename
generic_find_dummy_frame.
* blockframe.c (generic_find_dummy_frame): Make static.
(deprecated_generic_find_dummy_frame): New function.
* sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace
generic_find_dummy_frame with deprecated_find_dummy_frame.
(sh64_nofp_frame_init_saved_regs): Ditto.
(sh_fp_frame_init_saved_regs): Ditto.
* s390-tdep.c (s390_frame_saved_pc_nofix): Ditto.
(s390_frame_chain): Ditto.
* cris-tdep.c (cris_frame_init_saved_regs): Ditto.

22 years agomade regname function const char *
Grace Sainsbury [Wed, 26 Jun 2002 15:27:48 +0000 (15:27 +0000)]
made regname function const char *

22 years agoRescind Tom Rix's maintainerships.
Nick Clifton [Wed, 26 Jun 2002 15:26:52 +0000 (15:26 +0000)]
Rescind Tom Rix's maintainerships.

22 years ago* monitor.h: Add the function regname to monitor_ops
Grace Sainsbury [Wed, 26 Jun 2002 15:14:32 +0000 (15:14 +0000)]
* monitor.h: Add the function regname to monitor_ops
structure. This way NUM_REGS does not have to be a constant.
* monitor.c (monitor_fetch_register): Added support for regname
function. The function is called if the array regnames is NULL.
(monitor_store_register): Same.
* cpu32bug-rom.c (cpu32bug_regname):  Add function. Replaces regnames array.
(init_cpu32bug_cmds): set cpu32bug_cmds.regnames to NULL,
cpu32bug_cmds.regname to point to new function.
* abug-rom.c (abug_regname): Same as above.
(init_abug_cmds): Same.
* dbug-rom.c (dbug_regname): Same as above.
(init_dbug_cmds): Same.
* remote-est.c (est_regname): Same.
(init_est_cmds): Same.
* rom68k-rom.c (rom68k_regname): Same.
(init_rom68k_cmds): Same.

22 years ago * nm.c (print_symname): When demangling, strip leading dots from
Alan Modra [Wed, 26 Jun 2002 13:23:45 +0000 (13:23 +0000)]
* nm.c (print_symname): When demangling, strip leading dots from
symbol names to avoid confusing the demangler.

22 years ago * ldmisc.c (demangle): Restore dots stripped from sym name.
Alan Modra [Wed, 26 Jun 2002 13:22:55 +0000 (13:22 +0000)]
* ldmisc.c (demangle): Restore dots stripped from sym name.

22 years agoNew Turkish translation
Nick Clifton [Wed, 26 Jun 2002 08:21:04 +0000 (08:21 +0000)]
New Turkish translation

22 years ago * breakpoint.c (delete_command): Don't repeat `delete' commands.
Tom Tromey [Wed, 26 Jun 2002 05:20:04 +0000 (05:20 +0000)]
* breakpoint.c (delete_command): Don't repeat `delete' commands.

22 years ago* configure.in (vax-*-netbsd*): Set COREFILE to netbsd-core.lo.
Jason Thorpe [Wed, 26 Jun 2002 03:10:20 +0000 (03:10 +0000)]
* configure.in (vax-*-netbsd*): Set COREFILE to netbsd-core.lo.
* configure: Regenerate.

22 years ago * ecoff.c: (get_tag): Replace strcpy with xstrdup.
Alan Modra [Wed, 26 Jun 2002 01:18:42 +0000 (01:18 +0000)]
* ecoff.c: (get_tag): Replace strcpy with xstrdup.
(ecoff_directive_def): Likewise.
(ecoff_directive_tag): Likewise.
* listing.c (file_info): Likewise.
* hash.c (what): Likewise.

22 years ago2002-06-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 26 Jun 2002 01:12:32 +0000 (01:12 +0000)]
2002-06-25  H.J. Lu <hjl@gnu.org>

* Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
* Makefile.in: Regenerated.

22 years ago*** empty log message ***
gdbadmin [Wed, 26 Jun 2002 00:00:20 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Wed, 26 Jun 2002 00:00:18 +0000 (00:00 +0000)]
daily update

22 years agoCheck unit->addr_size to read in the proper number of prologue bytes.
Nick Clifton [Tue, 25 Jun 2002 19:10:00 +0000 (19:10 +0000)]
Check unit->addr_size to read in the proper number of prologue bytes.

22 years ago* infrun.c (stop_registers): Change variable's type to ``struct
Andrew Cagney [Tue, 25 Jun 2002 18:38:57 +0000 (18:38 +0000)]
* infrun.c (stop_registers): Change variable's type to ``struct
regcache'''.
(xmalloc_inferior_status): Delete function.
(free_inferior_status): Delete function.
(normal_stop): Use regcache_cpy.
(struct inferior_status): Change type of fields ``stop_registers''
and ``registers'' to ``struct regcache''.
(write_inferior_status_register): Use regcache_write.
(save_inferior_status): Instead of calling
xmalloc_inferior_status, allocate the inf_status buffer directly.
Use regcache_dup_no_passthrough and regcache_dup to save the
buffers.
(restore_inferior_status): Use regcache_xfree and regcache_cpy.
Replace the stop_registers regcache instead of overriding it.  Use
regcache_xfree.  Instead of calling free_inferior_status, xfree
the buffer directly.
(discard_inferior_status): Use regcache_xfree.  Instead of calling
free_inferior_status, xfree the buffer directly.
(build_infrun): Use regcache_xmalloc.
(_initialize_infrun): Delete redundant call to build_infrun.
* Makefile.in (infcmd.o): Add $(regcache_h).
* infcmd.c: Include "regcache.h".
(run_stack_dummy): Use deprecated_grub_regcache_for_registers to
obtain the address of `stop_registers' register buffer.
(print_return_value): Ditto.
* inferior.h (struct regcache): Add opaque declaration.
(stop_registers): Change variable's declared type to ``struct
regcache''.

22 years agofixup position of #ifdef BFD64 for powerpc delta recently applied.
Nick Clifton [Tue, 25 Jun 2002 17:29:53 +0000 (17:29 +0000)]
fixup position of #ifdef BFD64 for powerpc delta recently applied.

22 years agoOnly create a selvecs for aix5coff64_vec if 64-bit bfd support has been enabled.
Nick Clifton [Tue, 25 Jun 2002 10:05:05 +0000 (10:05 +0000)]
Only create a selvecs for aix5coff64_vec if 64-bit bfd support has been enabled.

22 years ago * elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy.
Alan Modra [Tue, 25 Jun 2002 09:40:45 +0000 (09:40 +0000)]
* elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy.
* elf32-hppa.c (hppa_add_stub): Likewise.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise.
* elflink.h (elf_add_default_symbol): Fix comment typo.
(elf_add_default_symbol): Replace strcpy and strncpy with memcpy.
(elf_link_add_object_symbols): Likewise.
(elf_link_assign_sym_version): Likewise.
* hash.c (bfd_hash_lookup): Likewise.
* linker.c (_bfd_generic_link_add_one_symbol): Likewise.
* section.c (bfd_get_unique_section_name): Likewise.
* syms.c (_bfd_stab_section_find_nearest_line): Likewise.
* elf.c (_bfd_elf_make_section_from_phdr): Likewise.
(assign_section_numbers): Likewise.
(_bfd_elfcore_make_pseudosection): Likewise.
(elfcore_grok_lwpstatus): Likewise.
(elfcore_grok_win32pstatus): Likewise.
(elfcore_write_note): Constify input params.  Use PTR instead of
void *.  Include terminating NUL in namesz.  Correct padding.
Support NULL "name" param.  Use memcpy instead of strcpy.
(elfcore_write_prpsinfo): Constify input params.
(elfcore_write_prstatus): Likewise.  Use PTR instead of void *.
(elfcore_write_lwpstatus): Likewise.
(elfcore_write_pstatus): Likewise.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_prxfpreg): Likewise.
* elf-bfd.h (elfcore_write_note): Update declaration.
(elfcore_write_prpsinfo): Likewise.
(elfcore_write_prstatus): Likewise.
(elfcore_write_pstatus): Likewise.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_prxfpreg): Likewise.
(elfcore_write_lwpstatus): Likewise.

22 years agoSet BSF_FUNCTION for symbols of type stProc and stStaticProc.
Nick Clifton [Tue, 25 Jun 2002 08:47:31 +0000 (08:47 +0000)]
Set BSF_FUNCTION for symbols of type stProc and stStaticProc.
Formatting tidy ups.

22 years ago * coff-rs6000.c (xcoff_generate_rtinit): Fix typo.
Alan Modra [Tue, 25 Jun 2002 07:40:49 +0000 (07:40 +0000)]
* coff-rs6000.c (xcoff_generate_rtinit): Fix typo.

22 years ago2002-06-25 Don Howard <dhoward@redhat.com>
Don Howard [Tue, 25 Jun 2002 07:23:29 +0000 (07:23 +0000)]
2002-06-25  Don Howard  <dhoward@redhat.com>

       * gdb.texinfo (Memory Region Attributes): Document new behavior
       for 'mem' command.

22 years ago * aout-adobe.c: Don't compare against "true" or "false.
Alan Modra [Tue, 25 Jun 2002 06:21:54 +0000 (06:21 +0000)]
* aout-adobe.c: Don't compare against "true" or "false.
* aout-target.h: Likewise.
* aoutx.h: Likewise.
* archive.c: Likewise.
* bout.c: Likewise.
* cache.c: Likewise.
* coff-a29k.c: Likewise.
* coff-alpha.c: Likewise.
* coff-i386.c: Likewise.
* coff-mips.c: Likewise.
* coff-or32.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffgen.c: Likewise.
* cpu-ns32k.c: Likewise.
* ecoff.c: Likewise.
* ecofflink.c: Likewise.
* elf.c: Likewise.
* elf32-arm.h: Likewise.
* elf32-cris.c: Likewise.
* elf32-d30v.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-sh64.c: Likewise.
* elfcode.h: Likewise.
* elfcore.h: Likewise.
* elflink.h: Likewise.
* elfxx-mips.c: Likewise.
* i386os9k.c: Likewise.
* ieee.c: Likewise.
* libbfd.c: Likewise.
* linker.c: Likewise.
* mmo.c: Likewise.
* nlm32-alpha.c: Likewise.
* nlm32-i386.c: Likewise.
* nlm32-ppc.c: Likewise.
* nlm32-sparc.c: Likewise.
* nlmcode.h: Likewise.
* oasys.c: Likewise.
* pdp11.c: Likewise.
* peicode.h: Likewise.
* reloc.c: Likewise.
* som.c: Likewise.
* srec.c: Likewise.
* tekhex.c: Likewise.
* vms.c: Likewise.
* xcofflink.c: Likewise.
* elf64-sparc.c: Edit comment to not use "== false".

* aoutf1.h: Don't use "? true : false".
* ecoff.c: Likewise.
* format.c: Likewise.
* ieee.c: Likewise.
* linker.c: Likewise.
* mmo.c: Likewise.
* oasys.c: Likewise.

22 years ago * cli/cli-decode.c (add_show_from_set): Fixed typo in comment.
Tom Tromey [Tue, 25 Jun 2002 05:39:18 +0000 (05:39 +0000)]
* cli/cli-decode.c (add_show_from_set): Fixed typo in comment.
* target.c (initialize_targets): Fixed typo in
trust-readonly-sections `show' documentation.

22 years ago * main.c: Marked all strings with _().
Tom Tromey [Tue, 25 Jun 2002 05:35:16 +0000 (05:35 +0000)]
* main.c: Marked all strings with _().

22 years agomerge from gcc
DJ Delorie [Tue, 25 Jun 2002 01:03:52 +0000 (01:03 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Tue, 25 Jun 2002 00:11:06 +0000 (00:11 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Tue, 25 Jun 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-06-24 Don Howard <dhoward@redhat.com>
Don Howard [Mon, 24 Jun 2002 22:08:30 +0000 (22:08 +0000)]
2002-06-24  Don Howard  <dhoward@redhat.com>

        * memattr.c (create_mem_region): Treat hi == 0 as a special case
        that means max CORE_ADDR+1.
        (lookup_mem_region): Ditto.
        (mem_info_command): Ditto.

22 years ago * config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove.
Grace Sainsbury [Mon, 24 Jun 2002 17:48:43 +0000 (17:48 +0000)]
* config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove.
(REGISTER_BYTES_OK): Remove.
(REGISTER_BYTES): Remove.
(STORE_STRUCT_RETURN): Remove.
(DEPRECATED_EXTRACT_RETURN_VALUE): Remove.
(STORE_RETURN_VALUE): Remove.
(DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
(FRAME_CHAIN): Remove.
(FRAMELESS_FUNCTION_INVOCATION): Remove.
(FRAME_SAVED_PC): Remove.
* m68k-tdep.c (m68k_register_bytes_ok):Add.
(m68k_store_struct_return): Add.
(m68k_deprecated_extract_return_value): Add.
(m68k_deprecated_extract_struct_value_address): Add.
(m68k_store_return_value): Add.
(m68k_frame_chain): Add.
(m68k_frameless_function_invocation): Add.
(m68k_frame_saved_pc): Add.
(m68k_gdbarch_init): added set_gdbarch calls for new
functions and deleted macros.

22 years ago2002-06-24 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 24 Jun 2002 17:41:28 +0000 (17:41 +0000)]
2002-06-24  Ben Elliston  <bje@redhat.com>

* configure.in (host_tools): Remove cgen.

* Makefile.in (all-cgen): Remove; runs from its source directory.
(check-cgen, install-cgen, clean-cgen): Likewise.
(all-opcodes): No not depend on all-cgen.
(all-sim): Likewise.

22 years agomerge from gcc
DJ Delorie [Mon, 24 Jun 2002 17:39:28 +0000 (17:39 +0000)]
merge from gcc

22 years ago2002-06-24 Richard Sandiford <rsandifo@redhat.com>
Elena Zannoni [Mon, 24 Jun 2002 13:26:07 +0000 (13:26 +0000)]
2002-06-24  Richard Sandiford  <rsandifo@redhat.com>

        * sh64.c: Update path of "callback.h".

2002-06-20  Elena Zannoni  <ezannoni@redhat.com>

        * sh64.c: Include correct file for register numbers.

22 years ago * Makefile.in (HFILES_NO_SRCDIR): Remove old files.
Tom Tromey [Mon, 24 Jun 2002 04:47:09 +0000 (04:47 +0000)]
* Makefile.in (HFILES_NO_SRCDIR): Remove old files.
(ALLDEPFILES): Likewise.
(udiheaders): Removed.
(udip2soc.o): Likewise.
(udi2go32.o): Likewise.
(udr.o): Likewise.
(HFILES_WITH_SRCDIR): Don't mention udiheaders.

22 years ago*** empty log message ***
gdbadmin [Mon, 24 Jun 2002 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Mon, 24 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years ago * elflink.h (elf_link_add_archive_symbols): For the default
Alan Modra [Sun, 23 Jun 2002 12:44:31 +0000 (12:44 +0000)]
* elflink.h (elf_link_add_archive_symbols): For the default
version, check references with only one `@' first.

22 years ago * elf64-hppa.c (elf64_hppa_mark_milli_and_exported_functions): New
Alan Modra [Sun, 23 Jun 2002 09:05:59 +0000 (09:05 +0000)]
* elf64-hppa.c (elf64_hppa_mark_milli_and_exported_functions): New
function.
(allocate_global_data_dlt):  Don't add millicode symbols to dynamic
symbol table.
(allocate_global_data_opd, allocate_dynrel_entries): Likewise.
(elf64_hppa_size_dynamic_sections): Revise to use
elf64_hppa_mark_milli_and_exported_functions.
(elf64_hppa_finish_dynamic_symbol): Remove code to keep millicode
symbols out of dynamic symbol table.

22 years ago * Makefile.in: Regenerate.
Alan Modra [Sun, 23 Jun 2002 02:09:05 +0000 (02:09 +0000)]
* Makefile.in: Regenerate.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

22 years ago2002-06-23 Alan Modra <amodra@bigpond.net.au>
Alan Modra [Sun, 23 Jun 2002 02:04:28 +0000 (02:04 +0000)]
2002-06-23  Alan Modra  <amodra@bigpond.net.au>

* elflink.h: Comment typo fixes.

2002-06-23  H.J. Lu  <hjl@gnu.org>

* elf-bfd.h (elf_link_loaded_list): New structure.
(elf_link_hash_table): Add "loaded".
* elf.c (_bfd_elf_link_hash_table_init): Initialize "loaded".
* elflink.h (elf_link_check_versioned_symbol): New function.
(elf_link_output_extsym): Call elf_link_check_versioned_symbol.

22 years ago*** empty log message ***
gdbadmin [Sun, 23 Jun 2002 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sun, 23 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years ago* gdb.base/selftest.exp (do_stes_and_next): Skip calls to
Andrew Cagney [Sat, 22 Jun 2002 22:19:37 +0000 (22:19 +0000)]
* gdb.base/selftest.exp (do_stes_and_next): Skip calls to
setlocale, bindtextdomain and textdomain.

22 years ago* infrun.c (_initialize_infrun): Delete unnecessary call to
Andrew Cagney [Sat, 22 Jun 2002 22:04:33 +0000 (22:04 +0000)]
* infrun.c (_initialize_infrun): Delete unnecessary call to
build_infrun.

22 years ago* regcache.h: Update comments describing the regcache_cpy family
Andrew Cagney [Sat, 22 Jun 2002 21:18:32 +0000 (21:18 +0000)]
* regcache.h: Update comments describing the regcache_cpy family
of functions.
(regcache_save, regcache_restore): Delete declaration.
(regcache_save_no_passthrough): Delete declaration.
(regcache_restore_no_passthrough): Delete declaration.
* regcache.c (regcache_save): Delete function.
(regcache_save_no_passthrough): Delete function.
(regcache_restore): Delete function.
(regcache_restore_no_passthrough): Delete function.

22 years ago* Makefile.in (INTL_SRC): Define.
Andrew Cagney [Sat, 22 Jun 2002 19:10:34 +0000 (19:10 +0000)]
* Makefile.in (INTL_SRC): Define.
(INTL_CFLAGS): Define.
(INTL_DIR): Define.
(STD_CFLAGS): Add INTL_CFLAGS.

22 years agomerge from gcc
DJ Delorie [Sat, 22 Jun 2002 13:31:20 +0000 (13:31 +0000)]
merge from gcc

22 years ago* config/m68k/tm-m68k.h: Fix typo.
Andrew Cagney [Sat, 22 Jun 2002 00:33:56 +0000 (00:33 +0000)]
* config/m68k/tm-m68k.h: Fix typo.
(FRAME_INIT_SAVED_REGS): Define when non-multi-arch.
(m68k_frame_init_saved_regs): Declare.

22 years agoRemove some vestiges of Harris 88k support.
Jim Blandy [Sat, 22 Jun 2002 00:05:59 +0000 (00:05 +0000)]
Remove some vestiges of Harris 88k support.
* dwarf2read.c (decode_locdesc): Remove `#if' block for Harris 88k
register numbering quirk.
* elfread.c (elf_symtab_read): Remove `#if' block for skipping
odd symbols occurring in Harris 88k ELF targets.

22 years ago*** empty log message ***
gdbadmin [Sat, 22 Jun 2002 00:00:39 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sat, 22 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years ago * gdb_locale.h: New file.
Tom Tromey [Fri, 21 Jun 2002 23:48:41 +0000 (23:48 +0000)]
* gdb_locale.h: New file.
* Makefile.in (GDB_CFLAGS): Define LOCALEDIR.
(defs_h): Added gdb_locale.h.
* configure, config.in: Rebuilt.
* configure.in (PACKAGE): Define.
* defs.h: Include gdb_locale.h.
* main.c (captured_main): Call setlocale, bindtextdomain,

22 years ago* configure.in: Fix AIX configury bug.
DJ Delorie [Fri, 21 Jun 2002 22:20:17 +0000 (22:20 +0000)]
* configure.in: Fix AIX configury bug.

22 years ago2002-06-21 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 21 Jun 2002 21:19:58 +0000 (21:19 +0000)]
2002-06-21  Dave Brolley  <brolley@redhat.com>

From Stan Shebs, Jim Blandy, Mark Salter, Kevin Buettner:
* config/frv/frv.mt: New file.
* config/frv/tm-frv.h: New file.
* configure.tgt: Support frv-*-*.
* Makefile.in (frv-tdep.o): New target.
* frv-tdep.c: New file.
* NEWS: Mention frv.

22 years ago2002-06-21 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 21 Jun 2002 21:17:21 +0000 (21:17 +0000)]
2002-06-21  Dave Brolley  <brolley@redhat.com>

* MAINTAINERS: Add self to "Write After Approval" list.

22 years ago* config/m68k/tm-m68k.h (REGISTER_BYTE, REGISTER_RAW_SIZE)
Grace Sainsbury [Fri, 21 Jun 2002 20:23:29 +0000 (20:23 +0000)]
* config/m68k/tm-m68k.h (REGISTER_BYTE, REGISTER_RAW_SIZE)
(REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
(REGISTER_VIRTUAL_TYPE, REGISTER_NAMES, TARGET_LONG_DOUBLE_FORMAT)
(FUNCTION_START_OFFSET, SKIP_PROLOGUE, SAVED_PC_AFTER_CALL)
(INNER_THAN, STACK_ALIGN, REGISTER_SIZE): Remove macros.

* m68k-tdep.c: Include arch-utils.h
(m68k_register_raw_size): Add.
(m68k_register_virtual_size): Add.
(m68k_register_virtual_type): Add.
(m68k_register_name): Add.
(m68k_stack_align): Add.
(m68k_register_byte): Add.
(m68k_gdbarch_init): Add set_gdbarch calls for macros removed in
tm-m68k.h.

22 years agoFixed changelog entry. Indented m68k-tdep.c
Grace Sainsbury [Fri, 21 Jun 2002 15:47:35 +0000 (15:47 +0000)]
Fixed changelog entry. Indented m68k-tdep.c

22 years agoReplaced frame_find_saved_regs with frame_init_saved_regs. Converted
Grace Sainsbury [Fri, 21 Jun 2002 14:56:18 +0000 (14:56 +0000)]
Replaced frame_find_saved_regs with frame_init_saved_regs. Converted
call dummy macros to multi-arch.

22 years ago2002-06-19 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Fri, 21 Jun 2002 14:32:10 +0000 (14:32 +0000)]
2002-06-19  Pierre Muller  <muller@ics.u-strasbg.fr>

* parse.c (parse_fprintf): New function used to avoid calls to
fprintf in bison parser generated debug code.
* parser-defs.h: Declaration of new parse_fprintf function.
* ada-exp.y, c-exp.y, f-exp.y, jv-exp.y, m2-exp.y, p-exp.y:
Set YYDEBUG to 1 by default.
Set YYFPRINTF as parse_fprintf.

22 years ago * dwarf2cfi.c: Reindented.
Michal Ludvig [Fri, 21 Jun 2002 13:53:24 +0000 (13:53 +0000)]
* dwarf2cfi.c: Reindented.

22 years ago2002-06-21 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Fri, 21 Jun 2002 12:12:34 +0000 (12:12 +0000)]
2002-06-21  Michal Ludvig  <mludvig@suse.cz>

* dwarf2cfi.c (read_encoded_pointer): Don't handle pointer
encoding anymore.
(pointer_encoding, enum ptr_encoding): New.
(execute_cfa_program): Take care about pointer encoding.
(dwarf2_build_frame_info): Only call parse_frame_info for
.debug_frame and .eh_frame.
(parse_frame_info): New, derived from former dwarf2_build_frame_info.
fixed augmentation handling, added relative addressing,
ignore duplicate FDEs. Added comments.

22 years agoSet correct value for ADP_Stopped_RunTimeError
Nick Clifton [Fri, 21 Jun 2002 06:58:36 +0000 (06:58 +0000)]
Set correct value for ADP_Stopped_RunTimeError

22 years ago * configure.in: Quote bu_cv_have_fopen64.
Alan Modra [Fri, 21 Jun 2002 02:41:52 +0000 (02:41 +0000)]
* configure.in: Quote bu_cv_have_fopen64.
* configure: Regenerate.

22 years ago * configure.in: Check for strcoll.
Alan Modra [Fri, 21 Jun 2002 02:34:38 +0000 (02:34 +0000)]
* configure.in: Check for strcoll.
* configure: Regenerate.
* config.in: Regenerate.
* nm.c (main): Set locale for LC_COLLATE category.
(non_numeric_forward): Use strcoll if available.

22 years ago2002-06-20 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 21 Jun 2002 00:13:54 +0000 (00:13 +0000)]
2002-06-20  Elena Zannoni  <ezannoni@redhat.com>

* event-top.c (command_handler): Don't use space_at_cmd_start
unless there is sbrk() on the host. Assign time and space data
to union fields of the appropriate length.

22 years ago*** empty log message ***
gdbadmin [Fri, 21 Jun 2002 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Fri, 21 Jun 2002 00:00:08 +0000 (00:00 +0000)]
daily update

22 years ago2002-06-20 Dave Brolley <brolley@redhat.com>
Dave Brolley [Thu, 20 Jun 2002 19:55:10 +0000 (19:55 +0000)]
2002-06-20  Dave Brolley  <brolley@redhat.com>

* MAINTAINERS: Add self as fr30 and frv maintainer.

22 years agoUpdate bug reporting guidelines
Nick Clifton [Thu, 20 Jun 2002 14:44:10 +0000 (14:44 +0000)]
Update bug reporting guidelines

22 years agoRemove romp target
Nick Clifton [Thu, 20 Jun 2002 14:10:38 +0000 (14:10 +0000)]
Remove romp target

22 years ago2002-06-20 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Thu, 20 Jun 2002 13:08:12 +0000 (13:08 +0000)]
2002-06-20  Michal Ludvig  <mludvig@suse.cz>

* x86-64-tdep.c (x86_64_register_nr2name): Rename to
x86_64_register_name. Return type changed to 'const char *'.
(x86_64_register_name2nr): Rename to x86_64_register_number.
(x86_64_gdbarch_init): Update to reflect the change.
* x86-64-tdep.h: Ditto.
* x86-64-linux-nat.c (x86_64_fxsave_offset)
(supply_fpregset): Ditto.

22 years ago* regcache.h: Update copyright.
Andrew Cagney [Thu, 20 Jun 2002 03:13:51 +0000 (03:13 +0000)]
* regcache.h: Update copyright.
(struct regcache, struct gdbarch): Add opaque declarations.
(current_regcache): Declare global variable.
(regcache_read, regcache_write): Add gdbarch parameter.
(regcache_save, regcache_save_no_passthrough)
(regcache_restore, regcache_restore_no_passthrough)
(regcache_dup, regcache_dup_no_passthrough)
(regcache_cpy, regcache_cpy_no_passthrough)
(deprecated_grub_regcache_for_registers)
(deprecated_grub_regcache_for_register_valid)
(regcache_valid_p): Add function declarations.

* regcache.c: Update copyright.
(regcache_descr_handle): New global variable.
(struct regcache_descr): Define.
(init_legacy_regcache_descr, init_regcache_descr): New functions.
(regcache_descr, xfree_regcache_descr): New functions.
(struct regcache): Define.
(regcache_xmalloc, regcache_xfree): New functions.
(regcache_cpy, regcache_cpy_no_passthrough): New functions.
(regcache_dup, regcache_dup_no_passthrough): New functions.
(regcache_valid_p, regcache_read_as_address): New functions.
(deprecated_grub_regcache_for_registers): New function.
(deprecated_grub_regcache_for_register_valid): New function.
(current_regcache): New global variable.
(register_buffer): Add regcache parameter.  Update calls.
(regcache_read, regcache_write): Add regcache parameter.  Rewrite.
(read_register_gen, write_register_gen): Update register_buffer
call.  Test for legacy_p instead of gdbarch_register_read_p or
gdbarch_register_write_p.
(regcache_collect): Update register_buffer call.
(build_regcache): Rewrite.  Use deprecated grub functions.
(regcache_save, regcache_save_no_passthrough): New functions.
(regcache_restore, regcache_restore_no_passthrough): New
functions.
(_initialize_regcache): Create the regcache_data_handle. Swap
current_regcache global variable.

* sh-tdep.c (sh_pseudo_register_read): Add current_regcache
parameter to regcache_read and regcache_write calls.
(sh4_register_read): Ditto.
(sh64_pseudo_register_read): Ditto.
(sh64_register_read): Ditto.
(sh_pseudo_register_write): Ditto.
(sh4_register_write): Ditto.
(sh64_pseudo_register_write): Ditto.
(sh64_register_write): Ditto.

* defs.h (XCALLOC): Define.

22 years ago*** empty log message ***
gdbadmin [Thu, 20 Jun 2002 00:02:36 +0000 (00:02 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Thu, 20 Jun 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago* configure.in: replace ${topsrcdir} with ${srcdir}
DJ Delorie [Wed, 19 Jun 2002 23:57:41 +0000 (23:57 +0000)]
* configure.in: replace ${topsrcdir} with ${srcdir}

22 years ago* configure.in: Move definition of libstdcxx_flags
DJ Delorie [Wed, 19 Jun 2002 23:53:30 +0000 (23:53 +0000)]
* configure.in: Move definition of libstdcxx_flags
right above usage, rather than waaay earlier.

22 years ago* configure.in: Rearrange a little.
DJ Delorie [Wed, 19 Jun 2002 23:47:55 +0000 (23:47 +0000)]
* configure.in: Rearrange a little.

22 years ago* configure.in: Pull definition of is_cross_compiler earlier.
DJ Delorie [Wed, 19 Jun 2002 23:39:41 +0000 (23:39 +0000)]
* configure.in: Pull definition of is_cross_compiler earlier.

22 years ago* configure.in: Rearrange a little.
DJ Delorie [Wed, 19 Jun 2002 23:24:18 +0000 (23:24 +0000)]
* configure.in: Rearrange a little.

22 years ago* configure.in: Remove references to librx.
DJ Delorie [Wed, 19 Jun 2002 23:07:26 +0000 (23:07 +0000)]
* configure.in: Remove references to librx.
* Makefile.in: Remove references to librx.

22 years agoAdded functions for multi-arch.
Grace Sainsbury [Wed, 19 Jun 2002 20:44:22 +0000 (20:44 +0000)]
Added functions for multi-arch.

22 years ago* configure.in: Eliminate ${gasdir} variable.
DJ Delorie [Wed, 19 Jun 2002 17:39:26 +0000 (17:39 +0000)]
* configure.in: Eliminate ${gasdir} variable.

22 years ago2002-06-19 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Wed, 19 Jun 2002 16:55:28 +0000 (16:55 +0000)]
2002-06-19  Daniel Jacobowitz  <drow@mvista.com>

        * ada-lang.c (fill_in_ada_prototype): Update comment.

22 years ago2002-06-19 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Wed, 19 Jun 2002 16:48:47 +0000 (16:48 +0000)]
2002-06-19  Daniel Jacobowitz  <drow@mvista.com>

        * mips-tdep.c (enum mips_abi): Explicitly start at 0.  Add
        MIPS_ABI_LAST.
        (mips_abi_string, mips_abi_strings): New.
        (struct gdbarch_tdep): Remove mips_abi_string, add found_abi.
        (mips_gdbarch_init): Set tdep->found_abi.  Don't set
        tdep->mips_abi_string.  Honor mips_abi_string.  Default to
        O32 if no ABI is found.
        (mips_dump_tdep): Use mips_abi_strings.
        (mips_abi_update): New function.
        (_initialize_mips_tdep): Initialize mips_abi_string.  Add
        ``set mips abi'' and ``show mips abi''.  Check the size of
        mips_abi_strings.

22 years ago* i386-linux-tdep.c (i386_linux_register_name): Make return type
Andrew Cagney [Wed, 19 Jun 2002 14:59:47 +0000 (14:59 +0000)]
* i386-linux-tdep.c (i386_linux_register_name): Make return type
constant.

22 years agoTypo fixes in comment.
Joern Rennecke [Wed, 19 Jun 2002 14:31:07 +0000 (14:31 +0000)]
Typo fixes in comment.

22 years ago * config/tc-sh.c (get_specific): Revert 2002-05-01 change.
Joern Rennecke [Wed, 19 Jun 2002 14:28:09 +0000 (14:28 +0000)]
* config/tc-sh.c (get_specific): Revert 2002-05-01 change.
(assemble_ppi): Generate warning if the same register is used
twice as destination in the same padd / pmuls instruction.

22 years agoIf the target does not support an ELF style has table, return true, indicating
Nick Clifton [Wed, 19 Jun 2002 10:07:37 +0000 (10:07 +0000)]
If the target does not support an ELF style has table, return true, indicating
that nothing needed to be done, rather than false, indicating that the
section's size could not be computed.