Kazu Hirata [Thu, 19 Dec 2002 01:11:31 +0000 (01:11 +0000)]
* doc/c-alpha.texi: Fix typos.
* doc/c-arm.texi: Likewise.
* doc/c-d10v.texi: Likewise.
* doc/c-i370.texi: Likewise.
* doc/c-i960.texi: Likewise.
* doc/c-ia64.texi: Likewise.
* doc/c-mmix.texi: Likewise.
* doc/c-ns32k.texi: Likewise.
* doc/c-pdp11.texi: Likewise.
* doc/c-pj.texi: Likewise.
* doc/c-sh64.texi: Likewise.
* doc/c-sparc.texi: Likewise.
* doc/c-tic54x.texi: Likewise.
* doc/c-v850.texi: Likewise.
* doc/c-vax.texi: Likewise.
* doc/internals.texi: Likewise.
H.J. Lu [Thu, 19 Dec 2002 00:50:33 +0000 (00:50 +0000)]
2002-12-18 H.J. Lu <hjl@gnu.org>
* Makefile.tpl: Add @build_prefix@ before $(BUILD_SUBDIR).
* Makefile.in: Regenerated.
* configure.in (build_prefix): New. Substitute.
gdbadmin [Thu, 19 Dec 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 18 Dec 2002 23:04:35 +0000 (23:04 +0000)]
daily update
Chris Demetriou [Wed, 18 Dec 2002 22:52:48 +0000 (22:52 +0000)]
[ opcodes/ChangeLog ]
2002-12-18 Chris Demetriou <cgd@broadcom.com>
* mips-opc.c (mips_builtin_opcodes): Remove one "ror" and two
"dror" entries, and reorder the remaining "dror" and "ror" entries.
[ gas/ChangeLog ]
2002-12-18 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR,
use hardware rotate ops as appropriate. In M_DROL_I, M_DROR_I,
M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and
arrange not to issue warnings about use of AT when AT is not
actually used.
[ gas/testsuite/ChangeLog ]
2002-12-18 Chris Demetriou <cgd@broadcom.com>
* gas/mips/rol.s: Add ".set noat" and some new instructions to test.
* gas/mips/rol64.s: Likewise.
* gas/mips/rol.l: New file.
* gas/mips/rol.d: Adjust to use rol.l and for rol.s changes.
* gas/mips/rol64.l: New file.
* gas/mips/rol64.d: Adjust to use rol64.l and for rol64.s changes.
* gas/mips/rol-hw.d: New file.
* gas/mips/rol-hw.l: New file.
* gas/mips/rol64-hw.d: New file.
* gas/mips/rol64-hw.l: New file.
* gas/mips/mips.exp: Run rol-hw and rol64-hw tests.
Chris Demetriou [Wed, 18 Dec 2002 21:11:30 +0000 (21:11 +0000)]
kill bogus line between the last 2 entries
Nathanael Nerode [Wed, 18 Dec 2002 18:35:31 +0000 (18:35 +0000)]
* Makefile.tpl: Don't let real targets depend on phony targets.
* Makefile.in: Regenerate.
Andrew Cagney [Wed, 18 Dec 2002 18:03:42 +0000 (18:03 +0000)]
2002-12-18 Andrew Cagney <
ac131313@redhat.com>
* frame.c (deprecated_update_current_frame_pc_hack): Replace
deprecated_update_current_frame_pc_hack.
(deprecated_update_frame_base_hack): New function.
* frame.h (deprecated_update_frame_pc_hack): Replace
(deprecated_update_frame_base_hack): Declare.
* infrun.c (normal_stop): Update.
Nick Clifton [Wed, 18 Dec 2002 16:56:19 +0000 (16:56 +0000)]
Add win32 library search path.
Nick Clifton [Wed, 18 Dec 2002 16:25:02 +0000 (16:25 +0000)]
Add win32 machine depending section.
Nick Clifton [Wed, 18 Dec 2002 16:05:10 +0000 (16:05 +0000)]
Test the auto importing direct from a dll functionality.
Andrew Cagney [Wed, 18 Dec 2002 15:23:22 +0000 (15:23 +0000)]
2002-12-18 Andrew Cagney <
ac131313@redhat.com>
* rs6000-tdep.c (rs6000_init_extra_frame_info): Use
frame_extra_info_zalloc.
(rs6000_frame_args_address): Use get_frame_extra_info.
(frame_get_saved_regs): Use get_frame_saved_regs.
(frame_initial_stack_address): Use get_frame_saved_regs and
get_frame_extra_info.
(frame_initial_stack_address): Use get_frame_extra_info.
Alan Modra [Wed, 18 Dec 2002 13:47:03 +0000 (13:47 +0000)]
* bfd/reloc.c (struct reloc_howto_struct): Revise src_mask and
dst_mask comments.
* bfd-in2.h: Regenerate.
Alan Modra [Wed, 18 Dec 2002 13:16:35 +0000 (13:16 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Reorganize dynamic reloc
code a little. Comment on dynamic relocs against section symbols.
Nathanael Nerode [Wed, 18 Dec 2002 05:23:49 +0000 (05:23 +0000)]
2002-12-18 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl (do-info): Depend on maybe-all-texinfo, not all-texinfo.
* Makefile.in: Regenerate.
gdbadmin [Wed, 18 Dec 2002 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
David Carlton [Tue, 17 Dec 2002 23:24:57 +0000 (23:24 +0000)]
2002-12-17 David Carlton <carlton@math.stanford.edu>
* gdb.c++/try_catch.cc: Add marker comments.
* gdb.c++/try_catch.exp: Get line numbers from marker comments.
* gdb.c++/m-data.cc: Delete namespace __gnu_test.
* gdb.c++/m-static.cc: Ditto.
* gdb.c++/m-static1.cc: Ditto.
* gdb.c++/try_catch.cc: Ditto.
Kevin Buettner [Tue, 17 Dec 2002 23:13:31 +0000 (23:13 +0000)]
Don't use NUM_REGS to determine array size.
Alan Modra [Tue, 17 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Richard Earnshaw [Tue, 17 Dec 2002 22:11:31 +0000 (22:11 +0000)]
* armnbsd-tdep.c (ARM_NBSD_JB_PC): Renamed from JB_PC.
All uses changed
(ARM_NBSD_JB_ELELMENT_SIZE): Similarly.
Jason Merrill [Tue, 17 Dec 2002 20:38:05 +0000 (20:38 +0000)]
* Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a
previous 'make bootstrap'.
* Makefile.in: Regenerate.
David Carlton [Tue, 17 Dec 2002 18:34:06 +0000 (18:34 +0000)]
2002-12-17 David Carlton <carlton@math.stanford.edu>
* symtab.c (lookup_partial_symbol): Don't search past the end of
the partial symbols.
Andrew Cagney [Tue, 17 Dec 2002 17:27:45 +0000 (17:27 +0000)]
2002-12-17 Andrew Cagney <
ac131313@redhat.com>
* stack.c (frame_info): Use get_frame_saved_regs.
* breakpoint.c (until_break_command): Use get_frame_pc.
Nick Clifton [Tue, 17 Dec 2002 12:16:38 +0000 (12:16 +0000)]
Don't search for data import when auto-import is disabled.
Nick Clifton [Tue, 17 Dec 2002 12:02:41 +0000 (12:02 +0000)]
Duplicate --keep-locals entry in order to prevent it being confused with -k.
Nick Clifton [Tue, 17 Dec 2002 11:01:25 +0000 (11:01 +0000)]
Use LD_PATHMAX+1 to account for trailing '\0'.
Nick Clifton [Tue, 17 Dec 2002 10:03:52 +0000 (10:03 +0000)]
Duplicate entry for --compact-implib so that it is not confused with -c.
Chris Demetriou [Tue, 17 Dec 2002 07:27:53 +0000 (07:27 +0000)]
2002-12-16 Chris Demetriou <cgd@broadcom.com>
* tconfig.in: Include "gdb/callback.h" and "gdb/remote-sim.h".
DJ Delorie [Tue, 17 Dec 2002 04:48:38 +0000 (04:48 +0000)]
* xstormy16-asm.c (parse_immediate16): Add prototype.
Hans-Peter Nilsson [Tue, 17 Dec 2002 04:31:04 +0000 (04:31 +0000)]
* configure.in (noconfigdirs) [mmix-*-*]: Disable libgloss and gdb.
Alan Modra [Tue, 17 Dec 2002 04:17:21 +0000 (04:17 +0000)]
* configure.host (ia64-*-hpux*): Support 64 bit targets using
the HP compiler's "long long".
DJ Delorie [Tue, 17 Dec 2002 03:57:49 +0000 (03:57 +0000)]
* xstormy16-asm.c: Regenerate.
DJ Delorie [Tue, 17 Dec 2002 03:57:00 +0000 (03:57 +0000)]
* xstormy16.h (START_RELOC_NUMBERS) Add relocation numbers
for R_XSTORMY16_LO16 and R_XSTORMY16_HI16.
DJ Delorie [Tue, 17 Dec 2002 03:55:46 +0000 (03:55 +0000)]
* config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation
has already been set up, use it.
DJ Delorie [Tue, 17 Dec 2002 03:54:15 +0000 (03:54 +0000)]
* elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_LO16
and R_XSTORMY16_HI16) howto entries.
(xstormy16_reloc_map): Map R_XSTORMY16_{LO,HI}16 to BFD_RELOC_{LO,HI}16.
(xstormy16_info_to_howto_rela): Use R_XSTORMY16_GNU_VTINHERIT to
determine the start of the second reloc table.
Christopher Faylor [Tue, 17 Dec 2002 02:52:57 +0000 (02:52 +0000)]
Revert debugging change
Christopher Faylor [Tue, 17 Dec 2002 02:52:32 +0000 (02:52 +0000)]
* configure.in: Remove --enable-shared option. It shouldn't be used for gdb.
* configure: Regenerate.
Christopher Faylor [Tue, 17 Dec 2002 01:55:28 +0000 (01:55 +0000)]
* mh-cygwin: Don't build libtermcap if it doesn't exist.
Christopher Faylor [Tue, 17 Dec 2002 01:52:14 +0000 (01:52 +0000)]
* config/cygwin.cache: Prime mbstate_t.
Kazu Hirata [Tue, 17 Dec 2002 01:13:56 +0000 (01:13 +0000)]
* ChangeLog-9295: Fix a typo.
* README: Likewise.
* config/tc-d10v.c: Fix a comment typo.
* config/tc-dlx.c: Likewise.
* config/tc-h8300.h: Likewise.
* config/tc-h8500.h: Likewise.
* config/tc-mips.c: Likewise.
* config/tc-s390.c: Likewise.
* config/tc-sh.h: Likewise.
* config/tc-tic80.h: Likewise.
* config/tc-w65.h: Likewise.
* config/tc-z8k.c: Likewise.
* config/tc-z8k.h: Likewise.
* testsuite/gas/h8300/cmpsi2.s: Likewise.
Kevin Buettner [Tue, 17 Dec 2002 00:39:08 +0000 (00:39 +0000)]
Replace complain() with complaint().
gdbadmin [Tue, 17 Dec 2002 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 16 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Mon, 16 Dec 2002 20:39:23 +0000 (20:39 +0000)]
2002-12-16 Andrew Cagney <
ac131313@redhat.com>
* config/arc/arc.mt, config/arc/tm-arc.h: Delete.
* config/d30v/d30v.mt, config/d30v/tm-d30v.h: Delete.
* config/fr30/fr30.mt, config/fr30/tm-fr30.h: Delete.
* config/i386/i386aix.mh, config/i386/i386aix.mt: Delete.
* config/i386/i386m3.mh, config/i386/i386m3.mt: Delete.
* config/i386/i386mach.mh, config/i386/i386os9k.mt: Delete.
* config/i386/nm-i386aix.h, config/i386/nm-i386mach.h: Delete.
* config/i386/nm-m3.h, config/i386/tm-i386aix.h: Delete.
* config/i386/tm-i386m3.h, config/i386/tm-i386mk.h: Delete.
* config/i386/xm-i386aix.h, config/i386/xm-i386m3.h: Delete.
* config/i386/xm-i386mach.h, config/i386/xm-i386mk.h: Delete.
* config/i960/mon960.mt, config/i960/nindy960.mt: Delete.
* config/i960/tm-i960.h, config/i960/tm-mon960.h: Delete.
* config/i960/tm-nindy960.h, config/i960/tm-vx960.h: Delete.
* config/i960/vxworks960.mt, config/m68k/apollo68b.mh: Delete.
* config/m68k/apollo68b.mt, config/m68k/apollo68v.mh: Delete.
* config/m68k/hp300bsd.mh, config/m68k/hp300bsd.mt: Delete.
* config/m68k/hp300hpux.mh, config/m68k/hp300hpux.mt: Delete.
* config/m88k/delta88.mh, config/m88k/delta88.mt: Delete.
* config/m88k/delta88v4.mh, config/m88k/delta88v4.mt: Delete.
* config/m88k/m88k.mh, config/m88k/m88k.mt: Delete.
* config/m88k/nm-delta88v4.h, config/m88k/nm-m88k.h: Delete.
* config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h: Delete.
* config/m88k/tm-m88k.h, config/m88k/xm-delta88.h: Delete.
* config/m88k/xm-dgux.h: Delete.
* fr30-tdep.c, i386aix-nat.c, i386m3-nat.c: Delete.
* i386mach-nat.c, i960-tdep.c, m88k-nat.c: Delete.
* os9kread.c, remote-bug.c, remote-nindy.c: Delete.
* remote-nrom.c, remote-os9k.c, remote-vx960.c: Delete.
* d30v-tdep.c, arc-tdep.c, cxux-nat.c, dst.h, dstread.c: Delete.
* ch-exp.c, ch-lang.c, ch-lang.h, ch-typeprint.c: Delete.
* ch-valprint.c: Delete.
Jeff Johnston [Mon, 16 Dec 2002 20:03:17 +0000 (20:03 +0000)]
2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
* lib/mi-support.exp (mi_reinitialize_dir): Check mi level
to see whether we are using the new -environment-directory
command which resets via -r or the old version of the command
which may prompt the user. Part of fix for gdb/741.
H.J. Lu [Mon, 16 Dec 2002 19:58:06 +0000 (19:58 +0000)]
2002-11-23 H.J. Lu <hjl@gnu.org>
* accross.m4: New.
Andrew Cagney [Mon, 16 Dec 2002 19:33:54 +0000 (19:33 +0000)]
Remove obsolete testsuite code.
Nick Clifton [Mon, 16 Dec 2002 18:02:16 +0000 (18:02 +0000)]
Add support to skip import libraries for performance reasons and instead
use the direct auto-import of dll's
Joel Brobecker [Mon, 16 Dec 2002 16:51:47 +0000 (16:51 +0000)]
* hppa-hpux-tdep.c: New file.
* hppa-tdep.c (hppa_gdbarch_init): call the registered osabi-
specific initialization routines.
* Makefile.in (ALLDEPFILES): Add hppa-hpux-tdep.c.
(hppa-hpux-tdep.o): Add rule.
* config/pa/hppahpux.mt (TDEPFILES): Add hppa-hpux-tdep.o.
* config/pa/hppa64.mt (TDEPFILES): Likewise.
Nick Clifton [Mon, 16 Dec 2002 16:25:06 +0000 (16:25 +0000)]
Fix the reading of the debugging information of Tru64/Alpha binaries that
are produced by recent Compaq compilers.
Alan Modra [Mon, 16 Dec 2002 09:57:49 +0000 (09:57 +0000)]
* config/tc-d30v.c (check_range): Warning fixes, formatting.
Simplify sign extension. Remove redundant unsigned < 0 test.
* config/tc-i960.c (md_ri_to_chars): Prototype.
* config/tc-mcore.c (md_pseudo_table): Fix typo.
(dump_literals): Init brarsym, and test later instead of isforce.
Alan Modra [Mon, 16 Dec 2002 09:57:03 +0000 (09:57 +0000)]
* hppa.h (completer_chars): #if 0 out.
Alan Modra [Mon, 16 Dec 2002 09:54:39 +0000 (09:54 +0000)]
* config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP.
(parse): Constify line and lineptr.
(md_begin): Calculate endop here.
Alan Modra [Mon, 16 Dec 2002 09:54:12 +0000 (09:54 +0000)]
* ns32k-dis.c (print_insn_ns32k): Constify "d", remove register
keyword.
Alan Modra [Mon, 16 Dec 2002 09:53:48 +0000 (09:53 +0000)]
* ns32k.h (struct ns32k_opcode): Constify "name", "operands" and
"default_args".
(struct not_wot): Constify "args".
(struct not): Constify "name".
(numopcodes): Delete.
(endop): Delete.
gdbadmin [Mon, 16 Dec 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 15 Dec 2002 23:35:50 +0000 (23:35 +0000)]
daily update
Daniel Jacobowitz [Sun, 15 Dec 2002 20:38:52 +0000 (20:38 +0000)]
* infrun.c (handle_inferior_event): Rearrange code to resume if
no catchpoint triggers for an event.
Daniel Jacobowitz [Sun, 15 Dec 2002 20:15:56 +0000 (20:15 +0000)]
* infrun.c (handle_inferior_event): Merge TARGET_WAITKIND_FORKED
and TARGET_WAITKIND_VFORKED cases.
Daniel Jacobowitz [Sun, 15 Dec 2002 20:08:02 +0000 (20:08 +0000)]
* infrun.c (handle_inferior_event): Assume that catchpoints
are not affected by DECR_PC_AFTER_BREAK.
Daniel Jacobowitz [Sun, 15 Dec 2002 19:00:33 +0000 (19:00 +0000)]
* target.c (update_current_target): Don't inherit DONT_USE.
* target.h (struct target_ops): Remove DONT_USE.
(target_next): Remove macro.
Mark Kettenis [Sun, 15 Dec 2002 16:05:37 +0000 (16:05 +0000)]
* ui-out.c (MAX_UI_OUT_LEVELS): Raise to 6. Fixes PR cli/654.
gdbadmin [Sun, 15 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 14 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Dave Anglin [Sat, 14 Dec 2002 21:17:41 +0000 (21:17 +0000)]
* doc/binutils.texi: Add missing parenthesis.
Richard Earnshaw [Sat, 14 Dec 2002 10:42:05 +0000 (10:42 +0000)]
* arm-tdep.c (convert_from_extended): New argument to hold the
type of floating point result we want to convert to. Make input
argument const. Fix all callers.
(convert_to_extended): Similarly.
(arm_extract_return_value): Now takes a regcache argument. Change
code to use regcache accessor functions. Correctly extract
smaller-than-word results on big-endian machines.
(arm_store_return_value): Now takes a regcache argument. Change
code to use regcache accessor functions. Correctly zero/sign extend
smaller than word results before storing into r0.
(arm_gdbarch_init): Register new-style extract_return_value and
store_return_value functions.
Jason Merrill [Sat, 14 Dec 2002 08:35:49 +0000 (08:35 +0000)]
* Makefile.tpl (check-gcc-c++): Renamed from check-c++. Don't run
library tests.
(check-c++): Just depend on it and check-target-libstdc++-v3.
* Makefile.in: Regenerate.
gdbadmin [Sat, 14 Dec 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Fri, 13 Dec 2002 23:28:28 +0000 (23:28 +0000)]
2002-12-13 Michael Snyder <msnyder@to-limbo.toronto.redhat.com>
* thread-db.c (thread_from_lwp): Uniquify error msg.
(lwp_from_thread): Ditto.
(check_event): Ditto.
(find_new_threads_callback): Ditto.
(thread_db_pid_to_str): Ditto.
Andrew Cagney [Fri, 13 Dec 2002 23:18:56 +0000 (23:18 +0000)]
2002-12-13 Andrew Cagney <
ac131313@redhat.com>
* frame.h (get_frame_saved_regs): Declare.
(frame_saved_regs_zalloc): Change return type to CORE_ADDR
pointer.
* frame.c (get_frame_saved_regs): New function.
(frame_saved_regs_zalloc): Return the allocated saved_regs.
Alan Modra [Fri, 13 Dec 2002 23:00:06 +0000 (23:00 +0000)]
daily update
Nathanael Nerode [Fri, 13 Dec 2002 22:59:14 +0000 (22:59 +0000)]
2002-12-13 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in, Makefile.tpl, Makefile.def: Remove tclX.
* Makefile.in: Regenerate.
Andrew Cagney [Fri, 13 Dec 2002 21:57:40 +0000 (21:57 +0000)]
2002-12-13 Andrew Cagney <
ac131313@redhat.com>
* frame.c (deprecated_update_current_frame_pc_hack): New
function.
* frame.h (deprecated_update_current_frame_pc_hack): Declare.
* infrun.c (normal_stop): Use said function instead of directly
modifying the frame's PC.
Alexandre Oliva [Fri, 13 Dec 2002 20:21:32 +0000 (20:21 +0000)]
* frame.h (frame_id_unwind_ftype): Fix typo in return type.
Kevin Buettner [Fri, 13 Dec 2002 18:09:30 +0000 (18:09 +0000)]
Multiarch NUM_REGS for MIPS.
Jeff Johnston [Fri, 13 Dec 2002 17:57:38 +0000 (17:57 +0000)]
2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
* mi-basics.exp: Change tests for -environment-directory. Also add
tests for -environment-cd, -environment-pwd, and -environment-path.
Part of fix for PR gdb/741.
Jeff Johnston [Fri, 13 Dec 2002 17:55:49 +0000 (17:55 +0000)]
2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
* defs.h (init_last_source_visited): New prototype.
(add_path): Ditto.
* source.c (add_path): New function that adds to a specified path.
(mod_path): Change to call add_path.
(init_last_source_visited): New function to allow interfaces to
initialize static variable: last_source_visited. Part of fix
for PR gdb/741.
* Makefile.in: Add support for mi/mi-cmd-env.c.
Jeff Johnston [Fri, 13 Dec 2002 17:00:22 +0000 (17:00 +0000)]
2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
* mi-cmds.c (-environment-directory) Change to use mi_cmd_env_dir,
(-environment-cd): Change to use mi_cmd_env_cd,.
(-environment-pwd): Change to use mi_cmd_env_pwd.
(-environment-path): Change to use mi_cmd_env_path.
* mi-cmds.h (mi_cmd_env_cd, mi_cmd_env_dir): New prototypes.
(mi_cmd_env_path, mi_cmd_env_pwd): Ditto.
* mi-cmd-env.c: New file. Part of fix for PR gdb/741.
* gdbmi.texinfo (environment-cd): Update output and example.
(environment-pwd): Ditto.
(environment-dir): Update output, description, and examples.
(environment-path): Ditto.
Andrew Cagney [Fri, 13 Dec 2002 16:40:25 +0000 (16:40 +0000)]
2002-12-13 Andrew Cagney <
ac131313@redhat.com>
* frame.h (frame_id_unwind): Declare.
(struct frame_info): Add fields id_unwind, id_unwind_cache_p and
id_unwind_cache.
(frame_id_unwind_ftype): Declare.
* frame.c (frame_id_unwind): New function.
(set_unwind_by_pc): Add unwind_id parameter. Initialized.
(create_new_frame, get_prev_frame): Pass id_unwind to
set_unwind_by_pc.
(frame_saved_regs_id_unwind): New function.
(frame_saved_regs_id_unwind): New function.
* dummy-frame.c (dummy_frame_id_unwind): New function.
(struct dummy_frame): Add field id.
(generic_push_dummy_frame): Initialize `id'.
* dummy-frame.h (dummy_frame_id_unwind): Declare.
Andrew Cagney [Fri, 13 Dec 2002 16:26:02 +0000 (16:26 +0000)]
2002-12-13 Andrew Cagney <
ac131313@redhat.com>
* infcmd.c (run_stack_dummy): Create a frame ID directly and then
pass that to set_momentary_breakpoint. Move comments to where they
belong.
* frame.h (set_current_frame): Delete declaration.
* frame.c (set_current_frame): Delete function.
Andrew Cagney [Fri, 13 Dec 2002 16:11:32 +0000 (16:11 +0000)]
2002-12-13 Andrew Cagney <
ac131313@redhat.com>
* frame.c (frame_extra_info_zalloc): New function.
* frame.h (frame_extra_info_zalloc): Declare.
Joel Brobecker [Fri, 13 Dec 2002 14:37:41 +0000 (14:37 +0000)]
* hppa-tdep.c (hppa_pop_frame): Fix a compilation error introduced
in the previous prototype change to set_momentary_breakpoint.
Nick Clifton [Fri, 13 Dec 2002 13:19:44 +0000 (13:19 +0000)]
Added --prefix-symbols <prefix> option to rename all symbols by adding the
given prefix to the begining of the symbol name. This is useful to provide
name space seperation regardless of how the object file was created. Added
--prefix-sections <prefix> and --prefix-alloc-sections <prefix> options to
rename all sections (or all sections with the alloc flag set) by adding the
given prefix to the begining of the symbol name.
Jeff Johnston [Fri, 13 Dec 2002 00:36:42 +0000 (00:36 +0000)]
2002-12-12 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update list of alternate Regent of California
licenses and discuss official revoking of advertising clause.
* COPYING.LIBGLOSS: Ditto.
Alan Modra [Fri, 13 Dec 2002 00:01:47 +0000 (00:01 +0000)]
* config/obj-vms.c: Formatting. Include fnctl.h.
(Create_VMS_Object_File): Fix creat call for sane unix systems.
(Object_Record_Offset): Make it a size_t.
(Flush_VMS_Object_Record_Buffer): Fix signed/unsigned warning.
(VMS_TBT_Routine_End <Size>): Make var unsigned long.
(VMS_Fix_Indirect_Reference <Offset>): Make arg addressT.
(synthesize_data_segment <data_size>): Remove ATTRIBUTE_UNUSED.
(vms_fixup_data_section <data_size>): Add here instead.
* config/e-criself.c: Fix typo in last change.
gdbadmin [Fri, 13 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 12 Dec 2002 23:12:34 +0000 (23:12 +0000)]
* config/e-criself.c: Fix typo in last change.
Alan Modra [Thu, 12 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 12 Dec 2002 22:56:41 +0000 (22:56 +0000)]
* pj-opc.c (pj_opc_info): Add braces around union initializer.
Alan Modra [Thu, 12 Dec 2002 22:46:47 +0000 (22:46 +0000)]
* write.c (write_object_file): Fix signed/unsigned warning.
* config/e-crisaout.c (crisaout_bfd_name): Prototype.
* config/e-criself.c (criself_bfd_name): Prototype.
* config/obj-aout.c (s_sect): Remove unused function.
* config/obj-bout.c (obj_bout_line <ignore>): Add ATTRIBUTE_UNUSED.
* config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF.
(fixup_mdeps <h>): Add ATTRIBUTE_UNUSED.
* config/obj-ecoff.c (ecoff_frob_file <addr>): Likewise.
* config/obj-vms.c (setup_basic_type <spnt>): Likewise.
(VMS_RSYM_Parse <Current_Routine>): Likewise.
(vms_fixup_text_section <text_siz>): Likewise.
(synthesize_data_segment <data_size>): Likewise.
(vms_fixup_xtors_section <sect_no>): Likewise.
(structure_count): Don't use implicit int type.
Alan Modra [Thu, 12 Dec 2002 22:43:45 +0000 (22:43 +0000)]
* config/tc-a29k.c (insert_sreg): Prototype.
(define_some_regs): Prototype, make static.
(parse_operand): Likewise.
(md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
(md_show_usage <stream>): Likewise.
(md_section_align <segment>): Likewise.
(md_convert_frag <all args>): Likewise.
(md_estimate_size_before_relax <all args>): Likewise.
(md_apply_fix3): Don't cast valP pointer type. Fix bogus >>='s.
* config/tc-arm.c (arm_validate_fix): Only for OBJ_COFF or OBJ_ELF.
Alan Modra [Thu, 12 Dec 2002 22:41:25 +0000 (22:41 +0000)]
* config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
(md_undefined_symbol <name>): Likewise.
(md_convert_frag <all args>): Likewise.
(write_long <opcode>): Likewise.
(tc_gen_reloc <seg>): Likewise.
(md_estimate_size_before_relax <all args>): Likewise.
(md_apply_fix3 <seg>): Likewise.
(s_d30v_align <ignore>): Likewise.
(build_insn): Correct format string.
(md_apply_fix3): Likewise.
Daniel Jacobowitz [Thu, 12 Dec 2002 22:41:21 +0000 (22:41 +0000)]
* infrun.c (pending_follow): Remove saw_parent_fork, saw_child_fork,
and saw_child_exec.
(follow_fork, init_wait_for_inferior, handle_inferior_event): Remove
references to saw_parent_fork, saw_child_fork, and saw_child_exec.
(stop_stepping): Remove outdated check for child vfork events.
Alan Modra [Thu, 12 Dec 2002 22:39:40 +0000 (22:39 +0000)]
* config/tc-fr30.c (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
(md_undefined_symbol <name>): Likewise.
(md_convert_frag <all args>): Likewise.
(md_cgen_lookup_reloc <insn>): Likewise.
(md_begin): Delete unused vars.
(md_assemble): Likewise.
(md_estimate_size_before_relax): Likewise.
(fr30_relax_frag): #if 0 out, seems unused.
(md_atof): Remove declaration of atof_ieee.
(restore_colon): Prototype.
Alan Modra [Thu, 12 Dec 2002 22:37:47 +0000 (22:37 +0000)]
* config/tc-frv.c (frv_insert_vliw_insn): Prototype.
(frv_find_in_vliw): Likewise.
(frv_debug_tomcat): Likewise.
(frv_adjust_vliw_count): Likewise.
(frv_tomcat_shuffle): Likewise.
(frv_tomcat_analyze_vliw_chains): Likewise. Correct args to
frv_find_in_vliw call.
(md_atof): Remove declaration of atof_ieee.
Alan Modra [Thu, 12 Dec 2002 22:34:05 +0000 (22:34 +0000)]
* h8500-opc.h (h8500_table): Add missing initializers to quiet
warnings.
* config/tc-h8500.c (cons): Delete declaration.
(md_begin <opcode>): Constify.
(displacement_size, immediate_size, absolute_size): Remove.
(build_relaxable_instruction <operand>): Add ATTRIBUTE_UNUSED.
(tc_crawl_symbol_chain <headers>): Likewise.
(md_undefined_symbol <name>): Likewise.
(tc_headers_hook <headers>): Likewise.
(md_parse_option <c,arg>): Likewise.
(md_show_usage <stream>): Likewise.
(md_convert_frag <headers, seg>): Likewise.
(tc_coff_symbol_emit_hook <ignore>): Likewise.
(md_atof): Remove declaration of atof_ieee.
(tc_aout_fix_to_chars): Remove unused function.
(parse_reg): Prototype.
(parse_exp): Prototype.
(skip_colonthing): Prototype. Use &&, not & in logical expressions.
(parse_reglist): Prototype.
(get_operand): Prototype.
(get_operands): Prototype.
(get_specific): Prototype. Make "this_index" signed.
(check): Prototype, make static.
(insert): Prototype
(build_relaxable_instruction): Prototype, make static.
(build_bytes): Prototype.
(wordify_scb): Prototype.
* config/tc-h8500.h (start_label): Declare.
(tc_coff_sizemachdep): Declare.
Alan Modra [Thu, 12 Dec 2002 22:29:00 +0000 (22:29 +0000)]
* config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
(i370_rmode <unused>): Likewise.
(i370_csect <unused>): Likewise.
(i370_dc <unused>): Likewise.
(i370_ds <unused>): Likewise.
(i370_elf_lcomm <unused>): Likewise.
(i370_ltorg <ignore>): Likewise.
(i370_using <ignore>): Likewise.
(i370_drop <ignore>): Likewise.
(i370_byte <ignore>): Likewise.
(i370_tc <ignore>): Likewise.
(md_estimate_size_before_relax <fragp, seg>): Likewise.
(md_convert_frag <all args>): Likewise.
(md_undefined_symbol <name>): Likewise.
(md_pcrel_from_section <sec>): Likewise.
(tc_gen_reloc <seg>): Likewise.
(i370_section_letter): #if 0 unused functions.
(i370_section_word, i370_section_type, i370_section_flags): Likewise.
(symbol_locate): Prototype.
Alan Modra [Thu, 12 Dec 2002 22:27:07 +0000 (22:27 +0000)]
* config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
(md_number_to_disp, md_number_to_field): Remove.
(md_apply_fix3): Correct format string and cast "fup".
Alan Modra [Thu, 12 Dec 2002 22:25:00 +0000 (22:25 +0000)]
* config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
(s_endian <ignore>): Likewise.
(md_undefined_symbol <name>): Likewise.
(tc_crawl_symbol_chain <headers>): Likewise.
(tc_set_bal_of_call): Likewise.
(tc_coff_symbol_emit_hook <symbolP>): Likewise.
(i960_handle_align <fragp>): Likewise.
(i960_validate_fix <this_segment_type>): Likewise
(tc_gen_reloc <section>): Likewise.
(tc_coff_symbol_emit_hook): Only define for OBJ_COFF.
(struct memS, struct regop): Forward declare.
(brcnt_emit, brlab_next, cobr_fmt, ctrl_fmt, emit, get_args,
get_cdisp, get_ispec, get_regnum, i_scan, mem_fmt, mema_to_memb,
parse_expr, parse_ldconst, parse_memop, parse_po, parse_regop,
reg_fmt, relax_cobr, s_leafproc, s_sysproc, shift_ok, syntax,
targ_has_sfr, targ_has_iclass, tc_bfd_fix2rtype): Prototype.
(md_chars_to_number, md_number_to_imm): Make static, prototype.
(md_number_to_field): Likewise.
(md_number_to_disp): Remove unused function.
(md_atof): Remove declaration of atof_ieee.
(md_apply_fix3): Correct md_number_to_imm call.
Alan Modra [Thu, 12 Dec 2002 22:21:04 +0000 (22:21 +0000)]
* config/tc-ip2k.c (md_assemble): Warning fix.