Grace Sainsbury
1c617db829
* 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.
2002-06-26 15:14:32 +00:00
Alan Modra
eb3f2f5cfd
* nm.c (print_symname): When demangling, strip leading dots from
...
symbol names to avoid confusing the demangler.
2002-06-26 13:23:45 +00:00
Alan Modra
fc28fbc2a9
* ldmisc.c (demangle): Restore dots stripped from sym name.
2002-06-26 13:22:55 +00:00
Nick Clifton
6c6783ff8c
New Turkish translation
2002-06-26 08:21:04 +00:00
Tom Tromey
ea9365bb21
* breakpoint.c (delete_command): Don't repeat `delete' commands.
2002-06-26 05:20:04 +00:00
Jason Thorpe
a4e6cefc0d
* configure.in (vax-*-netbsd*): Set COREFILE to netbsd-core.lo.
...
* configure: Regenerate.
2002-06-26 03:10:20 +00:00
Alan Modra
a2c360614d
* 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.
2002-06-26 01:18:42 +00:00
H.J. Lu
a13a0de813
2002-06-25 H.J. Lu <hjl@gnu.org>
...
* Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
* Makefile.in: Regenerated.
2002-06-26 01:12:32 +00:00
gdbadmin
93e0c1ccea
*** empty log message ***
2002-06-26 00:00:20 +00:00
Alan Modra
0d8641dd17
daily update
2002-06-26 00:00:18 +00:00
Nick Clifton
dae2dd0d26
Check unit->addr_size to read in the proper number of prologue bytes.
2002-06-25 19:10:00 +00:00
Andrew Cagney
72cec14173
* 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''.
2002-06-25 18:38:57 +00:00
Nick Clifton
8f28b84541
fixup position of #ifdef BFD64 for powerpc delta recently applied.
2002-06-25 17:29:53 +00:00
Nick Clifton
680f9d5c14
Only create a selvecs for aix5coff64_vec if 64-bit bfd support has been enabled.
2002-06-25 10:05:05 +00:00
Alan Modra
d4c88bbbc9
* 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.
2002-06-25 09:40:45 +00:00
Nick Clifton
b0ac09d2fb
Set BSF_FUNCTION for symbols of type stProc and stStaticProc.
...
Formatting tidy ups.
2002-06-25 08:47:31 +00:00
Alan Modra
021d609642
* coff-rs6000.c (xcoff_generate_rtinit): Fix typo.
2002-06-25 07:40:49 +00:00
Don Howard
bfac230e83
2002-06-25 Don Howard <dhoward@redhat.com>
...
* gdb.texinfo (Memory Region Attributes): Document new behavior
for 'mem' command.
2002-06-25 07:23:29 +00:00
Alan Modra
82e5191826
* 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.
2002-06-25 06:21:54 +00:00
Tom Tromey
c0e624e73f
* cli/cli-decode.c (add_show_from_set): Fixed typo in comment.
...
* target.c (initialize_targets): Fixed typo in
trust-readonly-sections `show' documentation.
2002-06-25 05:39:18 +00:00
Tom Tromey
defc6f8c58
* main.c: Marked all strings with _().
2002-06-25 05:35:16 +00:00
DJ Delorie
007425f1be
merge from gcc
2002-06-25 01:03:52 +00:00
Alan Modra
d226df4d47
daily update
2002-06-25 00:11:06 +00:00
gdbadmin
b73e359047
*** empty log message ***
2002-06-25 00:00:02 +00:00
Don Howard
2b236d8208
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.
2002-06-24 22:08:30 +00:00
Grace Sainsbury
942dc0e9ec
* 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.
2002-06-24 17:48:43 +00:00
Ben Elliston
cdb9e2b8c1
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.
2002-06-24 17:41:28 +00:00
DJ Delorie
931f285fb1
merge from gcc
2002-06-24 17:39:28 +00:00
Elena Zannoni
6504452655
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.
2002-06-24 13:26:07 +00:00
Tom Tromey
03c30d4dcf
* 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.
2002-06-24 04:47:09 +00:00
gdbadmin
29d6403aff
*** empty log message ***
2002-06-24 00:00:09 +00:00
Alan Modra
0f67e2ff77
daily update
2002-06-24 00:00:07 +00:00
Alan Modra
48fc70a2b6
* elflink.h (elf_link_add_archive_symbols): For the default
...
version, check references with only one `@' first.
2002-06-23 12:44:31 +00:00
Alan Modra
47b7c2db07
* 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.
2002-06-23 09:05:59 +00:00
Alan Modra
bb3fff1e12
* Makefile.in: Regenerate.
...
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
2002-06-23 02:09:05 +00:00
Alan Modra
f5d44ba06b
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.
2002-06-23 02:04:28 +00:00
gdbadmin
e7d838cb85
*** empty log message ***
2002-06-23 00:00:38 +00:00
Alan Modra
d7eac87a3f
daily update
2002-06-23 00:00:07 +00:00
Andrew Cagney
8cf8c2b853
* gdb.base/selftest.exp (do_stes_and_next): Skip calls to
...
setlocale, bindtextdomain and textdomain.
2002-06-22 22:19:37 +00:00
Andrew Cagney
06a6ac572a
* infrun.c (_initialize_infrun): Delete unnecessary call to
...
build_infrun.
2002-06-22 22:04:33 +00:00
Andrew Cagney
37e7137227
* 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.
2002-06-22 21:18:32 +00:00
Andrew Cagney
bf1024d698
* Makefile.in (INTL_SRC): Define.
...
(INTL_CFLAGS): Define.
(INTL_DIR): Define.
(STD_CFLAGS): Add INTL_CFLAGS.
2002-06-22 19:10:34 +00:00
DJ Delorie
4748c6d894
merge from gcc
2002-06-22 13:31:20 +00:00
Andrew Cagney
78f6d055c0
* config/m68k/tm-m68k.h: Fix typo.
...
(FRAME_INIT_SAVED_REGS): Define when non-multi-arch.
(m68k_frame_init_saved_regs): Declare.
2002-06-22 00:33:56 +00:00
Jim Blandy
78b119cb5d
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.
2002-06-22 00:05:59 +00:00
gdbadmin
6fc56307d4
*** empty log message ***
2002-06-22 00:00:39 +00:00
Alan Modra
a9419e526c
daily update
2002-06-22 00:00:07 +00:00
Tom Tromey
0fbb3da7b7
* 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,
2002-06-21 23:48:41 +00:00
DJ Delorie
3558860c61
* configure.in: Fix AIX configury bug.
2002-06-21 22:20:17 +00:00
Dave Brolley
456f8b9d8d
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.
2002-06-21 21:19:58 +00:00