OSDN Git Service
DJ Delorie [Fri, 6 Aug 2004 15:38:11 +0000 (15:38 +0000)]
merge from gcc
Ulrich Weigand [Fri, 6 Aug 2004 13:42:05 +0000 (13:42 +0000)]
* lin-lwp.c (child_wait): Continue inferior after processing
PTRACE_EVENT_CLONE event.
Paolo Bonzini [Fri, 6 Aug 2004 06:44:46 +0000 (06:44 +0000)]
2004-08-06 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (bfd, opcodes, gcc, zlib): Mark as bootstrap module.
(bison, byacc, flex, texinfo): Do not mark as bootstrap module.
(Dependencies): New section.
* Makefile.tpl (Dependencies): Generate from Makefile.def.
(configure-target-[+module+]): Depend on maybe-all-gcc
(all-prebootstrap): New name of all-bootstrap. Changed throughout.
(toplevel profiledbootstrap): Fix dependencies.
* Makefile.in: Regenerate.
Alan Modra [Fri, 6 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 6 Aug 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Nathanael Nerode [Thu, 5 Aug 2004 23:35:14 +0000 (23:35 +0000)]
* MAINTAINERS: Add self to Write-After-Approval.
Nathanael Nerode [Thu, 5 Aug 2004 21:14:06 +0000 (21:14 +0000)]
* Makefile.in (GDB_INCLUDES): Remove bogus reference to mmalloc.
Jeff Johnston [Thu, 5 Aug 2004 20:37:56 +0000 (20:37 +0000)]
2004-08-05 Jeff Johnston <jjohnstn@redhat.com>
* libunwind-frame.c (LIBUNWIND_SO): Change to be of form:
libunwind-xxxx.so" where xxxx is UNW_TARGET.
Jeff Johnston [Thu, 5 Aug 2004 20:11:18 +0000 (20:11 +0000)]
2004-08-05 Jeff Johnston <jjohnstn@redhat.com>
* libunwind-frame.c (LIBUNWIND_SO): Change to be of form:
libunwind-xxxx.so" where xxxx is UNW_TARGET.
2
Andrew Cagney [Thu, 5 Aug 2004 19:25:49 +0000 (19:25 +0000)]
2004-08-05 Andrew Cagney <cagney@gnu.org>
* config/xm-sysv4.h: Delete file.
* config/mips/xm-irix5.h: Delete file.
* config/mips/irix6.mh (XM_FILE, XM_CLIBS): Delete.
* config/mips/irix5.mh (XM_FILE, XM_CLIBS): Delete.
* config/ia64/xm-aix.h: Delete file.
* config/ia64/aix.mh (XM_FILE): Delete.
* config/pa/xm-hppah.h: Delete file.
* config/pa/hpux11w.mh (XM_FILE): Delete.
* config/pa/hpux11.mh (XM_FILE): Delete.
* config/pa/hpux1020.mh (XM_FILE): Delete.
* config/pa/hppahpux.mh (XM_FILE): Delete.
Andrew Cagney [Thu, 5 Aug 2004 18:18:17 +0000 (18:18 +0000)]
2004-08-05 Andrew Cagney <cagney@gnu.org>
* config/alpha/xm-alphalinux.h: Delete file.
* config/djgpp/fnchange.lst: Do not fix xm-alphalinux.h.
* config/alpha/alpha-linux.mh (XM_FILE, LOADLIBES): Delete.
* config/alpha/xm-alphaosf.h: Delete file.
* config/djgpp/fnchange.lst: Do not fix xm-alphaosf.h.
* config/alpha/alpha-osf3.mh (XM_FILE): Delete.
* config/alpha/alpha-osf2.mh (XM_FILE): Delete.
* config/alpha/alpha-osf1.mh (XM_FILE): Delete.
Andrew Cagney [Thu, 5 Aug 2004 15:23:53 +0000 (15:23 +0000)]
2004-08-05 Andrew Cagney <cagney@gnu.org>
* config/i386/xm-i386v.h: Delete file.
* config/i386/i386v.mh (XM_FILE, XM_CLIBS): Delete.
* config/i386/i386sco5.mh (XM_FILE, XM_CLIBS): Delete.
* config/i386/xm-i386sco.h: Delete file.
* config/i386/i386sco4.mh (XM_FILE, XM_CLIBS, MH_CFLAGS): Delete.
* config/i386/i386sco.mh (XM_FILE, XM_CLIBS, CC): Delete.
* config/i386/xm-i386v4.h: Delete file.
* config/djgpp/fnchange.lst: Do not fix xm-i386v4.h.
* config/i386/ncr3000.mh (CC, CFLAGS, XM_FILE): Delete.
* config/i386/i386v42mp.mh (XM_FILE, XM_CLIBS): Delete.
* config/i386/i386v4.mh (XM_FILE, XM_CLIBS): Delete.
Andrew Cagney [Thu, 5 Aug 2004 14:34:17 +0000 (14:34 +0000)]
2004-08-05 Andrew Cagney <cagney@gnu.org>
* config/vax/xm-vax.h: Delete file.
* Makefile.in (xm-vaxult.h, xm-vaxbsd.h): Delete.
* config/vax/xm-vaxult2.h: Delete file.
* config/djgpp/fnchange.lst: Do not fix xm-vaxult2.h.
* config/vax/vaxult2.mh (XM_FILE): Delete.
* config/vax/xm-vaxult.h: Delete file.
* config/vax/vaxult.mh (XM_FILE): Delete.
* config/vax/xm-vaxbsd.h: Delete file.
* config/vax/vaxbsd.mh (XM_FILE): Delete.
Andrew Cagney [Thu, 5 Aug 2004 14:12:40 +0000 (14:12 +0000)]
2004-08-05 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (deprecated_frame_saved_pc): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* regcache.c (deprecated_read_fp, deprecated_write_sp): Delete.
* inferior.h (deprecated_read_fp, deprecated_write_sp): Delete.
* frame.h: Delete deprecated_read_fp from comments.
* arch-utils.c (deprecated_init_frame_pc_default): Delete.
* arch-utils.h (deprecated_init_frame_pc_default): Delete.
Index: doc/ChangeLog
2004-08-05 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Target Architecture Definition): Delete
reference to deprecated_read_fp.
Michael Chastain [Thu, 5 Aug 2004 07:44:47 +0000 (07:44 +0000)]
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/gcore.c: Include <string.h>.
Michael Chastain [Thu, 5 Aug 2004 07:38:42 +0000 (07:38 +0000)]
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/gcore.c: Add copyright notice.
Michael Chastain [Thu, 5 Aug 2004 07:28:20 +0000 (07:28 +0000)]
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/freebpcmd.c: Include <stdio.h>.
* gdb.base/long_long.c: Include <string.h>.
* gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
* gdb.base/siginfo.c: Include <string.h>.
* gdb.base/sigstep.c: Include <string.h>.
Michael Chastain [Thu, 5 Aug 2004 00:59:23 +0000 (00:59 +0000)]
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/complex.c: Include <stdlib.h>.
Michael Chastain [Thu, 5 Aug 2004 00:53:01 +0000 (00:53 +0000)]
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/complex.c: Add copyright notice.
Michael Chastain [Thu, 5 Aug 2004 00:31:49 +0000 (00:31 +0000)]
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/charset.c: Include <stdlib.h>.
Michael Chastain [Thu, 5 Aug 2004 00:20:38 +0000 (00:20 +0000)]
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/auxv.c: Include <stdlib.h>.
Andrew Cagney [Thu, 5 Aug 2004 00:17:52 +0000 (00:17 +0000)]
2004-08-04 Andrew Cagney <cagney@gnu.org>
Jim Blandy <jimb@redhat.com>
* sim_callbacks.h (simulator): Declare.
* Makefile.in (gdb-sim.o): New rule.
(MAIN_SRC, GDB_OBJ): Add gdb-sim.o, gdb-sim.c.
(DEFS_H): Delete.
(GDB_SIM_PPC_H): Define.
* gdb-sim.c: New file.
* sim_calls.c: Do not include "defs.h".
(simulator): Drop static.
(sim_store_register, sim_fetch_register): Delete.
Michael Chastain [Thu, 5 Aug 2004 00:04:28 +0000 (00:04 +0000)]
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/auxv.c: Add copyright notice.
gdbadmin [Thu, 5 Aug 2004 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 5 Aug 2004 00:00:05 +0000 (00:00 +0000)]
daily update
Michael Chastain [Wed, 4 Aug 2004 23:55:15 +0000 (23:55 +0000)]
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/coremaker.c: Add copyright notice.
* gdb.base/coremaker2.c: Add copyright notice.
Andrew Cagney [Wed, 4 Aug 2004 23:44:32 +0000 (23:44 +0000)]
2004-08-04 Andrew Cagney <cagney@gnu.org>
* sim-ppc.h: Add extern "C" wrapper.
(enum sim_ppc_regnum): Add full list of SPRs.
Mark Kettenis [Wed, 4 Aug 2004 21:07:42 +0000 (21:07 +0000)]
* i386obsd-tdep.c (i386obsd_sigtramp_p): Adjust for changed signal
trampoline in OpenBSD 3.5-current.
Mark Kettenis [Wed, 4 Aug 2004 20:57:29 +0000 (20:57 +0000)]
* i387-tdep.c (i387_supply_fsave): Provide summy values for the
SSE registers.
Mark Kettenis [Wed, 4 Aug 2004 20:43:14 +0000 (20:43 +0000)]
* Makefile.in: Remove embedded page breaks.
Andrew Cagney [Wed, 4 Aug 2004 18:09:34 +0000 (18:09 +0000)]
2004-08-04 Andrew Cagney <cagney@gnu.org>
* Back out accidently committed change.
Jim Blandy [Wed, 4 Aug 2004 17:50:55 +0000 (17:50 +0000)]
* regcache.c (regcache_raw_read): Assert that, after calling
target_fetch_registers, the register we're reading is cached.
Jim Blandy [Wed, 4 Aug 2004 17:47:40 +0000 (17:47 +0000)]
Add missing function name to ChangeLog entry.
Jim Blandy [Wed, 4 Aug 2004 17:45:30 +0000 (17:45 +0000)]
* ppc-linux-nat.c (fetch_register): Replace 'gdb_assert (0)' with
a call to 'internal_error', with a more helpful error message.
* rs6000-tdep.c (e500_pseudo_register_read,
e500_pseudo_register_write): Same.
Jim Blandy [Wed, 4 Aug 2004 17:40:31 +0000 (17:40 +0000)]
gdb/ChangeLog:
2004-07-20 Jim Blandy <jimb@redhat.com>
Use a fixed register numbering when communicating with the PowerPC
simulator.
* ppc-tdep.h (struct gdbarch_tdep): New member: 'sim_regno'.
* rs6000-tdep.c: #include "sim-regno.h" and "gdb/sim-ppc.h".
(set_sim_regno, init_sim_regno_table, rs6000_register_sim_regno):
New functions.
(rs6000_gdbarch_init): Register rs6000_register_sim_regno. Call
init_sim_regno_table.
* Makefile.in (gdb_sim_ppc_h): New variable.
(rs6000-tdep.o): Update dependencies.
include/gdb/ChangeLog:
2004-07-20 Jim Blandy <jimb@redhat.com>
* sim-ppc.h: New file.
sim/ppc/ChangeLog:
2004-07-20 Jim Blandy <jimb@redhat.com>
Use a fixed register numbering when communicating with the PowerPC
simulator.
* sim_calls.c: #include "registers.h" and "gdb/sim-ppc.h"; do not
include GDB's "defs.h".
(gdb_register_name_table): New variable.
(gdb_register_name_table_size): New enum constant.
(gdb_register_name): New function.
(sim_fetch_register, sim_store_register): Use gdb_register_name,
instead of calling gdbarch_register_name.
* Makefile.in (GDB_SIM_PPC_H): New variable.
(DEFS_H): Delete variable.
(sim_calls.o): Update dependencies.
Andrew Cagney [Wed, 4 Aug 2004 17:39:22 +0000 (17:39 +0000)]
2004-08-04 Andrew Cagney <cagney@gnu.org>
* Makefile.in: Update dependencies.
Jim Blandy [Wed, 4 Aug 2004 17:17:55 +0000 (17:17 +0000)]
Change the layout of the PowerPC E500 raw register cache to allow
the lower 32-bit halves of the GPRS to be their own raw registers,
not pseudoregisters.
* ppc-tdep.h (struct gdbarch_tdep): Remove ppc_gprs_pseudo_p flag;
add ppc_ev0_upper_regnum flag.
* rs6000-tdep.c: #include "reggroups.h".
(spe_register_p): Recognize the ev upper half registers as SPE
registers.
(init_sim_regno_table): Build gdb->sim mappings for the upper-half
registers.
(e500_move_ev_register): New function.
(e500_pseudo_register_read, e500_pseudo_register_write): The 'ev'
vector registers are the pseudo-registers now, formed by splicing
together the gprs and the upper-half registers.
(e500_register_reggroup_p): New function.
(P): Macro deleted.
(P8, A4): New macro.
(PPC_EV_REGS, PPC_GPRS_PSEUDO_REGS): Macros deleted.
(PPC_SPE_GP_REGS, PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): New
macros.
(registers_e500): Rearrange register set so that the raw register
set contains 32-bit GPRs and upper-half registers, and the SPE
vector registers become pseudo-registers.
(rs6000_gdbarch_init): Don't initialize tdep->ppc_gprs_pseudo_p;
it has been deleted. Initialize ppc_ev0_upper_regnum. Many other
register numbers are now the same for the E500 as they are for
other PowerPC variants. Register e500_register_reggroup_p as the
register group function for the E500.
* Makefile.in (rs6000-tdep.o): Update dependencies.
Adapt PPC E500 native support to the new raw regcache layout.
* ppc-linux-nat.c (struct gdb_evrregset_t): Doc fixes.
(read_spliced_spe_reg, write_spliced_spe_reg): Deleted.
(fetch_spe_register, store_spe_register): Handle fetching/storing
all the SPE registers at once, if regno == -1. These now take
over the job of fetch_spe_registers and store_spe_registers.
(fetch_spe_registers, store_spe_registers): Deleted.
(fetch_ppc_registers, store_ppc_registers): Fetch/store gprs
unconditionally; they're always raw. Fetch/store SPE upper half
registers, if present, instead of ev registers.
(fetch_register, store_register): Remove sanity checks: gprs are
never pseudo-registers now, so we never need to even mention any
registers that are ever pseudoregisters.
Jim Blandy [Wed, 4 Aug 2004 17:04:35 +0000 (17:04 +0000)]
gdb/ChangeLog:
2004-07-20 Jim Blandy <jimb@redhat.com>
Use a fixed register numbering when communicating with the PowerPC
simulator.
* ppc-tdep.h (struct gdbarch_tdep): New member: 'sim_regno'.
* rs6000-tdep.c: #include "sim-regno.h" and "gdb/sim-ppc.h".
(set_sim_regno, init_sim_regno_table, rs6000_register_sim_regno):
New functions.
(rs6000_gdbarch_init): Register rs6000_register_sim_regno. Call
init_sim_regno_table.
* Makefile.in (gdb_sim_ppc_h): New variable.
(rs6000-tdep.o): Update dependencies.
include/gdb/ChangeLog:
2004-07-20 Jim Blandy <jimb@redhat.com>
* sim-ppc.h: New file.
sim/ppc/ChangeLog:
2004-07-20 Jim Blandy <jimb@redhat.com>
Use a fixed register numbering when communicating with the PowerPC
simulator.
* sim_calls.c: #include "registers.h" and "gdb/sim-ppc.h"; do not
include GDB's "defs.h".
(gdb_register_name_table): New variable.
(gdb_register_name_table_size): New enum constant.
(gdb_register_name): New function.
(sim_fetch_register, sim_store_register): Use gdb_register_name,
instead of calling gdbarch_register_name.
* Makefile.in (GDB_SIM_PPC_H): New variable.
(DEFS_H): Delete variable.
(sim_calls.o): Update dependencies.
Mark Mitchell [Wed, 4 Aug 2004 16:12:06 +0000 (16:12 +0000)]
* configure.in (arm*-*-symbianelf*): Add ${libgcj} and
target-libiberty to noconfigdirs.
Andrew Cagney [Wed, 4 Aug 2004 14:59:56 +0000 (14:59 +0000)]
2004-08-04 Andrew Cagney <cagney@gnu.org>
* gdb.base/store.exp: Update copyright.
(check_set, up_set, check_struct, up_struct): Add a prefix to test
names, do not import gdb_prompt.
gdbadmin [Wed, 4 Aug 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 4 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update
Nathanael Nerode [Tue, 3 Aug 2004 20:54:19 +0000 (20:54 +0000)]
ChangeLog:
2004-08-01 Robert Millan <robertmh@gnu.org>
* configure.in: Turn mt-linux into mt-gnu. Use mt-gnu and enable
libmudflap for all GNU-based systems (with Glibc).
* configure: Regenerate.
config/ChangeLog:
2004-08-01 Robert Millan <robertmh@gnu.org>
* mt-linux: Rename to ...
* mt-gnu: ... this.
Paolo Bonzini [Tue, 3 Aug 2004 09:36:03 +0000 (09:36 +0000)]
2004-08-03 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (host-modules): Add gcc.
* Makefile.in: Regenerate.
* Makefile.tpl (sorry): New rule.
(configure-host, all-host, [+make_target+]-host, do-check,
install-host): Do not add gcc as a special case.
(host modules): Add a small special-casing for gcc. Export
extra_make_flags through the environment.
(maybe-configure-gcc, configure-gcc, maybe-all-gcc, all-gcc,
maybe-check-gcc, check-gcc, maybe-install-gcc, install-gcc,
other recursive targets for gcc): Remove.
(all, do-[+make_target+], do-check): Wrap between unstage and stage.
(stage, unstage): New rules.
(stage[+id+]-start, stage[+id+]-end, [+compare-target+],
distclean-stage[+id+]): Use stage_current.
([+bootstrap-target+], profiledbootstrap): Do not invoke manually
the stage*-start rules.
Andrew Cagney [Tue, 3 Aug 2004 03:58:49 +0000 (03:58 +0000)]
2004-08-02 Andrew Cagney <cagney@gnu.org>
* cris-tdep.c (cris_register_size): Restore function, still used
locally.
Andrew Cagney [Tue, 3 Aug 2004 03:52:01 +0000 (03:52 +0000)]
2004-08-02 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (deprecated_target_read_fp)
(deprecated_frame_locals_address, deprecated_frame_args_address)
(deprecated_frame_chain_valid, deprecated_frame_chain)
(deprecated_init_extra_frame_info, deprecated_pop_frame)
(deprecated_frame_init_saved_regs, deprecated_get_saved_register)
(deprecated_do_registers_info, deprecated_init_frame_pc): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* regcache.c (deprecated_read_fp): Do not call
DEPRECATED_TARGET_READ_FP_P.
* infcmd.c (default_print_registers_info): Do not call
DEPRECATED_DO_REGISTERS_INFO.
* frame-base.c (default_frame_locals_address): Do not call
DEPRECATED_FRAME_LOCALS_ADDRESS.
(default_frame_args_address): Do not call
DEPRECATED_FRAME_ARGS_ADDRESS.
Andrew Cagney [Tue, 3 Aug 2004 03:09:33 +0000 (03:09 +0000)]
2004-08-02 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (deprecated_register_raw_size)
(deprecated_register_virtual_size:int): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* cris-tdep.c (cris_register_size): Delete.
(cris_gdbarch_init): Update.
* alpha-tdep.c (alpha_register_raw_size)
(alpha_register_virtual_size): Delete.
(alpha_gdbarch_init): Update.
Andrew Cagney [Tue, 3 Aug 2004 02:37:40 +0000 (02:37 +0000)]
2004-08-02 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (deprecated_register_virtual_type)
(deprecated_save_dummy_frame_tos, deprecated_push_return_address)
(deprecated_dummy_write_sp): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
Andrew Cagney [Tue, 3 Aug 2004 02:02:24 +0000 (02:02 +0000)]
2004-08-02 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (deprecated_register_bytes): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* regcache.c (deprecated_register_bytes): New function.
* regcache.h (deprecated_register_bytes): Declare.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sh64-tdep.c (sh64_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init_32082): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* remote.c (init_remote_state): Update.
* remote-vx.c (vx_prepare_to_store): Update.
* remote-sds.c (sds_fetch_registers, sds_prepare_to_store): Update.
* irix5-nat.c (fetch_core_registers): Update.
* cris-tdep.c (cris_register_bytes_ok): Update.
* config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update.
Andrew Cagney [Tue, 3 Aug 2004 01:12:43 +0000 (01:12 +0000)]
2004-08-02 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (mips_gdbarch_init, mips_insn16_frame_cache)
(mips_insn16_frame_this_id, mips_insn16_frame_prev_register)
(mips_insn16_frame_unwind, mips_insn16_frame_sniffer)
(mips_insn16_frame_base_address, mips_insn16_frame_base)
(mips_insn16_frame_base_sniffer, mips_insn32_frame_cache)
(mips_insn32_frame_this_id, mips_insn32_frame_prev_register)
(mips_insn32_frame_unwind, mips_insn32_frame_sniffer)
(mips_insn32_frame_base_address, mips_insn32_frame_base)
(mips_insn32_frame_base_sniffer): Replace mips16 / mips32 prefix
with mips_insn16 and mips_insn32.
Andrew Cagney [Tue, 3 Aug 2004 00:57:27 +0000 (00:57 +0000)]
2004-08-02 Andrew Cagney <cagney@gnu.org>
Replace DEPRECATED_REGISTER_RAW_SIZE with register_size.
* rs6000-tdep.c (rs6000_push_dummy_call)
(rs6000_extract_return_value): Use register_size.
* xstormy16-tdep.c (xstormy16_get_saved_register)
(xstormy16_extract_return_value): Ditto.
* valops.c (value_assign): Ditto.
* v850ice.c (v850ice_fetch_registers, v850ice_store_registers):
* v850-tdep.c (v850_extract_return_value): Ditto.
* tracepoint.c (collect_symbol): Ditto.
* target.c (debug_print_register): Ditto.
* stack.c (frame_info): Ditto.
* rs6000-nat.c (ARCH64, fetch_register, store_register): Ditto.
* rom68k-rom.c (rom68k_supply_one_register): Ditto.
* remote.c (struct packet_reg, remote_wait, remote_async_wait)
(store_register_using_P): Ditto.
* remote-vxmips.c (vx_read_register, vx_write_register): Ditto.
* remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Ditto.
* remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
* remote-e7000.c (fetch_regs_from_dump, sub2_from_pc): Ditto.
* regcache.c (deprecated_read_register_bytes)
(deprecated_write_register_bytes, read_register)
(write_register): Ditto.
* ppc-linux-nat.c (fetch_altivec_register, fetch_register)
(supply_vrregset, store_altivec_register, fill_vrregset): Ditto.
* monitor.c (monitor_supply_register, monitor_fetch_register)
(monitor_store_register): Ditto.
* mn10300-tdep.c (mn10300_pop_frame_regular)
(mn10300_print_register): Ditto.
* mipsv4-nat.c (fill_fpregset): Ditto.
* mips-linux-tdep.c (supply_32bit_reg, fill_fpregset)
(mips64_fill_fpregset): Ditto.
* mi/mi-main.c (register_changed_p, get_register)
(mi_cmd_data_write_register_values): Ditto.
* lynx-nat.c (fetch_inferior_registers, store_inferior_registers):
* irix5-nat.c (fill_gregset, fetch_core_registers):
* infrun.c (write_inferior_status_register): Ditto.
* infptrace.c (fetch_register, store_register): Ditto.
* infcmd.c (default_print_registers_info): Ditto.
* ia64-linux-nat.c (COPY_REG, fill_fpregset): Ditto.
* ia64-aix-nat.c (COPY_REG, fill_gregset): Ditto.
* i386gnu-nat.c (gnu_store_registers, fill): Ditto.
* hpux-thread.c (hpux_thread_fetch_registers)
(hpux_thread_store_registers): Ditto.
* hppah-nat.c (store_inferior_registers, fetch_register):
* findvar.c (value_from_register): Ditto.
* dve3900-rom.c (fetch_bitmapped_register):
* cris-tdep.c (cris_gdbarch_init): Ditto.
* alpha-tdep.h: Ditto.
* aix-thread.c (pd_enable, fill_sprs64, fill_sprs32): Ditto.
Alan Modra [Tue, 3 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 3 Aug 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Mon, 2 Aug 2004 21:58:44 +0000 (21:58 +0000)]
2004-08-02 Andrew Cagney <cagney@gnu.org>
* regcache.h: Delete DEPRECATED_REGISTER_VIRTUAL_SIZE and
DEPRECATED_REGISTER_RAW_SIZE from comments.
* regcache.c (init_regcache_descr, regcache_dump): Do not check or
use DEPRECATED_REGISTER_VIRTUAL_SIZE and
DEPRECATED_REGISTER_RAW_SIZE.
* findvar.c (value_of_register): Simplify by assuming that the
registers raw and virtual sizes are identical.
* regcache.h: Delete DEPRECATED_REGISTER_VIRTUAL_TYPE in
comment.
* arch-utils.c (generic_register_size): Simplify by assuming
register_type.
Andrew Cagney [Mon, 2 Aug 2004 21:39:35 +0000 (21:39 +0000)]
2004-08-02 Andrew Cagney <cagney@gnu.org>
* regcache.c (legacy_read_register_gen, real_register)
(legacy_write_register_gen): Delete, not used.
Andrew Cagney [Mon, 2 Aug 2004 21:07:17 +0000 (21:07 +0000)]
2004-08-02 Andrew Cagney <cagney@gnu.org>
* regcache.c (struct regcache_descr): Delete legacy_p.
(init_legacy_regcache_descr): Delete function.
(init_regcache_descr): Delete call to init_legacy_regcache_descr.
Do not use deprecated register functions.
(regcache_raw_read, deprecated_write_register_gen):
(deprecated_read_register_gen, regcache_raw_write): Delete code
predicated on legacy_p.
(register_size): Delete check against register raw size.
Andrew Cagney [Mon, 2 Aug 2004 20:59:47 +0000 (20:59 +0000)]
2004-08-02 Andrew Cagney <cagney@gnu.org>
* cris-tdep.c (cris_register_type): Replace
cris_register_virtual_type.
(cris_gdbarch_init): Update, set register_type.
Andrew Cagney [Mon, 2 Aug 2004 19:44:40 +0000 (19:44 +0000)]
2004-08-02 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (deprecated_frameless_function_invocation): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* arm-tdep.c (arm_frameless_function_invocation): Delete.
(arm_gdbarch_init) Do not set frameless function invocation.
* frame.h (legacy_frameless_look_for_prologue): Delete declaration.
* blockframe.c (legacy_frameless_look_for_prologue): Delete function.
* frv-tdep.c (frv_frameless_function_invocation): Delete.
(frv_gdbarch_init): Do not set frameless function invocation.
* sh64-tdep.c (sh64_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* m32r-tdep.c (m32r_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
Andrew Cagney [Mon, 2 Aug 2004 18:58:20 +0000 (18:58 +0000)]
2004-08-02 Andrew Cagney <cagney@gnu.org>
* blockframe.c (legacy_frame_chain_valid): Delete function.
Andrew Cagney [Mon, 2 Aug 2004 18:52:03 +0000 (18:52 +0000)]
2004-08-02 Andrew Cagney <cagney@gnu.org>
* dummy-frame.c (struct dummy_frame): Delete call_lo, call_hi, top
and pc. Update comments.
(pc_in_dummy_frame): Delete function.
(deprecated_pc_in_call_dummy): Inline old pc_in_dummy_frame code,
use the "id".
(dummy_frame_push, dummy_frame_sniffer): Instead of call_lo,
call_hi, top and pc, use the id.
(fprint_dummy_frames): Do not print call_lo, call_hi, top and pc.
Andrew Cagney [Mon, 2 Aug 2004 17:39:53 +0000 (17:39 +0000)]
2004-08-02 Andrew Cagney <cagney@gnu.org>
* dummy-frame.c: Include "gdb_string.h".
(generic_save_call_dummy_addr, generic_push_dummy_frame)
(generic_save_dummy_frame_tos): Delete.
(dummy_frame_push): New function, replaces above.
* dummy-frame.h: Update copyright.
(dummy_frame_push): Declare.
* frame.h (generic_save_dummy_frame_tos, generic_push_dummy_frame)
(generic_save_call_dummy_addr): Delete declarations.
* infcall.c: Include "dummy-frame.h".
(call_function_by_hand): Add locals caller_regcache,
caller_regcache_cleanup and dummy_id. Replace push_dummy_frame
with call to frame_save_as_regcache plus cleanup. Delete calls to
generic_save_call_dummy_addr and generic_save_dummy_frame_tos.
Move clear_proceed_status to just before the resume, add call to
dummy_frame_push (discard cleanup).
* Makefile.in (infcall.o): Add $(dummy_frame_h).
(dummy-frame.o): Add $(gdb_string_h).
Andrew Cagney [Mon, 2 Aug 2004 16:07:31 +0000 (16:07 +0000)]
Index: ChangeLog
2004-08-01 Andrew Cagney <cagney@gnu.org>
* dummy-frame.h (dummy_frame_unwind): Replace dummy_frame_sniffer.
* frame-unwind.c (frame_unwind_init): Use dummy_frame_unwind.
* dummy-frame.c (find_dummy_frame): Delete.
(struct dummy_frame_cache, dummy_frame_sniffer)
(dummy_frame_prev_register, dummy_frame_this_id)
(dummy_frame_unwinder, dummy_frame_unwind): Re-implement dummy
frame unwinder using a dummy_frame_cache.
Andrew Cagney [Mon, 2 Aug 2004 03:36:24 +0000 (03:36 +0000)]
2004-08-01 Andrew Cagney <cagney@gnu.org>
* frame.h (frame_save_as_regcache): Declare.
* frame.c (frame_save_as_regcache): New function.
(do_frame_read_register): Replace do_frame_unwind_register.
(frame_pop): Use frame_save_as_regcache.
* dummy-frame.c (generic_push_dummy_frame): Use
frame_save_as_regcache.
Andrew Cagney [Mon, 2 Aug 2004 03:13:56 +0000 (03:13 +0000)]
2004-08-01 Andrew Cagney <cagney@gnu.org>
Fix PR testsuite/1729.
* gdb.base/dump.exp: Add test name to callers of capture_value, do
not use capture_value with value 4.
(capture_value): Add optional test name parameter.
(test_reload_saved_value, test_restore_saved_value): Use $msg as
the prefix, pass to capture_value.
Joel Brobecker [Mon, 2 Aug 2004 01:25:57 +0000 (01:25 +0000)]
* dwarf2read.c (dwarf_decode_lines): Do not consider the current
file as included until we record the first line in the linetable.
gdbadmin [Mon, 2 Aug 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 2 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Sun, 1 Aug 2004 23:13:41 +0000 (23:13 +0000)]
2004-08-01 Andrew Cagney <cagney@gnu.org>
* frame.h (deprecated_pop_dummy_frame)
(deprecated_read_register_dummy)
(deprecated_generic_find_dummy_frame): Delete.
* dummy-frame.c (deprecated_generic_find_dummy_frame)
(deprecated_read_register_dummy)
(deprecated_find_dummy_frame_regcache)
(discard_innermost_dummy)
(deprecated_pop_dummy_frame): Delete.
(dummy_frame_this_id): Simplify.
(struct dummy_frame): Delete "fp" and "sp".
(find_dummy_frame): Simplify.
(generic_push_dummy_frame): Do not set "fp" or "sp".
(fprint_dummy_frames): Do not print "fp" and "sp"
Mark Kettenis [Sun, 1 Aug 2004 21:55:44 +0000 (21:55 +0000)]
* i386-tdep.c (I386_MAX_INSN_LEN): New define.
(struct i386_insn): New structure.
(i386_match_insn): New function.
(i386_frame_setup_skip_insns): New variable.
(i386_analyze_frame_setup): Change to use i386_match_insn and the
array i386_frame_setup_insns of instructions that should be
skipped inside the frame setup sequence.
Andrew Cagney [Sun, 1 Aug 2004 21:47:19 +0000 (21:47 +0000)]
2004-08-01 Andrew Cagney <cagney@gnu.org>
* frame.h (deprecated_frame_xmalloc_with_cleanup)
(frame_saved_regs_zalloc, frame_extra_info_zalloc)
(get_frame_extra_info, deprecated_get_frame_saved_regs): Delete.
* stack.c (frame_info): Delete references to
DEPRECATED_FRAME_INIT_SAVED_REGS and
deprecated_get_frame_saved_regs.
* frame.c (struct frame_info): Delete saved_regs and extra_info.
(frame_pc_unwind): Do not use DEPRECATED_FRAME_SAVED_PC.
(frame_register): Do not use DEPRECATED_GET_SAVED_REGISTER.
(frame_unwind_register_signed)
(frame_unwind_register_unsigned)
(frame_unwind_unsigned_register): Use register_size.
(create_new_frame): Do not use DEPRECATED_INIT_EXTRA_FRAME_INFO.
(deprecated_frame_xmalloc_with_cleanup)
(frame_saved_regs_zalloc, frame_extra_info_zalloc)
(get_frame_extra_info, deprecated_get_frame_saved_regs): Delete.
Andrew Cagney [Sun, 1 Aug 2004 21:38:03 +0000 (21:38 +0000)]
2004-08-01 Andrew Cagney <cagney@gnu.org>
* sh-tdep.c (sh_gdbarch_init): Disable call to sh64_gdbarch_init.
* config/sh/nbsd.mt (TDEPFILES): Remove sh64-tdep.o.
* config/sh/linux.mt (TDEPFILES): Remove sh64-tdep.o.
* config/sh/embed.mt (TDEPFILES): Remove sh64-tdep.o.
Andrew Cagney [Sun, 1 Aug 2004 21:12:56 +0000 (21:12 +0000)]
2004-08-01 Andrew Cagney <cagney@gnu.org>
* infcall.c (call_function_by_hand): Do not use
DEPRECATED_PUSH_RETURN_ADDRESS, DEPRECATED_DUMMY_WRITE_SP,
DEPRECATED_SAVE_DUMMY_FRAME_TOS, DEPRECATED_TARGET_READ_FP,
DEPRECATED_FP_REGNUM, DEPRECATED_STORE_STRUCT_RETURN, and
DEPRECATED_STACK_ALIGN.
Thiemo Seufer [Sun, 1 Aug 2004 20:13:16 +0000 (20:13 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Test only for
the dynamic link symbol actually in use.
Andrew Cagney [Sun, 1 Aug 2004 19:34:50 +0000 (19:34 +0000)]
2004-07-30 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
Committed by Andrew Cagney.
* arm-tdep.c: Remove references to add_setshow_cmd_full for apcs32 .
Stephane Carrez [Sun, 1 Aug 2004 19:32:28 +0000 (19:32 +0000)]
* elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Handle bfd_link_hash_new
Andrew Cagney [Sun, 1 Aug 2004 18:47:58 +0000 (18:47 +0000)]
2004-08-01 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (mips16_frame_cache)
(mips16_frame_this_id, mips16_frame_prev_register)
(mips16_frame_unwind, mips16_frame_sniffer)
(mips16_frame_base_address, mips16_frame_base)
(mips16_frame_base_sniffer, mips32_frame_cache)
(mips32_frame_this_id, mips32_frame_prev_register)
(mips32_frame_unwind, mips32_frame_sniffer)
(mips32_frame_base_address, mips32_frame_base)
(mips32_frame_base_sniffer): Clone the mdebug unwinder into
separate heuristic mips16 and mips32 unwinders.
(mips_stub_frame_cache, mips_stub_frame_this_id)
(mips_stub_frame_prev_register)
(mips_stub_frame_unwind, mips_stub_frame_sniffer)
(mips_stub_frame_base_address, mips_stub_frame_base)
(mips_stub_frame_base_sniffer): Add a simple stub unwinder.
(mips_mdebug_frame_base_sniffer, mips_mdebug_frame_sniffer): Only
match true mdebug frames.
(non_heuristic_proc_desc): Add forward declaration.
Andrew Cagney [Sun, 1 Aug 2004 14:43:56 +0000 (14:43 +0000)]
2004-08-01 Andrew Cagney <cagney@gnu.org>
* config/mips/tm-irix6.h: Delete file.
* config/mips/tm-irix5.h: Delete file.
* config/mips/irix5.mt (TM_FILE): Set to tm-mips.h
* config/mips/irix6.mt (TM_FILE): Set to tm-mips.h
Andrew Cagney [Sun, 1 Aug 2004 14:37:02 +0000 (14:37 +0000)]
2004-08-01 Andrew Cagney <cagney@gnu.org>
* config/ia64/tm-linux.h (IA64_GNULINUX_TARGET): Delete.
* config/alpha/nm-osf2.h (PROCFS_SIGPEND_OFFSET): Delete.
* config/nm-gnu.h (NO_CORE_OPS): Delete.
* config/pa/nm-hppah.h (MAY_SWITCH_FROM_INFERIOR_PID): Delete.
* config/i386/nm-i386v4.h (LOSING_POLL): Delete.
* config/alpha/nm-osf2.h (LOSING_POLL): Delete.
* config/tm-nto.h (RAW_SIGNAL_LO, RAW_SIGNAL_HI): Delete.
* config/m68k/tm-vx68.h (VX_SIZE_FPREGS): Delete.
* config/nm-linux.h (USE_THREAD_STEP_NEEDED): Delete.
* config/pa/nm-hppah.h (USE_THREAD_STEP_NEEDED): Delete.
* config/tm-nto.h (TARGET_SIGNAL_RAW_TABLE) Delete.
(TARGET_SIGNAL_RAW_VALUES): Delete.
* config/pa/nm-hppah.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT):
Delete.
* config/frv/tm-frv.h (TARGET_HW_BREAK_LIMIT)
(TARGET_HW_WATCH_LIMIT): Delete.
* Makefile.in (minimon_h, HFILES_NO_SRCDIR): Remove minimon.h.
* minimon.h: Delete file.
Andrew Cagney [Sun, 1 Aug 2004 14:34:39 +0000 (14:34 +0000)]
2004-08-01 Andrew Cagney <cagney@gnu.org>
* trad-frame.c (trad_frame_get_this_base)
(trad_frame_set_this_base, trad_frame_set_reg_realreg): New
functions.
* trad-frame.h (trad_frame_set_this_base)
(trad_frame_get_this_base, trad_frame_set_reg_realreg): Declare.
Mark Kettenis [Sun, 1 Aug 2004 14:28:51 +0000 (14:28 +0000)]
* gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
* gdb.arch/i386-prologue.c (standard): New prototype and function.
(main): Call new function.
Michael Chastain [Sun, 1 Aug 2004 01:03:47 +0000 (01:03 +0000)]
2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/namespace.exp: Accept more varieties of ptype output.
Alan Modra [Sun, 1 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 1 Aug 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Sat, 31 Jul 2004 21:53:17 +0000 (21:53 +0000)]
2004-07-31 Andrew Cagney <cagney@gnu.org>
* trad-frame.c (trad_frame_get_prev_register): Rename
trad_frame_get_prev_register.
* vax-tdep.c (vax_frame_prev_register): Update.
* trad-frame.h: Update.
* trad-frame.c (trad_frame_get_register): Update.
* sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Update.
* sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register):
Update.
* sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Update.
* sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register):
Update.
* sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register):
Update.
* sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_prev_register):
Update.
* sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register):
Update.
* sparc-linux-tdep.c (sparc32_linux_sigtramp_frame_prev_register):
Update.
* s390-tdep.c (s390_frame_prev_register)
(s390_stub_frame_prev_register)
(s390_sigtramp_frame_prev_register): Update.
* rs6000-tdep.c (rs6000_frame_prev_register): Update.
* ppc-linux-tdep.c (ppc_linux_sigtramp_prev_register): Update.
* mips-tdep.c (mips_mdebug_frame_prev_register): Update.
* m88k-tdep.c (m88k_frame_prev_register)
* m68hc11-tdep.c (m68hc11_frame_prev_register)
* m32r-tdep.c (m32r_frame_prev_register): Update.
* hppa-tdep.c (hppa_frame_prev_register_helper)
* frv-tdep.c (frv_frame_prev_register): Update.
* d10v-tdep.c (d10v_frame_prev_register): Update.
* cris-tdep.c (cris_frame_prev_register): Update.
* avr-tdep.c (avr_frame_prev_register): Update.
* arm-tdep.c (arm_prologue_prev_register)
(arm_sigtramp_prev_register): Update.
Andrew Cagney [Sat, 31 Jul 2004 21:48:30 +0000 (21:48 +0000)]
oops, fix tipo.
Andrew Cagney [Sat, 31 Jul 2004 21:41:50 +0000 (21:41 +0000)]
2004-07-31 Andrew Cagney <cagney@gnu.org>
* frame.h (legacy_saved_regs_unwind)
(legacy_frame_chain_valid, legacy_frame_p)
(enum frame_type): Delete UNKNOWN_FRAME.
* dummy-frame.c (dummy_frame_this_id):
* frame-unwind.c (frame_unwind_find_by_frame):
* frame.c (struct frame_info): Delete the field "type".
(legacy_saved_regs_prev_register, legacy_get_prev_frame)
(legacy_saved_regs_this_id, legacy_saved_regs_unwinder)
(legacy_saved_regs_unwind, legacy_frame_p)
(frame_type_from_pc): Delete.
(get_frame_id, frame_pop, frame_register_unwind, get_prev_frame_1)
(fprint_frame, create_new_frame, fprint_frame_type): Simplify.
Mark Kettenis [Sat, 31 Jul 2004 20:42:29 +0000 (20:42 +0000)]
* sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Fix
indentation.
Mark Kettenis [Sat, 31 Jul 2004 19:36:32 +0000 (19:36 +0000)]
* mips-nat.c: Remove file.
* Makefile.in (ALLDEPFILES): Remove mips-nat.c
(mips-nat.o): Remove dependency.
Michael Chastain [Sat, 31 Jul 2004 10:48:01 +0000 (10:48 +0000)]
2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
Michael Chastain [Sat, 31 Jul 2004 10:40:27 +0000 (10:40 +0000)]
My last ChangeLog entry was in correct.
-* gdb.cp/classes.exp: Accept more varieties of ptype output.
+* gdb.cp/inherit.exp: Accept more varieties of ptype output.
Sorry about that.
[Slow down, cowboy!]
Michael Chastain [Sat, 31 Jul 2004 09:50:12 +0000 (09:50 +0000)]
2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Accept more varieties of ptype output.
Accept more values of vtbl pointer. Remove some messages
about "obsolete gcc or gdb".
Michael Chastain [Sat, 31 Jul 2004 07:45:35 +0000 (07:45 +0000)]
2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Accept more varieties of ptype output.
Mark Kettenis [Sat, 31 Jul 2004 05:05:05 +0000 (05:05 +0000)]
* infptrace.c: Update copyright year.
(fetch_register): Pass NULL in regcache_raw_supply call instead of
explicitly setting the buffer to all zeroes.
Alan Modra [Sat, 31 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 31 Jul 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Thiemo Seufer [Fri, 30 Jul 2004 23:56:04 +0000 (23:56 +0000)]
* elfxx-mips.c (_bfd_mips_elf_symbol_processing): Handle
SHN_MIPS_TEXT and SHN_MIPS_DATA.
Mark Kettenis [Fri, 30 Jul 2004 22:45:52 +0000 (22:45 +0000)]
* sparc64obsd-tdep.c (sparc64obsd_sigreturn_offset): New variable.
(sparc64obsd_pc_in_sigtramp): Reorganize to avoid goto.
Michael Chastain [Fri, 30 Jul 2004 22:09:01 +0000 (22:09 +0000)]
2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/asm-source.exp: Properly convert target board
debug flags from gcc format to binutils format.
Andrew Cagney [Fri, 30 Jul 2004 19:38:17 +0000 (19:38 +0000)]
Mention 6.2 release.
Eli Zaretskii [Fri, 30 Jul 2004 19:23:54 +0000 (19:23 +0000)]
* defs.h (OPF_TRY_CWD_FIRST, OPF_SEARCH_IN_PATH): New macros.
* exec.c (exec_file_attach):
* nto-tdep.c (nto_find_and_open_solib):
* pa64solib.c (pa64_solib_sizeof_symbol_table):
* solib.c (solib_open):
* somsolib.c (som_solib_sizeof_symbol_table):
* source.c (is_regular_file, openp, open_source_file):
* symfile.c (symfile_bfd_open):
* wince.c (upload_to_device): Differentiate between the search for
binary and source files.
* gdb.texinfo (Source Path): Document the new behavior of
searching for the source files.