Andrew Cagney [Fri, 3 Sep 2004 23:47:23 +0000 (23:47 +0000)]
2004-09-03 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (temp_saved_regs): Delete.
(set_reg_offset): Replace saved_regs parameter with this_cache.
(heuristic_proc_desc, mips16_heuristic_proc_desc)
(mips32_heuristic_proc_desc): Add this_cache parameter.
(mips_insn32_frame_cache, mips_insn16_frame_cache)
(after_prologue): Pass a NULL this_cache.
Andrew Cagney [Fri, 3 Sep 2004 23:00:18 +0000 (23:00 +0000)]
2004-09-03 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (mips_mdebug_frame_cache): Delete code handling
non-kernel trap prologues.
Andrew Cagney [Fri, 3 Sep 2004 22:41:27 +0000 (22:41 +0000)]
2004-09-03 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (find_proc_desc): Delete function.
(mips_mdebug_frame_cache): Inline call to find_proc_desc,
simplify.
(mips_insn16_frame_cache): Replace find_proc_desc with code from
mips_insn32_frame_cache.
Andrew Cagney [Fri, 3 Sep 2004 22:31:23 +0000 (22:31 +0000)]
* mips-tdep.c (find_proc_desc): Inline call to find_proc_desc.
Simplify as NEXT_FRAME is NULL.
(find_proc_desc): Simplify as NEXT_FRAME is non-NULL.
Andrew Cagney [Fri, 3 Sep 2004 22:18:17 +0000 (22:18 +0000)]
2004-09-03 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (after_prologue): Replace proc_desc parameter with
local variable.
(mips_skip_prologue): Update.
Andrew Cagney [Fri, 3 Sep 2004 22:00:44 +0000 (22:00 +0000)]
2004-09-03 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (find_proc_desc, heuristic_proc_desc): Delete
"cur_frame" parameter.
(after_prologue, mips_mdebug_frame_cache, mips_insn16_frame_cache):
Richard Henderson [Fri, 3 Sep 2004 19:09:39 +0000 (19:09 +0000)]
* configure.in: Remove target-libstdc++-v3 from noconfigdirs for
*-*-netware, but add target-libmudflap.
Consolidate *-*-netware targets (of which really only i?86 exists)
into a single entry.
* configure: Likewise.
Andrew Cagney [Fri, 3 Sep 2004 19:08:23 +0000 (19:08 +0000)]
2004-09-03 Andrew Cagney <cagney@gnu.org>
* config/vax/nm-obsd.h: Delete file.
* config/vax/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
* config/vax/nm-nbsd.h: Delete file.
* config/vax/nm-nbsdaout.h: Include config/nm-nbsd.h.
* config/vax/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
* config/sh/nm-nbsd.h: Delete file.
* config/sh/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h.
* config/rs6000/nm-rs6000ly.h: Delete file.
* config/djgpp/fnchange.lst: Do not rename nm-rs6000ly.h.
* config/rs6000/rs6000lynx.mh (NAT_FILE): Set to config/nm-lynx.h.
* config/powerpc/nm-obsd.h: Delete file.
* config/powerpc/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
* config/powerpc/nm-nbsd.h: Delete file.
* config/powerpc/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h.
* config/pa/nm-obsd.h: Delete file.
* config/pa/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
* config/mips/nm-nbsd.h: Delete file.
* config/mips/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h.
* config/m88k/nm-obsd.h: Delete file.
* config/m88k/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
* config/m68k/nm-nbsd.h: Delete file.
* config/m68k/nm-nbsdaout.h: Include config/nm-nbsd.h.
* config/m68k/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
* config/i386/nm-nbsd.h: Delete file.
* config/i386/nm-nbsdaout.h: Include config/nm-nbsd.h.
* config/i386/obsd64.mh (NAT_FILE): Set to config/nm-nbsd.h.
* config/i386/nbsd64.mh (NAT_FILE): Set to config/nm-nbsd.h.
* config/i386/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
* config/i386/nm-i386lynx.h: Delete file.
* config/i386/i386lynx.mh (NAT_FILE): Set to config/nm-lynx.h.
* config/arm/nm-nbsd.h: Delete file.
* config/arm/nm-nbsdaout.h: Include config/nm-nbsd.h.
* config/arm/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
Andrew Cagney [Fri, 3 Sep 2004 18:01:51 +0000 (18:01 +0000)]
2004-09-03 Andrew Cagney <cagney@gnu.org>
* config/i386/tm-fbsd.h: Delete file.
* config/i386/fbsd64.mt (TM_FILE): Set to solib.h.
* config/i386/fbsd.mt (TM_FILE): Set to solib.h.
Andrew Cagney [Fri, 3 Sep 2004 17:29:58 +0000 (17:29 +0000)]
2004-09-03 Andrew Cagney <cagney@gnu.org>
* config/rs6000/tm-rs6000-aix4.h: Delete file.
* config/djgpp/fnchange.lst: Do not rename tm-rs6000-aix4.h.
* config/rs6000/aix4.mt (TM_FILE): Set to
config/rs6000/tm-rs6000.h.
* config/powerpc/tm-ppc-aix.h: Delete file.
* config/powerpc/aix.mt (TM_FILE): Set to
config/rs6000/tm-rs6000.h.
* config/m68k/tm-linux.h: Delete file.
* config/m68k/linux.mt (TM_FILE): Set to solib.h
* config/i386/tm-linux64.h: Delete file.
* config/i386/linux64.mt (TM_FILE): Set to solib.h.
* config/djgpp/fnchange.lst: Do not rename tm-linux.h.
Mark Mitchell [Fri, 3 Sep 2004 17:15:44 +0000 (17:15 +0000)]
* config.bfd (arm*-*-symbianelf*): Use OS-specific target vectors.
* configure.in (bfd_elf32_bigarm_symbian_vec): Add it.
(bfd_elf32_littlearm_symbian_vec): Likewise.
* configure: Regenerated.
* elf-bfd.h (elf_backend_data): Add dynamic_sec_flags.
* elf32-arm.h (PLT_HEADER_SIZE): Do not define.
(PLT_ENTRY_SIZE): Likewise.
(bfd_vma_elf32_arm_symbian_plt_entry): New
variable.
(elf32_arm_link_hash_table): Add plt_header_size, plt_entry_size,
and symbian_p.
(create_got_section): Don't create sections when generating BPABI
objects.
(elf32_arm_create_dynamic_sections): Tidy.
(elf32_arm_link_hash_table_create): Set plt_header_size,
plt_entry_size, and symbian_p.
(elf32_arm_check_relocs): Do not mark .rel.dyn as loadable when
generating BPABI objects.
(allocate_dynrelocs): Use htab->plt_header_size, not
PLT_HEADER_SIZE. Do not add to .got.plt when
generating BPABI objects.
(elf32_arm_finish_dynamic_symbol): Generate Symbian OS PLTs.
* elfarm-nabi.c: Add SymbianOS target vectors.
* elflink.c (_bfd_elf_create_got_section): Use dynamic_sec_flags.
(_bfd_elf_link_create_dynamic_sections): Likewise.
* elfxx-target.h (ELF_DYNAMIC_SEC_FLAGS): New macro.
(elfNN_bed): Use it.
* targets.c (bfd_elf32_bigarm_symbian_vec): New variable.
(bfd_elf32_littlearm_symbian_vec): Likewise.
(_bfd_target_vector): Add them.
* Makefile.am (TARG_ENV_HFILES): Add te-symbian.h.
* Makefile.in: Regenerated.
* configure.in: Set em for arm*-*-symbianelf*.
* configure: Regenerated.
* config/tc-arm.c (elf32_arm_target_format): Use Symbian target
vectors when appropriate.
* config/te-symbian.h: New file.
* Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
(earmsymbian.c): New target.
* configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* emulparams/armsymbian.sh: New file.
Andrew Cagney [Fri, 3 Sep 2004 17:13:48 +0000 (17:13 +0000)]
Index: ChangeLog
2004-09-03 Andrew Cagney <cagney@gnu.org>
* config/m68k/tm-linux.h (SVR4_SHARED_LIBS): Delete.
* config/i386/tm-linux64.h (SVR4_SHARED_LIBS): Delete.
* config/i386/nm-i386sco5.h (SVR4_SHARED_LIBS): Delete.
* config/tm-linux.h (SVR4_SHARED_LIBS): Delete.
* config/nm-sysv4.h (SVR4_SHARED_LIBS): Delete.
* config/nm-linux.h (SVR4_SHARED_LIBS): Delete.
* config/nm-gnu.h (SVR4_SHARED_LIBS): Delete.
* sh64-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper.
* sh-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper.
Index: doc/ChangeLog
2004-09-03 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Native Debugging): Delete SVR4_SHARED_LIBS.
Andrew Cagney [Fri, 3 Sep 2004 16:59:30 +0000 (16:59 +0000)]
2004-09-03 Andrew Cagney <cagney@gnu.org>
* configure.in (GDB_TM_FILE): Fix typo, use gdb_target_cpu and not
gdb_host_cpu.
Nick Clifton [Fri, 3 Sep 2004 14:31:41 +0000 (14:31 +0000)]
Add LD and GAS testsuites for CRX port.
Fix several crx bugs.
Nick Clifton [Fri, 3 Sep 2004 14:11:38 +0000 (14:11 +0000)]
PR 360
(handle_COMDAT): Replace abort with an warning message and allow the scan to
continue.
Paolo Bonzini [Fri, 3 Sep 2004 06:53:15 +0000 (06:53 +0000)]
2004-09-03 Paolo Bonzini <bonzini@gnu.org>
* configure: Regenerate.
Alan Modra [Fri, 3 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 3 Sep 2004 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Joel Brobecker [Thu, 2 Sep 2004 22:57:49 +0000 (22:57 +0000)]
* mips-tdep.c (mips_insn32_frame_cache): Remove some dead code.
Minor reformatting. Some code factoring.
Andrew Cagney [Thu, 2 Sep 2004 22:37:41 +0000 (22:37 +0000)]
2004-09-02 Andrew Cagney <cagney@gnu.org>
* config/vax/nbsd.mt (TM_FILE): Set to solib.h.
* config/vax/tm-nbsd.h: Delete file.
* config/sparc/vxworks.mt (TM_FILE): Set to config/tm-vxworks.h.
* config/sparc/tm-vxworks.h: Delete file.
* config/sparc/nbsd.mt (TM_FILE): Set to solib.h.
* config/sparc/tm-nbsd.h: Delete file.
* config/sparc/linux64.mt (TM_FILE): Set to solib.h.
* config/sparc/linux.mt (TM_FILE): Set to solib.h.
* config/sparc/tm-linux.h: Delete file.
* config/s390/s390.mt (TM_FILE): Set to config/tm-linux.h
* config/s390/tm-linux.h: Delete file.
* config/pa/obsd.mt (TM_FILE): Set to solib.h.
* config/pa/tm-bsd.h: Delete file.
* config/m68k/obsd.mt (TM_FILE): Set to solib.h.
* config/m68k/tm-obsd.h: Delete file.
* config/m68k/nbsd.mt (TM_FILE): Set to solib.h.
* config/m68k/tm-nbsd.h: Delete file.
* config/i386/vxworks.mt (TM_FILE): Set to config/tm-vxworks.h.
* config/i386/tm-vxworks.h: Delete file.
* config/i386/obsd64.mt (TM_FILE): Set to solib.h.
* config/i386/obsd.mt (TM_FILE): Set to solib.h.
* config/i386/nbsd64.mt (TM_FILE): Set to solib.h.
* config/i386/nbsd.mt (TM_FILE): Set to solib.h.
* config/i386/tm-nbsd.h: Delete file.
* config/i386/i386lynx.mt (TM_FILE): Set to config/tm-lynx.h.
* config/i386/tm-i386lynx.h: Delete file.
* config/cris/cris.mt (TM_FILE): Set to solib.h.
* config/cris/tm-cris.h: Delete file.
Andrew Cagney [Thu, 2 Sep 2004 22:14:33 +0000 (22:14 +0000)]
2004-09-02 Andrew Cagney <cagney@gnu.org>
* configure.in: Let TM_FILE, XM_FILE and NAT_FILE specify a path.
* configure: Re-generate.
* config/arm/nbsd.mt (TM_FILE): Set to "solib.h".
* config/arm/tm-nbsd.h: Delete file.
Andrew Cagney [Thu, 2 Sep 2004 20:57:22 +0000 (20:57 +0000)]
2004-09-02 Andrew Cagney <cagney@gnu.org>
* config/powerpc/tm-ppcle-sim.h: Delete.
* config/powerpc/tm-ppcle-eabi.h: Delete.
* config/powerpc/tm-nbsd.h: Delete.
* config/powerpc/nbsd.mt (TM_FILE): Set to tm-ppc-eabi.h.
* config/djgpp/fnchange.lst: Do not rename tm-ppcle-sim.h or
tm-ppcle-eabi.h.
Andrew Cagney [Thu, 2 Sep 2004 19:52:40 +0000 (19:52 +0000)]
2004-09-02 Andrew Cagney <cagney@gnu.org>
* config/i386/nto.mh (NAT_FILE): Delete.
* config/i386/nm-nto.h: Delete.
Andrew Cagney [Thu, 2 Sep 2004 19:16:36 +0000 (19:16 +0000)]
2004-09-02 Andrew Cagney <cagney@gnu.org>
* config/m68k/tm-vx68.h: Do not include "tm-m68k.h".
* config/m68k/tm-os68k.h: Ditto.
* config/m68k/tm-monitor.h: Ditto.
* config/m68k/tm-cisco.h: Ditto.
* config/m68k/st2000.mt (TM_FILE): Delete.
* config/m68k/tm-vx68.h (GET_LONGJMP_TARGET): Delete.
* config/m68k/tm-cisco.h (GET_LONGJMP_TARGET): Delete.
* config/m68k/tm-m68k.h (m68k_get_longjmp_target): Delete file.
* m68k-tdep.c (m68k_get_longjmp_target): Make static.
Andrew Cagney [Thu, 2 Sep 2004 19:08:35 +0000 (19:08 +0000)]
2004-09-02 Andrew Cagney <cagney@gnu.org>
* config/m68k/tm-st2000.h: Delete.
* config/m68k/st2000.mt (TM_FILE): Set to tm-m68k.h.
* config/sparc/fbsd.mt (TM_FILE): Delete.
* config/sparc/tm-fbsd.h: Delete.
Andrew Cagney [Thu, 2 Sep 2004 17:36:10 +0000 (17:36 +0000)]
2004-09-02 Andrew Cagney <cagney@gnu.org>
* acconfig.h (GDB_MULTI_ARCH): Delete undef.
* defs.h (GDB_MULTI_ARCH_PARTIAL, GDB_MULTI_ARCH_TM)
(GDB_MULTI_ARCH_PURE, GDB_MULTI_ARCH): Delete macros.
Nick Clifton [Thu, 2 Sep 2004 17:27:43 +0000 (17:27 +0000)]
update Carlo Wood's name
Andrew Cagney [Thu, 2 Sep 2004 17:22:08 +0000 (17:22 +0000)]
2004-09-02 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh: Instead of GDB_MULTI_ARCH print GDB_NM_FILE,
GDB_TM_FILE and GDB_XM_FILE.
* gdbarch.c: Re-generate.
* configure.in (GDB_XM_FILE, GDB_NM_FILE, GDB_TM_FILE): Include
quotes in macro definition.
* configure.in: Re-generate.
Andrew Cagney [Thu, 2 Sep 2004 16:01:33 +0000 (16:01 +0000)]
2004-09-02 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh: Delete check for GDB_MULTI_ARCH_PARTIAL when
validating architecture methods.
* gdbarch.c: Re-generate.
Nick Clifton [Thu, 2 Sep 2004 15:55:36 +0000 (15:55 +0000)]
(make_one_lib_file): For IDATA6 take the name from exp->internal_name if it
is present.
Andrew Cagney [Thu, 2 Sep 2004 14:30:44 +0000 (14:30 +0000)]
2004-09-02 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh: Delete check for consistency between GDB_MULTI_ARCH
and GDB_TM_FILE. Check for GDB_TM_FILE instead of
GDB_MULTI_ARCH_PARTIAL.
* gdbarch.h: Re-generate.
Andrew Cagney [Thu, 2 Sep 2004 14:17:44 +0000 (14:17 +0000)]
2004-09-02 Andrew Cagney <cagney@gnu.org>
* config/sparc/tm-vxworks.h (GDB_MULTI_ARCH): Delete.
* config/sparc/tm-sol2.h (GDB_MULTI_ARCH): Delete.
* config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete.
* config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete.
* config/sparc/tm-fbsd.h (GDB_MULTI_ARCH): Delete.
* config/sh/tm-sh.h (GDB_MULTI_ARCH): Delete.
* config/rs6000/tm-rs6000.h (GDB_MULTI_ARCH): Delete.
* config/pa/tm-hppa.h (GDB_MULTI_ARCH): Delete.
* config/mips/tm-mips.h (GDB_MULTI_ARCH): Delete.
* config/ia64/tm-ia64.h (GDB_MULTI_ARCH): Delete.
* config/cris/tm-cris.h (GDB_MULTI_ARCH): Delete.
* config/arm/tm-arm.h (GDB_MULTI_ARCH): Delete.
Manoj Iyer [Thu, 2 Sep 2004 14:14:49 +0000 (14:14 +0000)]
change use to Use.
Michael Chastain [Thu, 2 Sep 2004 09:47:38 +0000 (09:47 +0000)]
2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/sigstep.exp (advance): Use "-continue_timer" option
of "exp_continue".
(advancei): Likewise.
Alexandre Oliva [Thu, 2 Sep 2004 08:25:06 +0000 (08:25 +0000)]
* MAINTAINERS: Add self as co-maintainer of FR-V.
* readelf.c (get_machine_flags): Print FR-V cpu types.
Paolo Bonzini [Thu, 2 Sep 2004 07:04:53 +0000 (07:04 +0000)]
2004-09-02 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Do not enable multilibs for build-side libiberty.
Alan Modra [Thu, 2 Sep 2004 04:43:36 +0000 (04:43 +0000)]
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Use static_syms passed
in when reading relocs, not our sorted syms. Remove unnecessary
var.
Andrew Cagney [Thu, 2 Sep 2004 03:05:46 +0000 (03:05 +0000)]
2004-09-01 Andrew Cagney <cagney@gnu.org>
* objfiles.h (struct entry_info): Delete fields main_func_lowpc
and main_func_highpc.
(INVALID_ENTRY_LOWPC, INVALID_ENTRY_HIGHPC): Delete macros.
* objfiles.c (init_entry_point_info, objfile_relocate): Update
* nlmread.c (nlm_symfile_read): Update.
Alan Modra [Thu, 2 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 2 Sep 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Jeff Johnston [Wed, 1 Sep 2004 23:26:43 +0000 (23:26 +0000)]
2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/unload.exp: Fix so messages aren't duplicated.
Joel Brobecker [Wed, 1 Sep 2004 20:46:41 +0000 (20:46 +0000)]
* configure.host: Use aix.mh for all powerpc-aix hosts.
* config/powerpc/aix432.mh: Delete, no longer necessary.
Joel Brobecker [Wed, 1 Sep 2004 20:42:45 +0000 (20:42 +0000)]
* mips-tdep.c (linked_proc_desc_table): Delete, not used.
(mips_insn32_frame_cache): Inline call to find_proc_desc.
(find_proc_desc): Remove dead code.
Manoj Iyer [Wed, 1 Sep 2004 19:55:00 +0000 (19:55 +0000)]
Use new gdb.exp feature to check for nodebug in the executable for testcases under gdb.gdb
Joel Brobecker [Wed, 1 Sep 2004 18:55:17 +0000 (18:55 +0000)]
* mips-tdep.c (mips_mdebug_frame_cache): Minor reformatting.
Andrew Cagney [Wed, 1 Sep 2004 18:02:45 +0000 (18:02 +0000)]
2004-09-01 Andrew Cagney <cagney@gnu.org>
* gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
files.
Jeff Johnston [Wed, 1 Sep 2004 18:00:29 +0000 (18:00 +0000)]
2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
* observer.sh: Add struct so_list declaration.
* Makefile.in: Add dependencies on observer.h for solib.c and
breakpoint.c.
* breakpoint.c (disable_breakpoints_in_unloaded_shlib): New
function.
(_initialize_breakpoint): Register
disable_breakpoints_in_unloaded_shlib as an observer of the
"solib unloaded" observation event.
(re_enable_breakpoints_in_shlibs): For bp_shlib_disabled breakpoints,
call decode_line_1 so unfound breakpoint errors are silent.
* solib.c (update_solib_list): When a solib is discovered to have
been unloaded by the program, notify all observers of the
"solib unloaded" observation event.
Jeff Johnston [Wed, 1 Sep 2004 17:59:37 +0000 (17:59 +0000)]
2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
* observer.texi (solib_unloaded): New observer.
Jeff Johnston [Wed, 1 Sep 2004 17:56:39 +0000 (17:56 +0000)]
Remove conflict marker.
Jeff Johnston [Wed, 1 Sep 2004 17:56:20 +0000 (17:56 +0000)]
2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/unload.exp: Fix expected warning message to match
latest format.
Corinna Vinschen [Wed, 1 Sep 2004 16:36:30 +0000 (16:36 +0000)]
* gdb.base/call-rt-st.exp: Fix typos.
Richard Earnshaw [Wed, 1 Sep 2004 16:34:29 +0000 (16:34 +0000)]
* doc/c-arm.texi (ARM Options): Document canonical names of CPUs.
Richard Earnshaw [Wed, 1 Sep 2004 16:19:36 +0000 (16:19 +0000)]
Argh! missing comma...
Richard Earnshaw [Wed, 1 Sep 2004 16:16:44 +0000 (16:16 +0000)]
* tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s
for synthesizable cores.
Andrew Cagney [Wed, 1 Sep 2004 14:13:33 +0000 (14:13 +0000)]
2004-08-31 Andrew Cagney <cagney@gnu.org>
* frame.c: Include "objfiles.h".
(inside_main_func): New function.
(get_prev_frame): Use new inside_main_func.
* Makefile.in (frame.o): Update dependencies.
* defs.h (inside_main_func): Delete declaration.
* blockframe.c (inside_main_func): Delete function.
Paolo Bonzini [Wed, 1 Sep 2004 07:48:07 +0000 (07:48 +0000)]
2004-09-01 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (sorry): Remove.
(clean-stage[+id+], clean-stage[+id+]-module): New targets.
(cleanstrap targets): Depend on distclean, not distclean-stage1.
(do-clean): Clean per-stage directories too.
(do-distclean): Run distclean-stage1 too.
(.NOTPARALLEL): Enable during toplevel bootstrap.
(stage[+id+]-bubble): Enable parallel execution during
the recursive invocation.
* Makefile.in: Regenerate.
Sync from gcc (moving the Makefile.in change to Makefile.tpl):
2004-08-31 Robert Bowdidge <bowdidge@apple.com>
* Makefile.in: Move BOOT_CFLAGS above host makefile fragment include.
* configure.in: add test for powerpc-*-darwin* to specify makefile frag
* configure: regenerate
* config/mh-ppc-darwin: create file, override BOOT_CFLAGS for
-mdynamic-no-pic
Jim Blandy [Wed, 1 Sep 2004 04:19:22 +0000 (04:19 +0000)]
* dwarf2read.c (is_vtable_name): New function, based on logic from
read_structure_type, but passing the correct length to strncmp,
and using 'sizeof' instead of 'strlen'.
(read_structure_type): Call it.
Joel Brobecker [Wed, 1 Sep 2004 00:02:15 +0000 (00:02 +0000)]
* config/powerpc/aix.mh: Add comment.
Alan Modra [Wed, 1 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 1 Sep 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Paul Gilliam [Tue, 31 Aug 2004 20:36:04 +0000 (20:36 +0000)]
* MAINTAINERS: Add self to Write-After-Approval.
Manoj Iyer [Tue, 31 Aug 2004 20:01:13 +0000 (20:01 +0000)]
Added new testcases:
* gdb.threads/thread_check.exp: New testcase.
* gdb.threads/thread_check.c: New testcase.
Andrew Cagney [Tue, 31 Aug 2004 14:43:18 +0000 (14:43 +0000)]
2004-08-31 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigstep.exp (breakpoint_to_handler_entry)
(skip_to_handler_entry): New procedures. Test stepping into a
handler when the breakpoint is at the handler's entry point.
Paolo Bonzini [Tue, 31 Aug 2004 10:16:19 +0000 (10:16 +0000)]
2004-08-31 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (build_modules): Add fixincludes.
(dependencies): Make gcc depend on fixincludes.
* configure.in (build_tools): Add fixincludes.
(build_configdirs): Always include build_libs.
* Makefile.in: Regenerate.
* configure: Regenerate.
Eric Botcazou [Tue, 31 Aug 2004 09:41:11 +0000 (09:41 +0000)]
* elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss.
Alan Modra [Tue, 31 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 31 Aug 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Manoj Iyer [Mon, 30 Aug 2004 20:05:41 +0000 (20:05 +0000)]
Added self to write-after-approval.
Nathanael Nerode [Mon, 30 Aug 2004 18:59:50 +0000 (18:59 +0000)]
2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in: Autoupdate to autoconf 2.59.
* aclocal.m4: Rebuild with aclocal 1.4p6.
* configure: Rebuild with autoconf 2.59.
* Makefile.in: Rebuild with automake 1.4p6 (picking up
bfd changes for autoconf 2.59 on the way).
* config.in: Rebuild with autoheader 2.59.
Nathanael Nerode [Mon, 30 Aug 2004 18:58:14 +0000 (18:58 +0000)]
2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org>
* acinclude.m4: Require AC_CANONICAL_TARGET, not AC_CANONICAL_SYSTEM.
Include ../config/acx.m4 and use ACX_NONCANONICAL_* where appropriate;
replace uses of *_alias with *_noncanonical.
* aclocal.m4: Rebuild with aclocal 1.4p6.
* Makefile.in: Rebuild with automake 1.4p6.
* doc/Makefile.in: Rebuild with automake 1.4p6.
* configure.in: Autoupdate with autoupdate 2.59.
* config.in: Regenerate with autoheader 2.59.
* configure: Regnerate with autoconf 2.59.
Andrew Cagney [Mon, 30 Aug 2004 16:59:45 +0000 (16:59 +0000)]
2004-08-30 Andrew Cagney <cagney@gnu.org>
Fix PR breakpoints/1757.
* infrun.c (struct execution_control_state): Replace
remove_breakpoints_on_following_step with
step_after_step_resume_breakpoint.
(init_execution_control_state): Update.
(handle_inferior_event): For signals, when stepping off a
breakpoint, set step_after_step_resume_breakpoint. When
BPSTAT_WHAT_STEP_RESUME, do a single-step off the breakpoint.
(keep_going): Delete code handling
remove_breakpoints_on_following_step.
Index: testsuite/ChangeLog
2004-08-30 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
gdb/1757.
Paolo Bonzini [Mon, 30 Aug 2004 08:05:42 +0000 (08:05 +0000)]
2004-08-26 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (bootstrap stages): Add 'lean' parameter.
* Makefile.tpl (configure-stageN-*, all-stageN-*): Turned into
phony targets; do not generate timestamp files.
(distclean-stageN): Remove references to their timestamp files.
(restageN, touch-stageN): Remove.
(stageN-bubble): Rewritten.
(compare): Support lean bootstraps.
* Makefile.in: Regenerate.
* configure.in: Only warn when bootstrapping but
build != host or build != target. Support lean bootstraps.
* configure: Regenerate.
Sync from gcc:
2004-08-26 Phil Edwards <phil@codesourcery.com>
* configure.in: Give a better error message if GMP/MPFR are missing
and a language needing them has been requested.
* configure: Regenerated.
2004-08-25 Phil Edwards <phil@codesourcery.com>
* configure.in: Print a list of available language front-ends if
a requested one is missing. Tidy stray tab characters.
* configure: Regenerated.
gdbadmin [Mon, 30 Aug 2004 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 30 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update
David Lecomber [Sun, 29 Aug 2004 10:12:24 +0000 (10:12 +0000)]
2004-08-29 David Lecomber <david@streamline-computing.com>
Fix PR gdb/648
* language.h (enum array_ordering): New enum.
* language.h (struct language_defn): New la_array_ordering
attribute.
* language.c (unknown_language_defn, auto_language_defn)
(local_language_defn): Ditto.
* ada-lang.c (ada_language_defn): Ditto.
* c-lang.c (c_language_defn, cplus_language_defn)
(asm_language_defn, minimal_language_defn): Ditto.
* f-lang.c (f_language_defn): Ditto.
* jv-lang.c (java_language_defn): Ditto.
* m2-lang.c (f_language_defn): Ditto.
* objc-lang.c (objc_language_defn): Ditto.
* p-lang.c (pascal_language_defn): Ditto.
* scm-lang.c (scm_language_defn): Ditto.
* eval.c (evaluate_subexp_standard): Assume Fortran arrays are
oriented large to small in type structure.
* dwarf2read.c (read_array_order): New function.
(read_array_type): Use read_array_order to check row/column
major ordering.
Alan Modra [Sun, 29 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 29 Aug 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Michael Chastain [Sat, 28 Aug 2004 23:55:48 +0000 (23:55 +0000)]
2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
With code from Manoj Iyer <manjo@austin.ibm.com>:
* lib/gdb.exp (gdb_file_cmd): Return more information in the
return value. Add an arm for "no debugging symbols found".
Change a stray "error" to "perror".
(gdb_run_cmd): Adapt to new return value.
* gdb.base/remote.exp: Adapt to new return value.
* gdb.gdb/complaints.exp: Likewise.
* gdb.gdb/observer.exp: Likewise.
* gdb.gdb/selftest.exp: Likewise.
* gdb.gdb/xfullpath.exp: Likewise.
Alan Modra [Sat, 28 Aug 2004 08:55:47 +0000 (08:55 +0000)]
* nm.c (show_synthetic): New var.
(long_options): Add "synthetic".
(usage): Here too.
(display_rel_file): Handle show_synthetic.
Alan Modra [Sat, 28 Aug 2004 08:54:34 +0000 (08:54 +0000)]
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Copy input
symbol pointer arrays before modifying.
Alan Modra [Sat, 28 Aug 2004 03:29:18 +0000 (03:29 +0000)]
corrected version
Alan Modra [Sat, 28 Aug 2004 03:05:18 +0000 (03:05 +0000)]
bfd/
* bfd.c (bfd_get_synthetic_symtab): Pass counts and both symbol tables.
* elf-bfd.h (_bfd_elf_get_synthetic_symtab): Adjust.
* elf.c (_bfd_elf_get_synthetic_symtab): Adjust.
* libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Adjust.
* targets.c (struct bfd_target <_bfd_get_synthetic_symtab>): Adjust.
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't read symbols.
Use both symbol tables on non-relocatable objects. Use a common
error exit. Fix "mid" warning.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
binutils/
* objdump.c (dump_bfd): Pass both symbol tables to
bfd_get_synthetic_symtab.
Alan Modra [Sat, 28 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 28 Aug 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Nathan J. Williams [Fri, 27 Aug 2004 18:03:32 +0000 (18:03 +0000)]
* target.c (target_resize_to_sections): Check
current_target.to_sections for an old value when updating.
Alan Modra [Fri, 27 Aug 2004 14:54:41 +0000 (14:54 +0000)]
* elf64-ppc.c (ppc64_elf_branch_reloc): Check .opd is in a regular
object file.
(struct sfpr_def_parms): Save some space.
(sfpr_define): Here too.
* elf64-ppc.c (compare_symbols): Put section syms first.
(sym_exists_at): New function.
(ppc64_elf_get_synthetic_symtab): Use relocs to find code entry
points only for relocatable files. Use .opd section contents
otherwise. Generally clean up the code.
Joel Brobecker [Fri, 27 Aug 2004 14:28:15 +0000 (14:28 +0000)]
* gdb.threads/bp_in_thread.exp: New testcase.
Joel Brobecker [Fri, 27 Aug 2004 13:37:42 +0000 (13:37 +0000)]
* procfs.c (dbx_link_bpt_addr): New static global variable.
(dbx_link_shadow_contents): New static global variable.
(procfs_wait, case <PR_SYSEXIT>): Handle syssgi events.
(procfs_wait, case <FLTBPT>): Remove the __dbx_link brekapoint
if we just hit it.
(procfs_init_inferior): Enable syssgi() syscall trace if appropriate.
Reset dbx_link_bpt_addr as the address of __dbx_link() may change
from run to run.
(procfs_create_inferior): Remove syssgi syscall-exit notifications
after the inferior has been forked.
(remove_dbx_link_breakpoint): New function.
(dbx_link_addr): New function.
(insert_dbx_link_bpt_in_file): New function.
(insert_dbx_link_bpt_in_region): New function.
(insert_dbx_link_breakpoint): New function.
(proc_trace_syscalls_1): New function, extracted from
proc_trace_syscalls.
(proc_trace_syscalls): Replace extract code by call to
proc_trace_syscalls_1.
* solib-irix.c (disable_break): Remove stop_pc assertion, as it
is no longer valid.
Michael Chastain [Fri, 27 Aug 2004 11:13:28 +0000 (11:13 +0000)]
2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
Fix PR testsuite/1735.
* gdb.threads/schedlock.c (thread_function): Add a cast
to suppress a gcc warning.
* gdb.threads/thread-specific.c (thread_function): Likewise.
Richard Sandiford [Fri, 27 Aug 2004 09:48:35 +0000 (09:48 +0000)]
* cpu.[ch], arch.[ch], decode.[ch]: Regenerated.
* cpuall.h, model.c, sem.c: Regenerated.
Richard Sandiford [Fri, 27 Aug 2004 09:32:02 +0000 (09:32 +0000)]
cpu/
* frv.cpu (cfmovs): Change UNIT attribute to FMALL.
opcodes/
* frv-desc.[ch], frv-opc.[ch]: Regenerated.
gas/testsuite/
* gas/frv/fr550-pack1.[sd]: New test.
* gas/frv/allinsn.exp: Run it.
Nick Clifton [Fri, 27 Aug 2004 08:09:00 +0000 (08:09 +0000)]
Allow pcrel test for COFF targets as well, but not for PE targets.
Similarly for the absrel test.
Alan Modra [Fri, 27 Aug 2004 07:54:00 +0000 (07:54 +0000)]
* elf64-ppc.c (STD_R0_0R1, STD_R0_0R12, LD_R0_0R1, LD_R0_0R12,
LI_R12_0, STVX_VR0_R12_R0, LVX_VR0_R12_R0, MTLR_R0, SFPR_MAX): Define.
(struct sfpr_def_parms): New.
(sfpr_define): New function.
(savegpr0, savegpr0_tail, restgpr0, restgpr0_tail): New functions.
(savegpr1, savegpr1_tail, restgpr1, restgpr1_tail): New functions.
(savefpr, savefpr0_tail, restfpr, restfpr0_tail): New functions.
(savefpr1_tail, restfpr1_tail): New functions.
(savevr, savevr_tail, restvr, restvr_tail): New functions.
(MIN_SAVE_FPR, MAX_SAVE_FPR): Don't define.
(ppc64_elf_func_desc_adjust): Use sfpr_define in place of existing
code. Define all ABI mandated _save and _rest functions.
Nick Clifton [Fri, 27 Aug 2004 07:39:19 +0000 (07:39 +0000)]
Do not assume that either bfd is an archive
Nick Clifton [Fri, 27 Aug 2004 07:10:30 +0000 (07:10 +0000)]
* gas/i386/i386.exp: Group ELF specific tests together. Move the pcrel
test into the ELF only section. Use is_elf_format to test for ELF based
toolchains.
gdbadmin [Fri, 27 Aug 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 27 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update
Michael Chastain [Thu, 26 Aug 2004 19:26:11 +0000 (19:26 +0000)]
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/unload.c: Include <stdlib.h>.
Michael Chastain [Thu, 26 Aug 2004 18:18:01 +0000 (18:18 +0000)]
Bleagh. I messed up the part about properly distinguishing
between "guy who wrote the patch" (Paul Gilliam) and
"guy who committed the patch" (me).
Michael Chastain [Thu, 26 Aug 2004 18:02:59 +0000 (18:02 +0000)]
2004-08-26 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
synchronized after the "return".