Alan Modra
f4c724fc32
* expr.c (operand): Correct checks for ++ and --.
2004-04-16 01:55:27 +00:00
gdbadmin
c2215ad288
*** empty log message ***
2004-04-16 00:00:03 +00:00
Roland McGrath
8718a4207d
.
2004-04-15 21:40:21 +00:00
Roland McGrath
5417f6dc82
2004-04-08 Roland McGrath <roland@redhat.com>
...
* symfile.c (symbol_file_add_with_addrs_or_offsets): Take ABFD as
argument instead of NAME.
(symbol_file_add, reread_separate_symbols): Call symfile_bfd_open
in call to symbol_file_add_with_addrs_or_offsets.
(build_addr_info): New function, helper for ...
(symbol_file_add_from_memory): New function.
(add_symbol_file_from_memory_command): New function using that.
(_initialize_symfile): Register it for add-symbol-file-from-memory.
(pre_add_symbol_hook): Add const to argument type.
* symfile.h (symbol_file_add_from_memory): Declare it.
2004-04-15 21:39:27 +00:00
Andrew Cagney
78cef34b48
2004-04-15 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/siginfo.c: New file.
* gdb.base/siginfo.exp: New file.
2004-04-15 21:14:00 +00:00
Mark Kettenis
d1ad3f6f20
* netbsd-core.c (netbsd_core_file_p): Set architecture for VAX
...
core files.
2004-04-15 16:04:38 +00:00
Mark Kettenis
9f076e7a44
* NEWS (New native configurations): Mention OpenBSD/vax.
...
* configure.host: Add vax-*-openbsd*.
* config/vax/obsd.mh: New file.
* config/vax/nm-obsd.h: New file.
2004-04-15 15:10:01 +00:00
Mark Kettenis
8b910bab55
* vax-tdep.c: Include "regset.h".
...
(vax_supply_gregset): New function.
(vax_gregset): New variable.
(vax_regset_from_core_section): New function.
(vax_gdbarch_init): Set regset_from_core_section.
* Makefile.in (vax-tdep.o): Update dependencies.
2004-04-15 15:03:30 +00:00
Andrew Cagney
7a46442073
2004-04-15 Andrew Cagney <cagney@redhat.com>
...
* observer.c (normal_stop_subject, observer_notify_normal_stop)
(observer_normal_stop_notification_stub)
(observer_attach_normal_stop, observer_detach_normal_stop):
Delete, replaced by #include "observer.inc".
* infrun.c (normal_stop): Pass "stop_bpstat" to
observer_notify_normal_stop.
* Makefile.in (observer_inc): Define.
(observer.o): Update dependencies.
(observer.h, observer.inc): New rules.
* observer.h: Delete file.
* observer.sh: New file.
Index: doc/ChangeLog
2004-04-08 Andrew Cagney <cagney@redhat.com>
* observer.texi (GDB Observers): Rework, provide generic observer
definitions and then a list of observable events.
2004-04-15 14:29:21 +00:00
Mark Kettenis
e36ad52799
* vax-tdep.c (vax_frame_cache): Fix typo.
2004-04-15 12:40:27 +00:00
Nick Clifton
91809fda2a
Treat adds and subs as a special case
2004-04-15 08:55:27 +00:00
Nick Clifton
3d1bca9dfb
Catch NULL bfd pointers passed to bfd_archive_filename
2004-04-15 08:48:56 +00:00
Alan Modra
019b892f34
* elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change.
2004-04-15 06:03:59 +00:00
Alan Modra
15b43f483c
* elflink.c (_bfd_elf_merge_symbol): Treat weak as strong only
...
when it is a definition.
2004-04-15 02:55:20 +00:00
H.J. Lu
a4b6e8f6a4
gas/
...
2004-04-14 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-generic.c: Add some comments.
ld/testsuite/
2004-04-14 H.J. Lu <hongjiu.lu@intel.com>
* ld-scripts/assert.s: Add a newline.
* ld-scripts/data.s: Likewise.
2004-04-15 01:49:22 +00:00
gdbadmin
7bd3401547
*** empty log message ***
2004-04-15 00:00:33 +00:00
Alan Modra
cf1b2cf519
daily update
2004-04-15 00:00:06 +00:00
Mark Kettenis
6f606e1ce7
* NEWS (New native configurations): Mention NetBSD/vax.
...
* configure.host: Add vax-*-netbsdelf* and vax-*-netbsd*.
* config/vax/nbsdelf.mh: New file.
* config/vax/nbsdaout.mh: New file.
* config/vax/nm-nbsd.h: New file.
* config/vax/nm-nbsdaout.h: New file.
2004-04-14 19:19:12 +00:00
Mark Kettenis
9c5519a5d0
* vaxnbsd-tdep.c: New file.
...
* Makefile.in (vaxnbsd-tdep.o): New dependency.
* configure.tgt: Add vax-*-netbsd* and vax-*-openbsd*.
* config/vax/nbsd.mt: New file.
* config/vax/tm-nbsd.h: New file.
2004-04-14 18:02:44 +00:00
Mark Kettenis
4844a61487
* Makefile.in (vaxbsd-nat.o): New dependency.
2004-04-14 17:52:01 +00:00
Mark Kettenis
67b441e128
* vax-tdep.h (vax_regnum): Add VAX_R0_REGNUM and VAX_R1_REGNUM.
...
* vax-tdep.c (vax_store_arguments): Remove struct_return and
struct_addr arguments. Don't push return value address.
(vax_push_dummy_call): Don't pass STRUCT_RETURN and STRUCT_ADDR as
arguments to vax_store_arguments. Store return value address in
R1.
(vax_store_struct_return, vax_extract_return_value)
(vax_store_return_value): Remove functions.
(vax_return_value): New function.
(vax_gdbarch_init): Set return value. Don't set
deprecated_store_struct_return, deprecated_extract_struct_return
and deprecated_store_return_value.
2004-04-14 17:48:38 +00:00
Andreas Schwab
6672f2ae34
* ia64-tdep.c (ia64_libunwind_frame_prev_register): Handle null
...
value buffer.
* libunwind-frame.c (libunwind_frame_prev_register): Likewise.
2004-04-14 15:18:06 +00:00
Mark Kettenis
7346c1845d
* vax-tdep.c (vax_store_arguments, vax_push_dummy_call)
...
(vax_unwind_dummy_id): New functions.
(vax_push_dummy_frame, vax_pop_frame): Remove functions.
(vax_call_dummy_words, sizeof_vax_call_dummy_words): Remove
variables.
(vax_fix_call_dummy): Remove function.
(vax_gdbarch_init): Set push_dummy_call and unwind_dummy_id.
Don't set deprecated_push_dummy_frame, deprecated_pop_frame,
call_dummy_location, deprecated_call_dummy_words,
deprecated_sizeof_call_dummy_words,
deprecated_call_dummy_breakpoint_offset,
deprecated_use_generic_dummy_frames, deprecated_pc_in_call_dummy,
and deprecated_dummy_write_sp.
2004-04-14 10:58:39 +00:00
Alan Modra
6de00a7823
* elf32-sparc.c (elf32_sparc_relocate_section): Don't abort
...
when statically linking PIC code.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
2004-04-14 09:50:07 +00:00
Richard Sandiford
d766e8ec50
* doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
...
-{no-}mfix-vr4122-bugs.
* config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
(append_insn, mips_emit_delays): Update accordingly.
(OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
(md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
(md_parse_option): Update after above changes.
(md_show_usage): Add -mfix-vr4120.
2004-04-14 07:48:49 +00:00
Richard Sandiford
e9e2c3f6cf
* binutils-all/readelf.ss-mips: Allow named section symbols.
2004-04-14 07:38:12 +00:00
Richard Sandiford
a11090ae14
* gas/elf/section2.e-mips: Allow named section symbols.
...
* gas/mips/{,el}empic.d, gas/mips/mips{,el}16-[ef].d: Likewise.
2004-04-14 07:37:19 +00:00
Alan Modra
e9f877805a
* strings.c (print_strings): Cast file_off to unsigned long in
...
printf arg list.
2004-04-14 05:49:59 +00:00
DJ Delorie
53239e4104
merge from gcc
2004-04-14 03:12:51 +00:00
Ben Elliston
010abebbb1
Typo fix: s/otheriwse/otherwise/
2004-04-14 01:26:14 +00:00
gdbadmin
30df54a95c
*** empty log message ***
2004-04-14 00:00:32 +00:00
Alan Modra
7e9e9564b8
daily update
2004-04-14 00:00:05 +00:00
Bob Wilson
ed9589d486
* doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use
...
of .section directive; add a reference to the ELF .subsection
directive.
2004-04-13 17:56:13 +00:00
Nick Clifton
925d60e5e9
Add test of M32R seth instruction
2004-04-13 16:57:50 +00:00
Nick Clifton
097dba1357
Fix inifnite loop problem with M32R port
2004-04-13 16:47:58 +00:00
David Carlton
58e23df49e
2004-04-13 David Carlton <carlton@kealia.com>
...
* MAINTAINERS: Move myself to "paper trail" section.
2004-04-13 16:13:35 +00:00
DJ Delorie
d6ea4e809a
merge from gcc
2004-04-13 15:23:19 +00:00
Ben Elliston
e793df0b8e
Update libtool entry.
2004-04-13 03:49:20 +00:00
Alan Modra
cc37688a25
daily update
2004-04-13 00:00:08 +00:00
gdbadmin
b227191573
*** empty log message ***
2004-04-13 00:00:03 +00:00
Joel Brobecker
d23434077e
* gdb.base/sep.exp: Fix typo in comment.
2004-04-12 20:22:54 +00:00
Joel Brobecker
a2dba3c819
* gdb.base/sep.c: New file.
...
* gdb.base/sep-proc.c: New file.
* gdb.base/sep.exp: New testcase.
2004-04-12 20:17:18 +00:00
Mark Kettenis
7def7fef04
* vax-tdep.c: Include "frame-base.h", "frame-unwind.h" and
...
"trad-frame.h".
(vax_frame_init_saved_regs): Remove function.
(vax_sigtramp_saved_pc): Remove function.
(vax_frame_saved_pc): Remove function.
(vax_frame_args_address): Remove function.
(vax_frame_num_args): Rewrite.
(vax_frame_chain): Remove function.
(vax_push_dummy_frame): Replace DEPRECATED_FP_REGNUM with
VAX_FP_REGNUM.
(vax_pop_frame): Likewise.
(vax_saved_pc_after_call): Remove function.
(struct vax_frame_cache): New structure.
(vax_frame_cache): New function.
(vax_frame_this_id): New function.
(vax_frame_prev_register): New function.
(vax_frame_unwind): New variable.
(vax_frame_sniffer): New function.
(vax_frame_base_address): New function.
(vax_frame_args_address): New function.
(vax_frame_base): New variable.
(vax_unwind_pc): New function.
(vax_gdbarch_init): Don't set deprecated_init_frame_pc,
deprecated_fp_regnum, deprecated_saved_pc_after_call,
deprecated_frame_chain, deprecated_frame_saved_pc,
deprecated_frame_args_address and
deprecated_frame_init_saved_regs.
* Makefile.in (vax-tdep.o): Update dependencies.
2004-04-12 19:49:48 +00:00
Mark Kettenis
53284fc17d
* vaxbsd-nat.c: New file.
2004-04-12 16:54:02 +00:00
Mark Kettenis
5e6b39ffbc
* vax-tdep.h: Update copyright year. Adjust comments.
...
(VAX_REGISTER_SIZE, VAX_REGISTER_BYTES, VAX_MAX_REGISTER_RAW_SIZE,
VAX_MAX_REGISTER_VIRTUAL_SIZE): Remove macros.
(vax_regnum): New enum. Replacing...
(VAX_AP_REGNUM, VAX_FP_REGNUM, VAX_SP_REGNUM, VAX_PC_REGNUM)
(VAX_PS_REGNUM): ... these removed macros.
* vax-tdep.c (vax_register_name): Remove prototype.
(vax_register_name): Reorganize somewhat. Use ARRAY_SIZE.
(vax_register_byte, vax_register_raw_size,
vax_register_virtual_size, vax_register_virtual_type): Remove
functions.
(vax_register_type): New function.
(vax_breakpoint_from_pc): Reorganize.
(vax_gdbarch_init): Set register_type. Don't set
deprecated_register_size, deprecated_register_bytes,
deprecated_register_byte, deprecated_register_raw_size,
deprecated_max_register_raw_size,
deprecated_register_virtual_size,
deprecated_max_register_virtual_size and
deprecated_register_virtual_type. Add comment on stack direction.
2004-04-12 16:49:35 +00:00
Mark Kettenis
296bc76f51
Fix botched commit:
...
* amd64-tdep.h (amd64_regnum): Add AMD64_CS_REGNUM,
AMD64_SS_REGNUM, AMD64_DS_REGNUM, AMD64_ES_REGNUM,
AMD64_FS_REGNUM and AMD64_GS_REGNUM.
2004-04-12 16:17:20 +00:00
gdbadmin
4969123a1d
*** empty log message ***
2004-04-12 00:00:06 +00:00
Alan Modra
92e847d5f8
daily update
2004-04-12 00:00:05 +00:00
Mark Kettenis
e9c71e9f6f
* amd64-tdep.h (amd64_regnum): Add AMD64_CS_REGNUM,
...
AMD64_SS_REGNUM, AMD64_DS_REGNUM, AMD64_ES_REGNUM,
AMD64_FS_REGNUM, AMD64_GS_REGNUM.
2004-04-11 17:13:23 +00:00
Chris Demetriou
adad0f8a2b
2004-04-11 Chris Demetriou <cgd@broadcom.com>
...
* utils-fpu.inc (enable_fpu, ckm_fp_cc): New macros.
(clrset_fp_cc): Fix mask used for upper 7 condition codes.
* utils-mdmx.inc: Include utils-fpu.inc.
(enable_mdmx): Use enable_fpu.
2004-04-11 07:12:13 +00:00