gdbadmin
f65eec1e2d
*** empty log message ***
2002-06-29 00:00:32 +00:00
Alan Modra
42c15cc220
daily update
2002-06-29 00:00:06 +00:00
Andrew Cagney
aa84d1bb9b
* macrotab.h: Do not include "obstack.h" or "bcache.h".
...
(struct obstack, struct bcache): Add opaque declarations.
* Makefile.in (macrotab_h): Update
2002-06-28 23:42:33 +00:00
Andrew Cagney
b4d8393384
* blockframe.c (generic_find_dummy_frame): Change return type to
...
``struct regcache''.
(struct dummy_frame): Replace field ``registers'' with regcache, a
struct regcache object.
(generic_find_dummy_frame): Update.
(generic_push_dummy_frame): Update. Use regcache_xfree,
regcache_xmalloc and regcache_cpy.
(generic_pop_dummy_frame): Update. Use regcache_cpy and
regcache_xfree.
(deprecated_generic_find_dummy_frame): Update.
(generic_read_register_dummy): Update. Use
regcache_read_as_address.
(generic_call_dummy_register_unwind): Update. Use regcache_read.
(generic_get_saved_register): Update. Use regcache_read.
2002-06-28 22:38:29 +00:00
Andrew Cagney
08c0b5bc8a
* Makefile.in (objfiles_h): Add $(bcache_h).
...
* objfiles.h: Include "bcache.h".
* Makefile.in (symtab_h): Remove $(bcache_h).
* symtab.h: Do not include "bcache.h".
2002-06-28 22:09:11 +00:00
Andrew Cagney
1f89801a69
* ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to
...
generic_func_frame_chain_valid.
2002-06-28 22:07:20 +00:00
David O'Brien
b9644b5802
2002-06-28 David O'Brien <obrien@FreeBSD.org>
...
* config/i386/nm-fbsd.h: Include <sys/param.h>.
* config/i386/tm-fbsd.h: Likewise.
2002-06-28 18:44:49 +00:00
Andrew Cagney
dd4866343a
* rs6000-tdep.c (rs6000_gdbarch_init): Use
...
generic_unwind_get_saved_register.
2002-06-28 16:15:07 +00:00
Alan Modra
9e2dd5dcde
daily update
2002-06-28 00:01:04 +00:00
gdbadmin
cd3a481131
*** empty log message ***
2002-06-28 00:00:04 +00:00
Jeff Law
2b67cf0053
* emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
...
section. Add ${RELOCATING-0}.
2002-06-27 22:57:50 +00:00
Jeff Law
5ac81c745e
* elf64-hppa.c (elf64_hppa_reloc_type_class): New function.
...
(elf64_hppa_finish_dynamic_sections): Check other_rel_sec, dlt_rel_sec
and opd_rel_sec in order for starting rela section. Check _raw_size.
(elf_backend_reloc_type_class): Define.
2002-06-27 22:57:02 +00:00
Andrew Cagney
0b434a0046
From 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>:
...
* regcache.c (supply_register): Add missing argument to
register_buffer call.
2002-06-27 18:28:23 +00:00
Andrew Cagney
f30e5a77b9
* Makefile.in (init.c): Drop -e option to grep. Not necessary and
...
Solaris /bin/grep does not not like it. From Peter Schauer.
2002-06-27 15:49:23 +00:00
Andrew Cagney
b9aa90c9a1
* gdbint.texinfo (User Interface): ISO C rather than ISO-C.
...
(Coding): Clarify ISO C version that GDB assumes.
2002-06-27 15:30:32 +00:00
Alan Modra
91a4d5692a
2002-06-27 Kevin Buettner <kevinb@redhat.com>
...
* dwarf2.c (decode_line_info): Handle older, non-standard, 64-bit
DWARF2 formats.
2002-06-27 11:51:42 +00:00
Alan Modra
feee612b24
* 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.
2002-06-27 11:29:15 +00:00
Andrew Cagney
6aa4d13aab
Zap remainder of gdb.threads-hp directory.
2002-06-27 03:58:32 +00:00
Alan Modra
feb1911aea
daily update
2002-06-27 00:00:06 +00:00
gdbadmin
bc4ce01189
*** empty log message ***
2002-06-27 00:00:03 +00:00
Tom Tromey
40dd22482b
* gdbint.texinfo (User Interface): Mention add_setshow_cmd and
2002-06-26 20:58:48 +00:00
Tom Tromey
9f064c9519
* 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.
2002-06-26 20:58:17 +00:00
Jason Thorpe
7655ea9277
Remove files checked in by mistake.
2002-06-26 18:37:26 +00:00
Jason Thorpe
099c7589fe
* 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.
2002-06-26 17:39:30 +00:00
Jason Thorpe
1d049c5e1d
* 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.
2002-06-26 17:20:36 +00:00
Grace Sainsbury
6300c360ea
* 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
2002-06-26 17:09:30 +00:00
Jason Thorpe
4791e09145
* 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.
2002-06-26 16:07:16 +00:00
Joern Rennecke
164c405440
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.
2002-06-26 15:42:33 +00:00
Andrew Cagney
da130f98ef
* 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.
2002-06-26 15:28:46 +00:00
Grace Sainsbury
e5014cdae2
made regname function const char *
2002-06-26 15:27:48 +00:00
Nick Clifton
e5851ab835
Rescind Tom Rix's maintainerships.
2002-06-26 15:26:52 +00:00
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