Andrey Volkov
304270b6be
ser-e7kpc.c: Fix duplicated define and call of _initialize_ser_e7000pc
2002-06-10 19:19:37 +00:00
gdbadmin
b09b19f786
*** empty log message ***
2002-06-10 00:00:33 +00:00
Daniel Jacobowitz
2f2cf1847f
2002-06-09 Daniel Jacobowitz <drow@mvista.com>
...
* signals/signals.c (target_signal_from_host): Fix #ifdef
SIGRTMIN case.
(do_target_signal_to_host): Likewise.
2002-06-09 19:42:11 +00:00
Daniel Jacobowitz
caaa3122d8
2002-06-09 Daniel Jacobowitz <drow@mvista.com>
...
* mips-tdep.c (mips_find_abi_section): New function.
(mips_gdbarch_init): Call it.
2002-06-09 19:36:15 +00:00
Andrew Cagney
ba8c93377d
* gdbint.texinfo (Coding): Add section ``Per-architecture module
...
data''.
2002-06-09 17:15:40 +00:00
Mark Kettenis
6ac5df3ac3
* solib-svr4.c (init_fetch_link_map_offsets): Simply return
...
legacy_fetch_link_map_offsets. Adjust comment to reflect reality
after Andrew's 2002-06-08 gdbarch change.
2002-06-09 16:39:00 +00:00
Mark Kettenis
82ea117a29
* i386-linux-nat.c (suppy_gregset): Don't supply
...
I386_LINUX_ORIG_EAX_REGNUM if there isn't room for it in GDB's
register cache.
(fill_gregset): Don't fetch it under the same circumstances.
2002-06-09 16:06:48 +00:00
Andrew Cagney
3c25f8c7b0
Move include/callback.h and include/remote-sim.h to include/gdb/.
...
Update accordingly.
2002-06-09 15:45:54 +00:00
Mark Kettenis
1029b7fa6a
* osabi.h (gdb_osabi): Add GDB_OSABI_GO32 and GDB_OSABI_NETWARE.
...
* osabi.c (gdb_osabi_names): Add "DJGPP" and "NetWare".
2002-06-09 15:11:47 +00:00
Andrew Cagney
16737d732a
* gdbint.texinfo (Releasing GDB): Fix typos in @itemize @bullet
...
lists.
2002-06-09 02:11:12 +00:00
gdbadmin
e548bca07e
*** empty log message ***
2002-06-09 00:00:02 +00:00
Andrew Cagney
a3efda28be
* sparcl-tdep.c: Use __CYGWIN__ instead of __CYGWIN32__.
...
* rdi-share/serpardr.c: Ditto.
* rdi-share/unixcomm.c: Ditto.
* rdi-share/serdrv.c: Ditto.
* rdi-share/hostchan.h: Ditto.
* rdi-share/hostchan.c: Ditto.
* rdi-share/host.h: Ditto.
* rdi-share/devsw.c: Ditto.
2002-06-08 20:34:41 +00:00
Andrew Cagney
c5f1036687
* objfiles.h: Change type of obj_private to void pointer.
...
* pa64solib.c: Update copyright. Don't include "assert.h", use
strcmp instead of STREQ, use LONGEST, do not use PTR
* somsolib.c: Ditto.
2002-06-08 20:02:51 +00:00
Andrew Cagney
616675d391
* config/djgpp/fnchange.lst: Fix problems with bfd/elf32-i386.c,
...
bfd/elf32-i386qnx.c, bfd/elf32-sh.c, bfd/elf32-sh64-nbsd.c,
bfd/elf64-sh64-nbsd.c bfd/elf64-sh64.c.
2002-06-08 19:34:00 +00:00
Andrew Cagney
e4b415d96b
* frame.c (GET_SAVED_REGISTER): Delete macro definition.
...
(default_get_saved_register): Delete function.
* gdbarch.sh (GET_SAVED_REGISTER): Set default to
generic_unwind_get_saved_register.
* gdbarch.h, gdbarch.c: Re-generate.
2002-06-08 18:57:38 +00:00
Andrew Cagney
ca0d0b529b
* gdbarch.sh (FRAME_CHAIN_VALID): Set default to
...
generic_func_frame_chain_valid.
* gdbarch.h, gdbarch.c: Re-generate.
* blockframe.c (generic_func_frame_chain_valid): Only check
PC_IN_CALL_DUMMY when generic dummy frames. Don't worry about
passing FP to PC_IN_CALL_DUMMY.
Fix PR gdb/360.
2002-06-08 18:30:14 +00:00
Andrew Cagney
2af496cb21
Oops, missed DanielJ's tipo.
2002-06-08 18:11:06 +00:00
Andrew Cagney
76860b5fb3
* gdbarch.sh (struct gdbarch_data): Add field init_p.
...
(register_gdbarch_data): Initialize init_p.
(gdbarch_data): Initialize data pointer using the init function.
(init_gdbarch_data): Delete function.
(gdbarch_update_p): Update.
(initialize_non_multiarch): Update.
(struct gdbarch): Add field initialized_p.
* gdbarch.h, gdbarch.c: Re-generate.
2002-06-08 18:09:01 +00:00
Andrew Cagney
3010767930
* gdbint.texinfo (Releasing GDB): Revise the section ``Cut the
...
Branch''.
2002-06-08 17:50:59 +00:00
gdbadmin
d1761b83b1
*** empty log message ***
2002-06-08 00:00:33 +00:00
Michal Ludvig
8dda97708f
2002-06-07 Michal Ludvig <mludvig@suse.cz>
...
* x86-64-linux-nat.c (x86_64_fxsave_offset): New.
(supply_fpregset, fill_fpregset): Don't call i387_*_fxsave,
better do the things actually here.
* x86-64-tdep.c (x86_64_register_name2nr): New.
(x86_64_register_name): Renamed to x86_64_register_nr2name.
(x86_64_gdbarch_init): Respect the above change.
* x86-64-tdep.h (x86_64_register_name2nr)
(x86_64_register_nr2name): Add prototypes.
* config/i386/x86-64linux.mt (TDEPFILES): Remove i387-tdep.o.
2002-06-07 16:11:10 +00:00
gdbadmin
42b2198cd1
*** empty log message ***
2002-06-07 00:00:32 +00:00
Michael Snyder
c5984d7012
2002-06-06 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/overlays.exp: Record addresses of overlay
functions in TCL variables rather than in GDB variables,
to avoid having GDB convert them to pointers (with loss
of information).
2002-06-06 20:26:10 +00:00
Michael Snyder
99a8512bd1
2002-06-06 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/d10v.ld: Merge in several years worth of
default linker script changes.
2002-06-06 19:12:39 +00:00
Michael Snyder
c15b0d21ff
2002-06-06 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/long_long.exp: Add check for sizeof (long double).
2002-06-06 19:08:18 +00:00
Michael Snyder
7bd91a28eb
2002-06-06 Michael Snyder <msnyder@redhat.com>
...
* d10v-tdep.c (d10v_push_arguments): Handle struct_return.
Delete extra braces and re-indent.
2002-06-06 18:57:08 +00:00
Michael Snyder
3d79a47c75
2002-06-06 Michael Snyder <msnyder@redhat.com>
...
* d10v-tdep.c (d10v_store_return_value): Char return values
must be shifted over by one byte in R0.
(d10v_extract_return_value): Delete extra braces, re-indent.
2002-06-06 18:47:35 +00:00
Elena Zannoni
095a4c965d
2002-06-06 Elena Zannoni <ezannoni@redhat.com>
...
* d10v-tdep.c (d10v_read_sp, d10v_read_fp): Add prototype.
(d10v_register_virtual_type): Make $fp and $sp be pointer to data.
(d10v_integer_to_address): Rewrite.
(d10v_frame_init_saved_regs): When reading fp and sp registers use
the d10v specific functions which take care of converting to the
correct space.
2002-06-06 16:35:37 +00:00
Elena Zannoni
e8a77ca463
2002-06-06 Elena Zannoni <ezannoni@redhat.com>
...
* config/djgpp/fnchange.lst: Add testsuite files altivec-abi.c,
altivec-abi.exp, altivec-regs.c, altivec-regs.exp.
2002-06-06 16:31:47 +00:00
Michal Ludvig
be26fe0d93
2002-06-06 Michal Ludvig <mludvig@suse.cz>
...
* gdb.asm/asm-source.exp: Add x86-64 target.
* gdb.asm/x86_64.inc: New.
2002-06-06 15:19:17 +00:00
gdbadmin
e199b4f433
*** empty log message ***
2002-06-06 00:00:02 +00:00
Andrew Cagney
4f2e4a4f1d
* config/alpha/nm-linux.h: Add "config/" prefix to tm, nm and xm
...
includes.
* config/tm-linux.h: Ditto.
* config/alpha/tm-alphalinux.h: Ditto.
* config/arm/nm-linux.h, config/arm/tm-linux.h: Ditto.
* config/arm/xm-nbsd.h, config/i386/nm-gnu.h: Ditto.
* config/i386/nm-i386lynx.h, config/i386/nm-i386sol2.h: Ditto.
* config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h: Ditto.
* config/i386/nm-linux.h, config/i386/nm-m3.h: Ditto.
* config/i386/nm-ptx4.h, config/i386/nm-x86-64.h: Ditto.
* config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h: Ditto.
* config/i386/tm-i386m3.h, config/i386/tm-i386sco5.h: Ditto.
* config/i386/tm-i386v4.h, config/i386/tm-linux.h: Ditto.
* config/i386/tm-ptx4.h, config/i386/tm-vxworks.h: Ditto.
* config/i386/xm-i386v4.h, config/i386/xm-nbsd.h: Ditto.
* config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto.
* config/i960/tm-vx960.h, config/ia64/nm-aix.h: Ditto.
* config/ia64/nm-linux.h, config/ia64/tm-aix.h: Ditto.
* config/ia64/tm-linux.h, config/ia64/xm-aix.h: Ditto.
* config/m68k/nm-linux.h, config/m68k/nm-m68klynx.h: Ditto.
* config/m68k/nm-sysv4.h, config/m68k/tm-linux.h: Ditto.
* config/m68k/tm-m68klynx.h, config/m68k/tm-m68kv4.h: Ditto.
* config/m68k/tm-sun2os4.h, config/m68k/tm-sun3os4.h: Ditto.
* config/m68k/tm-vx68.h, config/m68k/xm-m68kv4.h: Ditto.
* config/m68k/xm-nbsd.h, config/m88k/nm-delta88v4.h: Ditto.
* config/m88k/tm-delta88v4.h, config/m88k/xm-delta88v4.h: Ditto.
* config/mips/nm-irix5.h, config/mips/nm-linux.h: Ditto.
* config/mips/tm-linux.h, config/mips/tm-mips64.h: Ditto.
* config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h: Ditto.
* config/mips/tm-vxmips.h, config/mips/xm-irix5.h: Ditto.
* config/mips/xm-mipsv4.h, config/ns32k/xm-nbsd.h: Ditto.
* config/pa/nm-hppao.h, config/powerpc/nm-linux.h: Ditto.
* config/powerpc/tm-linux.h, config/powerpc/tm-vxworks.h: Ditto.
* config/powerpc/xm-aix.h, config/rs6000/nm-rs6000ly.h: Ditto.
* config/rs6000/tm-rs6000ly.h, config/rs6000/xm-aix4.h: Ditto.
* config/sh/tm-linux.h, config/sparc/nm-linux.h: Ditto.
* config/sparc/nm-sparclynx.h, config/sparc/nm-sun4sol2.h: Ditto.
* config/sparc/tm-linux.h, config/sparc/tm-sp64linux.h: Ditto.
* config/sparc/tm-sp64sim.h, config/sparc/tm-sparclynx.h: Ditto.
* config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h: Ditto.
* config/sparc/tm-vxsparc.h, config/sparc/xm-sun4sol2.h: Ditto.
2002-06-05 19:18:29 +00:00
gdbadmin
a9a3a1846b
*** empty log message ***
2002-06-05 00:00:34 +00:00
Aidan Skinner
ae2ab2ce36
* ada-exp.tab.c: New file
...
* ada-exp.y: New file
* ada-lang.c: New file
* ada-lang.h: New file
* ada-lex.c: New file
* ada-lex.l: New file
* ada-tasks.c: New file
* ada-typeprint.c: New file
* ada-valprint.c: New file
2002-06-04 16:09:25 +00:00
Aidan Skinner
14f9c5c955
Add base ada language files
2002-06-04 15:28:49 +00:00
gdbadmin
732066d0dd
*** empty log message ***
2002-06-04 00:00:06 +00:00
gdbadmin
831ab49712
*** empty log message ***
2002-06-03 00:00:33 +00:00
Jason Thorpe
0ddd0135e6
* ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set
...
use_struct_convention to ppc_sysv_abi_broken_use_struct_convention.
2002-06-02 20:28:58 +00:00
Jason Thorpe
750fbacc09
* config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.o
...
insetead of ppc-linux-tdep.o.
* config/rs6000/rs6000.mt (TDEPFILES): Likewise.
* config/rs6000/rs6000lynx.mt (TDEPFILES): Likewise.
2002-06-02 17:50:41 +00:00
Andrew Cagney
df94e18aa8
Output tweaks.
2002-06-02 15:37:55 +00:00
Andrew Cagney
1a38ab7587
* MAINTAINERS: Mention that any `HP/UX reader' can be changed by
...
any maintainer.
2002-06-02 03:09:31 +00:00
gdbadmin
2763acd36e
*** empty log message ***
2002-06-02 00:00:33 +00:00
Andrew Cagney
8b1632ace7
Regenerate.
2002-06-01 23:53:22 +00:00
Andrew Cagney
627054c82e
Add everyone to write-after-approval.
2002-06-01 23:46:55 +00:00
Andrew Cagney
4f4608125d
* stack.c (frame_info): Use frame_register_unwind instead of
...
saved_regs. Mention when the SP is on the stack or in a register.
* frame.h (frame_register_unwind_ftype): Define. Document.
(struct frame_info): Add field register_unwind and
register_unwind_cache.
(frame_register_unwind): Declare.
(generic_unwind_get_saved_register): Declare.
* frame.c (frame_register_unwind): New function.
(generic_unwind_get_saved_register): New function.
* blockframe.c (generic_call_dummy_register_unwind): New function.
(frame_saved_regs_register_unwind): New function.
(set_unwind_by_pc): New function.
(create_new_frame): New function.
(get_prev_frame): New function.
2002-06-01 20:44:21 +00:00
Andrew Cagney
3352e23e7a
* gdbint.texinfo (Target Architecture Definition): Add section
...
``Converting an existing Target Architecture to Multi-arch''.
2002-06-01 20:14:16 +00:00
gdbadmin
20d0f8db4a
*** empty log message ***
2002-06-01 00:00:03 +00:00
Michael Chastain
4b3153f1b9
Fix formatting of "From ... " lines on recent changes
...
that I committed on behalf of others.
2002-05-31 19:45:27 +00:00
Andrew Cagney
de888f764c
Zap more a29k stragglers.
2002-05-31 01:45:16 +00:00
Andrew Cagney
cbb09e6a75
* gdbint.texinfo (Releasing GDB): Rename ``Obsoleting any code''
...
to ``Obsoleting code''. Revise.
2002-05-31 01:36:16 +00:00
Jason Thorpe
2f2c3626c9
* config/djgpp/fnchange.lst: Add ns32knbsd-nat.c, ns32knbsd-tdep.c,
...
ppcnbsd-nat.c, ppcnbsd-tdep.c, sparcnbsd-nat.c, and sparcnbsd-tdep.c.
2002-05-31 01:10:48 +00:00
Jason Thorpe
9ce5c36a4b
* Makefile.in (ALLDEPFILES): Add sparc64nbsd-nat.c,
...
sparcnbsd-nat.c, and sparcnbsd-tdep.c.
(sparc64nbsd-nat.o)
(sparcnbsd-nat.o)
(sparcnbsd-tdep.o): New dependency lists.
* NEWS: Note new UltraSPARC NetBSD native configuration.
* configure.host (sparc64-*-netbsd*): New host.
* configure.tgt (sparc-*-netbsdelf*)
(sparc-*-netbsd*): Set gdb_target to nbsd.
(sparc64-*-netbsd*): New target.
* sparc64nbsd-nat.c: New file.
* sparcnbsd-nat.c: New file.
* sparcnbsd-tdep.c: New file.
* sparcnbsd-tdep.h: New file.
* config/sparc/nbsd.mt: New file.
* config/sparc/nbsd64.mh: New file.
* config/sparc/nbsd64.mt: New file.
* config/sparc/nbsdaout.mh (NATDEPFILES): Remove corelow.o,
sparc-nat.o, and solib.o. Add sparcnbsd-nat.o.
(HOST_IPC): Remove.
* config/sparc/nbsdaout.mt: Remove.
* config/sparc/nbsdelf.mh (NATDEPFILES): Remove corelow.o,
sparc-nat.o, and solib.o. Add sparcnbsd-nat.o.
(HOST_IPC): Remove.
* config/sparc/nbsdelf.mt: Remove.
* config/sparc/nm-nbsd.h: Update copyright years. Remove all
sparc-nat.c compatiblity defines.
* config/sparc/tm-nbsd.h: Update copyright years. Include solib.h.
(GDB_MULTI_ARCH): Set to GDB_MULTI_ARCH_PARTIAL.
* config/sparc/tm-nbsd64.h: New file.
* config/sparc/tm-nbsdaout.h: Remove.
* config/sparc/xm-nbsd.h: Remove.
2002-05-31 00:59:15 +00:00
Jason Thorpe
ef3cf0627a
* Makefile.in (sparc-tdep.o): Add osabi.h to dependency list.
...
* sparc-tdep.c: Include osabi.h.
(gdbarch_tdep): Add osabi member.
(_initialize_sparc_tdep): Use gdbarch_register.
(sparc_gdbarch_init): Use generic OS ABI framework.
(sparc_dump_tdep): New function.
2002-05-31 00:19:47 +00:00
gdbadmin
4aaa392b92
*** empty log message ***
2002-05-31 00:00:07 +00:00
Kevin Buettner
ee8ff470c4
Make safe_read_memory_integer() return non-zero result when successful.
2002-05-30 22:41:24 +00:00
Michael Chastain
258093ca1e
2002-05-30 Michael Chastain <mec@shout.net>
...
From Benjamin Kosnik <bkoz@redhat.com>
* gdb.c++/m-static.cc: New file.
* gdb.c++/m-static.exp: New file.
2002-05-30 19:09:47 +00:00
Jason Thorpe
357edbbc0e
Fix typo in previous entry.
2002-05-30 01:31:03 +00:00
Jason Thorpe
7b112f9c0c
* Makefile.in (ppc_tdep_h): Define.
...
(ppc-linux-nat.o)
(ppc-linux-tdep.o)
(rs6000-tdep.o): Use $(ppc_tdep_h).
(ppc-sysv-tdep.o)
(ppcnbsd-nat.o)
(ppcnbsd-tdep.o): New dependency lists.
* ppc-tdep.h: Use generic OS ABI framework.
* ppc-linux-tdep.c (_initialize_ppc_linux_tdep,
ppc_linux_init_abi): New functions.
(ppc_sysv_abi_broken_use_struct_convention)
(ppc_sysv_abi_use_struct_convention)
(ppc_sysv_abi_push_arguments): Move to...
* ppc-sysv-tdep.c: ...here.
* ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h.
* rs6000-tdep.c (process_note_abi_tag_sections)
(get_elfosabi): Remove.
(rs6000_gdbarch_init): Use generic OS ABI framework.
(rs6000_dump_tdep): New function.
(_initialize_rs6000_tdep): Use gdbarch_register.
* config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o.
* config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o.
* config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead
of ppc-linux-tdep.o.
* config/powerpc/nbsd.mt (TDEPFILES): Likewise.
* config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise.
* config/powerpc/ppc-sim.mt (TDEPFILES): Likewise.
* config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise.
* config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise.
* config/powerpc/vxworks.mt (TDEPFILES): Likewise.
2002-05-30 01:21:53 +00:00
Jim Blandy
480dd42ac5
* macroscope.c (default_macro_scope): Put `void' in empty argument
...
list.
2002-05-30 00:02:03 +00:00
gdbadmin
36cee77011
*** empty log message ***
2002-05-30 00:00:05 +00:00
Andrew Cagney
4182591fce
* Makefile.in (arch-utils.o): Add $(sim_regno_h).
...
* arch-utils.c: Include "sim-regno.h".
* gdbarch.sh: Don't include "sim-regno.h".
* gdbarch.h, gdbarch.c: Regenerate.
* sim-regno.h (legacy_register_sim_regno): Move declaration from
here.
* arch-utils.h (legacy_register_sim_regno): To here.
* remote-sim.c (legacy_register_sim_regno): Move function from
here.
* arch-utils.c (legacy_register_sim_regno): To here.
2002-05-29 16:39:56 +00:00
Michael Snyder
241264c6a6
2002-05-28 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/call-ar-st.exp: Allow for reduced floating point
precision.
2002-05-29 02:23:20 +00:00
Andrew Cagney
8238d0bfe4
* sim-regno.h: New file.
...
* Makefile.in (sim_regno_h): Define.
(d10v-tdep.o, remote-sim.o): Add dependency on $(sim_regno_h).
* remote-sim.c: Include "sim-regno.h" and "gdb_assert.h".
(legacy_register_sim_regno): New function.
(one2one_register_sim_regno): New function.
(gdbsim_fetch_register): Rewrite.
(gdbsim_store_register): Only store a register when
REGISTER_SIM_REGNO is valid.
* d10v-tdep.c: Include "sim-regno.h".
(d10v_ts2_register_sim_regno): Add legacy_regiter_sim_regno check.
(d10v_ts3_register_sim_regno): Ditto.
* gdbarch.sh: Include "sim-regno.h".
(REGISTER_SIM_REGNO): Set default to legacy_register_sim_regno.
* gdbarch.h, gdbarch.c: Regenerate.
* arch-utils.h (default_register_sim_regno): Delete declaration.
* arch-utils.c (default_register_sim_regno): Delete function.
2002-05-29 01:51:17 +00:00
gdbadmin
73e311e847
*** empty log message ***
2002-05-29 00:00:06 +00:00
Jason Thorpe
485721b1e7
* ppcnbsd-nat.c: Rewrite.
...
* ppcnbsd-tdep.c: New file.
* ppcnbsd-tdep.h: New file.
* config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o,
solib.o, and solib-svr4.o.
* config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o,
nbsd-tdep.o, and corelow.o.
2002-05-28 18:43:08 +00:00
Andrew Cagney
697f244d5b
* MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use
...
`tr' and `sed'. Mention that `broken' targets are not expected to
build.
2002-05-28 15:16:34 +00:00
gdbadmin
eaf666985c
*** empty log message ***
2002-05-28 00:00:33 +00:00
Michael Chastain
71ea1be0a8
2002-05-27 Michael Chastain <mec@shout.net>
...
From Benjamin Kosnik <bkoz@redhat.com>
* gdb.c++/m-data.cc: New file.
* gdb.c++/m-data.exp: New file.
2002-05-27 21:46:52 +00:00
Michael Chastain
9bba8c8f34
2002-05-27 Michael Chastain <mec@shout.net>
...
From Benjamin Kosnik <bkoz@redhat.com>
* gdb.c++/try_catch.cc: New file.
* gdb.c++/try_catch.exp: New file.
2002-05-27 20:07:25 +00:00
Michael Chastain
def1b996f9
2002-05-27 Michael Chastain <mec@shout.net>
...
* gdb.c++/local.exp: Accept more nested types in output.
2002-05-27 18:00:14 +00:00
Michal Ludvig
f08caad151
Fixed date in my last ChangeLog entry
2002-05-27 13:39:15 +00:00
Michal Ludvig
b1ab997b41
2002-05-24 Michal Ludvig <mludvig@suse.cz>
...
* x86-64-tdep.c (x86_64_skip_prologue): Remove obsolete note.
Let PC point right after the prologue before looking up symbols.
2002-05-27 13:37:39 +00:00
Martin Hunt
3139facc61
2002-05-27 Martin M. Hunt <hunt@redhat.com>
...
* i386-tdep.c (i386_register_virtual_type): Return
builtin_type_vec128i for SSE registers.
* gdbtypes.h (builtin_type_vec128i): Declare.
* gdbtypes.c (build_builtin_type_vec128i): New function.
(builtin_type_v2_double, builtin_type_v4_int64): New types.
(builtin_type_vec128i): New type for SSE2 128-bit registers.
(build_gdbtypes): Initialize new builtin vector types.
(_initialize_gdbtypes): Register new vector types with gdbarch.
2002-05-27 09:17:24 +00:00
Michael Chastain
522ba26890
2002-05-26 Michael Chastain <mec@shout.net>
...
* gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2002-05-27 02:03:35 +00:00
Jason Thorpe
6e3ba3b8d7
* MAINTAINERS: ns32k is not longer an obsolete candidate,
...
since it has been multi-arch'd.
* NEWS: Note that ns32k-*-* is now partial multi-arch.
Move Alpha and VAX multi-arch news entries to same section
as other multi-arch news.
2002-05-27 01:13:12 +00:00
Jason Thorpe
93d5585d5b
* ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h,
...
target.s, arch-utils.h, ns32k-tdep.h. Make many functions
static. Rename some register numbers to put them in ns32k-tdep
private namespace.
(ns32k_get_saved_register, ns32k_gdbarch_init_32082,
ns32k_gdbarch_init_32382, ns32k_gdbarch_init, ns32k_dump_tdep): New
functions.
(_initialize_ns32k_tdep): Use gdbarch_register.
* ns32k-tdep.h: New file.
* ns32knbsd-tdep.c: New file.
* config/ns32k/nbsdaout.mt (TDEPFILES): Add ns32knbsd-tdep.o.
* config/ns32k/tm-nbsd.h: Include "ns32k/tm-ns32k.h".
(IN_SOLIB_CALL_TRAMPOLINE, REGISTER_NAME, NUM_REGS,
REGISTER_BYTES, REGISTER_BYTE): Remove.
* config/ns32k/tm-ns32k.h: New file.
* config/ns32k/tm-umax.h: Remove.
2002-05-27 01:05:16 +00:00
gdbadmin
d95b65031e
*** empty log message ***
2002-05-27 00:00:33 +00:00
Jason Thorpe
efb2c70e1e
* ns32k-tdep.c (ns32k_saved_pc_after_call,
...
ns32k_store_struct_return, ns32k_extract_return_value,
ns32k_store_return_value, ns32k_extract_struct_value_address): New
functions.
* config/ns32k/tm-umax.h (SAVED_PC_AFTER_CALL): Define as
ns32k_saved_pc_after_call.
(STORE_STRUCT_RETURN): Define as ns32k_store_struct_return.
(EXTRACT_RETURN_VALUE): Define as ns32k_extract_return_value.
(STORE_RETURN_VALUE): Define as ns32k_store_return_value.
(EXTRACT_STRUCT_VALUE_ADDRESS): Define as
ns32k_extract_struct_value_address.
2002-05-26 23:06:08 +00:00
Jason Thorpe
7bcc927b94
* ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words,
...
ns32k_fix_call_dummy): New.
* config/ns32k/tm-umax.h (CALL_DUMMY_WORDS): Define as
ns32k_call_dummy_words.
(SIZEOF_CALL_DUMMY_WORDS): Define as sizeof_ns32k_call_dummy_words.
(CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_ADDR,
CALL_DUMMY_NARGS): Remove.
(FIX_CALL_DUMMY): Define as ns32k_fix_call_dummy.
2002-05-26 22:27:01 +00:00
Jason Thorpe
78f9d7654a
* ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain,
...
ns32k_frame_saved_pc, ns32k_frame_args_address,
ns32k_frame_locals_address, ns32k_frame_init_saved_regs,
ns32k_push_dummy_frame, ns32k_pop_frame): New functions.
* config/ns32k/tm-nbsd.h (FRAME_SAVED_PC): Remove.
* config/ns32k/tm-umax.h (INNER_THAN): Define as core_addr_lessthan.
(BREAKPOINT_FROM_PC): Define as ns32k_breakpoint_from_pc.
(BREAKPOINT): Remove..
(FRAME_CHAIN): Define as ns32k_frame_chain.
(FRAME_SAVED_PC): Define as ns32k_frame_saved_pc.
(FRAME_ARGS_ADDRESS): Define as ns32k_frame_args_address.
(FRAME_LOCALS_ADDRESS): Define as ns32k_frame_locals_address.
(FRAME_FIND_SAVED_REGS): Remove.
(FRAME_INIT_SAVED_REGS): Define as ns32k_frame_init_saved_regs.
(PUSH_DUMMY_FRAME): Define as ns32k_push_dummy_frame.
(POP_FRAME): Define as ns32k_pop_frame.
2002-05-26 20:31:06 +00:00
Jason Thorpe
f2c762e031
* ns32k-tdep.c (ns32k_register_byte_32082,
...
ns32k_register_byte_32382, ns32k_register_raw_size,
ns32k_register_virtual_size, ns32k_register_virtual_type): New
functions.
* config/ns32k/tm-nbsd.h (REGISTER_BYTE): Define as
ns32k_register_byte_32382.
* config/ns32k/tm-umax.h: Update copyright years.
(REGISTER_BYTE): Define as ns32k_register_byte_32082.
(REGISTER_RAW_SIZE): Define as ns32k_register_raw_size.
(REGISTER_VIRTUAL_SIZE): Define as ns32k_register_virtual_size.
(REGISTER_VIRTUAL_TYPE): Define as ns32k_register_virtual_type.
(ns32k_get_enter_addr): Fix prototype.
2002-05-26 17:59:39 +00:00
Jason Thorpe
af13767302
* ns32k-tdep.c: Update copyright years.
...
(ns32k_register_name_32082): New function.
(ns32k_register_name_32382): Ditto.
* config/ns32k/tm-nbsd.h (REGISTER_NAMES): Remove.
(REGISTER_NAME): Define as ns32k_register_name_32382.
* config/ns32k/tm-umax.h (REGISTER_NAMES): Remove.
(REGISTER_NAME): Define as ns32k_register_name_32082.
2002-05-26 09:29:36 +00:00
gdbadmin
2f17ff0c23
*** empty log message ***
2002-05-26 00:00:33 +00:00
gdbadmin
688b75d722
*** empty log message ***
2002-05-25 00:00:34 +00:00
Jim Blandy
a8bc7b569a
* dwarf2read.c (free_line_header): Use xfree, not free.
2002-05-24 19:41:45 +00:00
Jason Thorpe
83a4591080
* config/djgpp/fnchange.lst: Add alphabsd-nat.c,
...
alphabsd-tdep.c, mipsnbsd-nat.c, and mipsnbsd-tdep.c
2002-05-24 04:48:22 +00:00
Andrew Cagney
0db712473f
* PROBLEMS: Mention s390 and FreeBSD 4.4 build problems.
2002-05-24 02:56:56 +00:00
Andrew Cagney
b9e5e4dd2b
From Ross Alexander at NEC Europe:
...
* config/pa/hpux11w.mh (NATDEPFILES): Add solib.o.
2002-05-24 02:50:01 +00:00
Michael Snyder
de530e8403
2002-05-23 Michael Snyder <msnyder@redhat.com>
...
* cli/cli-dump.c (restore_command): Use parse_and_eval_long
for input, rather than parse_and_eval_address.
2002-05-24 01:25:52 +00:00
Andrew Cagney
b91b96f4f6
* sim-d10v.h: Delete file. Moved to include/gdb/.
...
* sim-d10v.h: New file. Moved from include/sim-d10v.h.
* Makefile.in (INCLUDE): Add "gdb/sim-d10v.h".
* interp.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h".
* d10v-tdep.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h".
* Makefile.in (sim_d10v_h): Update definition.
2002-05-24 00:12:18 +00:00
gdbadmin
9a2e8b20a3
*** empty log message ***
2002-05-24 00:00:34 +00:00
Andrew Cagney
8b279e7acb
* d10v-tdep.c (d10v_gdbarch_init): Revert old code included in
...
change `2002-05-22 Michael Snyder' below.
(d10v_push_arguments): Ditto.
(d10v_extract_return_value): Ditto.
2002-05-23 23:53:56 +00:00
Jim Blandy
0a3d042596
* macrotab.c (check_for_redefinition): Don't complain if the new
...
definition is the same as the previous one. Take more arguments
to allow the comparison.
(macro_define_object, macro_define_function): Pass more arguments
to check_for_redefinition.
2002-05-23 23:27:42 +00:00
Michael Snyder
277254ba88
2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
...
* lib/gdb.exp (gdb_wrapper_init): Just because
gdb_wrapper_file exists, this does not mean that the file
should not be rebuilt. That is what gdb_wrapper_initialized
is for.
(default_gdb_init): Reset gdb_wrapper_initialized.
2002-05-23 21:25:42 +00:00
Michael Snyder
5bdb6d01db
2002-05-23 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/all-bin.exp: Revise previous patch by just reducing
the precision of the floating point test results.
* gdb.base/call-rt-st.exp: Ditto.
2002-05-23 21:20:53 +00:00
Michael Snyder
78eac43ebf
2002-05-22 Michael Snyder <msnyder@redhat.com>
...
* d10v-tdep.c: Change a few macros to enums for ease of debugging.
(d10v_frame_chain_valid): Add PC_IN_CALL_DUMMY clause.
(d10v_frame_saved_pc): Add PC_IN_CALL_DUMMY clause.
(d10v_frame_chain): Bail immediately if PC_IN_CALL_DUMMY.
Don't bail if return_pc is PC_IN_CALL_DUMMY.
Add a temp variable to save a call (and a memory read).
(d10v_init_extra_frame_info): Get fi->pc from callee's return_pc
if possible (so that PC_IN_CALL_DUMMY will work).
2002-05-23 15:52:01 +00:00
Michael Snyder
b61a87338a
2002-05-23 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/all-bin.exp: Allow for reduced floating point precision.
* gdb.base/call-rt-st.exp: Ditto.
2002-05-23 15:42:44 +00:00
gdbadmin
127d6b43dd
*** empty log message ***
2002-05-23 00:00:03 +00:00
Corinna Vinschen
9bc1edb84d
* MAINTAINERS: Remove status `OBSOLETE' from v850.
2002-05-22 18:54:00 +00:00
Michal Ludvig
6c3eb89063
2002-05-22 Michal Ludvig <mludvig@suse.cz>
...
* dwarf2cfi.c (execute_stack_op): Change type of 'result'
from ULONGEST to CORE_ADDR.
2002-05-22 13:21:19 +00:00
Michal Ludvig
005ef3d2e3
2002-05-22 Michal Ludvig <mludvig@suse.cz>
...
* dwarf2cfi.c (frame_state_for): Added safety check for a valid
fde->cie_ptr.
(dwarf2_build_frame_info): Corrected handling of eh_frame.
(dwarf2_build_frame_info): Add offset to fde->initial_location
so that frames of shared libraries are mapped correctly.
2002-05-22 12:34:08 +00:00
Jason Thorpe
fcf4f89174
* config/alpha/tm-nbsd.h: Include solib.h.
2002-05-22 04:46:14 +00:00
Jason Thorpe
cfef91e424
* alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Don't make
...
assumptions about the host's byte order.
2002-05-22 04:30:46 +00:00
Jason Thorpe
9964235a2b
* Makefile.in (alphanbsd-tdep.o, shnbsd-tdep.o): Add solib-svr4.h
...
to dependency list.
* alphanbsd-tdep.c: Include solib-svr4.h.
* shnbsd-tdep.c: Ditto.
2002-05-22 04:15:36 +00:00
Jason Thorpe
9eeef8efe5
* Makefile.in (armnbsd-tdep.o): Add solib-svr4.h and
...
nbsd-tdep.h to dependency list.
* configure.host (arm*-*-netbsdelf*, arm*-*-netbsd*,
i[3456]86-*-netbsdaout*, i[3456]86-*-netbsd*, m68*-*-netbsd*,
ns32k-*-netbsd*, sparc-*-netbsdaout*, sparc-*-netbsd*): Use
nbsdaout.mh and nbsdelf.mh consistently.
* configure.tgt (i[3456]86-*-netbsd*, m68*-*-netbsd*,
ns32k-*-netbsd*, sparc-*-netbsdelf*, sparc-*-netbsd*) Use
nbsdaout.mt and nbsdelf.mh consistently.
* armnbsd-tdep.c: Include nbsd-tdep.h and solib-svr4.h.
(arm_netbsd_elf_init_abi): Use set_solib_svr4_fetch_link_map_offsets
to set nbsd_ilp32_solib_svr4_fetch_link_map_offsets.
* config/nm-nbsd.h: Garbage-collect SVR4_SHARED_LIBS. Move
a.out shared library stuff from here...
* config/nm-nbsdaout.h: ...to here.
* config/tm-nbsd.h: Remove.
* config/alpha/nm-nbsd.h (SVR4_SHARED_LIBS): Remove.
* config/arm/nbsd.mh: Remove.
* config/arm/nbsd.mt (TDEPFILES): Remove solib-sunos.o, add
nbsd-tdep.o.
* config/arm/nbsdaout.mh: New file.
* config/arm/nbsdelf.mh: New file.
* config/arm/nm-nbsdaout.h: New file.
* config/i386/nbsd.mh: Remove.
* config/i386/nbsd.mt: Remove.
* config/i386/nbsdaout.mh: New file.
* config/i386/nbsdaout.mt: New file.
* config/i386/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h.
* config/i386/nbsdelf.mt (TM_FILE): Use tm-nbsd.h.
* config/i386/nm-nbsd.h (REGISTER_U_ADDR,
i386_register_u_addr): Remove.
* config/i386/nm-nbsdaout.h: New file.
* config/i386/nm-nbsdelf.h: Remove.
* config/i386/tm-nbsd.h: Don't include config/tm-nbsd.h.
(USE_STRUCT_CONVENTION): Remove.
* config/i386/tm-nbsdaout.h: New file.
* config/i386/tm-nbsdelf.h: Remove.
* config/m68k/nbsd.mh: Remove.
* config/m68k/nbsd.mt: Remove.
* config/m68k/nbsdaout.mh: New file.
* config/m68k/nbsdaout.mt: New file.
* config/m68k/nm-nbsd.h: Use config/nm-nbsd.h.
* config/m68k/nm-nbsdaout.h: New file.
* config/m68k/tm-nbsd.h: Don't include config/tm-nbsd.h.
(IN_SOLIB_CALL_TRAMPOLINE): Define.
* config/ns32k/nbsd.mh: Remove.
* config/ns32k/nbsd.mt: Remove.
* config/ns32k/nbsdaout.mh: New file.
* config/ns32k/nbsdaout.mt: New file.
* config/ns32k/nm-nbsd.h: Include config/nm-nbsd.h.
* config/ns32k/nm-nbsdaout.h: New file.
* config/ns32k/tm-nbsd.h: Don't include config/tm-nbsd.h.
(IN_SOLIB_CALL_TRAMPOLINE): Define.
* config/powerpc/nm-nbsd.h: Include config/nm-nbsd.h.
(SVR4_SHARED_LIBS): Remove.
* config/powerpc/tm-nbsd.h: Dont' include config/tm-nbsd.h.
* config/sparc/nbsd.mh: Remove.
* config/sparc/nbsd.mt: Remove.
* config/sparc/nbsdaout.mh: New file.
* config/sparc/nbsdaout.mt: New file.
* config/sparc/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h.
* config/sparc/nbsdelf.mt: New file.
* config/sparc/nm-nbsdaout.h: New file.
* config/sparc/nm-nbsdelf.h: Remove.
* config/sparc/tm-nbsd.h: Don't include config/tm-nbsd.h.
* config/sparc/tm-nbsdaout.h: New file.
2002-05-22 03:59:55 +00:00
gdbadmin
c1a135a3e2
*** empty log message ***
2002-05-22 00:00:38 +00:00
Jason Thorpe
257ce47071
* Makefile.in (ALLDEPFILES): Add mipsnbsd-nat.c and
...
mipsnbsd-tdep.c
(mipsnbsd-nat.o, mipsnbsd-tdep.o): New dependency lists.
2002-05-21 21:23:44 +00:00
Jason Thorpe
76a6d5fe18
* Makefile.in (ALLDEPFILES): Add shnbsd-tdep.c and
...
shnbsd-nat.c.
(shnbsd-tdep.o, shnbsd-nat.o): New dependency lists.
2002-05-21 20:53:31 +00:00
Jason Thorpe
458882614b
* NEWS: Note new MIPS NetBSD native configuration.
...
* configure.host (mips*-*-netbsd*): New host.
* configure.tgt (mips*-*-netbsd*): New target.
* mipsnbsd-nat.c: New file.
* mipsnbsd-tdep.c: New file.
* mipsnbsd-tdep.h: New file.
* config/mips/nbsd.mh: New file.
* config/mips/nbsd.mt: New file.
* config/mips/nm-nbsd.h: New file.
* config/mips/tm-nbsd.h: New file.
2002-05-21 15:58:41 +00:00
Jason Thorpe
70f80edf7c
* Makefile.in (SFILES): Add osabi.c.
...
(COMMON_OBS): Add osabi.o.
(osabi.o): New dependency list.
* osabi.c: New file.
* osabi.h: New file.
* doc/gdbint.texinfo: Document new generic OS ABI framework.
* Makefile.in (alpha_tdep_h): Define and use instead of
alpha-tdep.h.
* alpha-tdep.c (alpha_abi_names, process_note_abi_tag_sections,
get_elfosabi, alpha_abi_handler_list, alpha_gdbarch_register_os_abi):
Remove.
(alpha_gdbarch_init, alpha_dump_tdep): Use generic OS ABI framework.
* alpha-tdep.h: Include osabi.h.
(alpha_abi): Remove.
(gdbarch_tdep): Use generic OS ABI framework.
* alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Use
gdbarch_register_osabi.
* alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise.
* alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise.
* alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise.
* Makefile.in (sh_tdep_h): Add osabi.h.
* sh-tdep.h (sh_osabi): Remove.
(gdbarch_tdep): Use generic OS ABI framework.
* sh-tdep.c (sh_osabi_names, process_note_abi_tag_sections,
sh_osabi_handler_list, sh_gdbarch_register_os_abi): Remove.
(sh_gdbarch_init, sh_dump_tdep): Use generic OS ABI framework.
* shnbsd-tdep.c (_initialize_shnbsd_tdep): Use gdbarch_register_osabi.
* Makefile.in (arm_tdep_h): Define and use instead of arm-tdep.h.
* arm-linux-tdep.c (_initialize_arm_linux_tdep): Use
gdbarch_register_osabi.
* arm-tdep.c (arm_abi_names, process_note_abi_tag_sections,
arm_abi_handler_list, arm_gdbarch_register_os_abi): Remove.
(get_elfosabi): Rename to...
(arm_elf_osabi_sniffer): ...this. Adjust to use generic OS
ABI framework support routines.
(arm_gdbarch_init): Use generic OS ABI framework.
(arm_dump_tdep): Likewise.
(_initialize_arm_tdep): Likewise.
* arm-tdep.h: Include osabi.h.
(arm_abi): Remove.
(gdbarch_tdep): Remove arm_abi and abi_name members. Add
osabi member.
(arm_gdbarch_register_os_abi): Remove prototype.
* armnbsd-tdep.c (arm_netbsd_aout_osabi_sniffer): New function.
(_initialize_arm_netbsd_tdep): Use gdbarch_register_osabi.
* Makefile.in (mips-tdep.o): Add osabi.h to dependency list.
* mips-tdep.c: Include osabi.h.
(gdbarch_tdep, mips_gdbarch_init, mips_dump_tdep): Use generic
OS ABI framework.
2002-05-21 15:36:03 +00:00
gdbadmin
e51b6c61d8
*** empty log message ***
2002-05-21 00:00:07 +00:00
Kazu Hirata
d194345b7b
* h8300-tdep.c: Fix formatting.
2002-05-20 18:40:46 +00:00
Keith Seitz
8d34ea2303
* mi-main.c (captured_mi_execute_command): Add uiout parameter.
...
"data" is now a structure which is used to pass data to/from this
function to mi_execute_command.
Modify function to comply with requirements from catch_exceptions.
Store real return result and command's return result in data.
(mi_execute_command): Use catch_exceptions.
Use enum to handle actions to be performed instead of overloading
catch_errors return result and the mi return result.
2002-05-20 18:09:57 +00:00
Elena Zannoni
70c6b0d18f
2002-05-20 Elena Zannoni <ezannoni@redhat.com>
...
* rs6000-tdep.c (rs6000_do_registers_info): Simplify code for
printing vector registers.
2002-05-20 17:45:43 +00:00
Michael Chastain
56f6e91079
2002-05-19 Michael Chastain <mec@shout.net>
...
* gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2002-05-20 05:16:53 +00:00
Elena Zannoni
ad0b001691
2002-05-17 Elena Zannoni <ezannoni@redhat.com>
...
* configure.in (configdirs): Add gdb.arch.
* configure: Regenerate.
2002-05-20 01:07:14 +00:00
gdbadmin
13654858c7
*** empty log message ***
2002-05-20 00:00:04 +00:00
Andrew Cagney
165b8e33ee
From Fernando Nasser:
...
* remote.c (remote_async_open_1): Re-throw the exception when the
connection fails.
(remote_cisco_open): Ditto.
(remote_open_1): Ditto.
2002-05-19 20:11:17 +00:00
Andrew Cagney
36918e70e5
* remote.c (remote_start_remote_dummy): Add uiout parameter.
...
(remote_start_remote): Add uiout parameter. Pass through to
remote_start_remote_dummy.
(remote_open_1): Use catch_exception instead of catch_errors.
(remote_async_open_1): Ditto.
(remote_cisco_open): Ditto.
2002-05-19 18:32:10 +00:00
Andrew Cagney
ae44c0c47d
* remote.c (remote_start_remote): Replace PTR with void pointer.
...
(sigint_remote_twice_token, sigint_remote_token): Ditto. Make
static.
2002-05-19 16:56:03 +00:00
gdbadmin
0e4eef8e68
*** empty log message ***
2002-05-19 00:00:03 +00:00
Andrew Cagney
8efe637df4
* gdb_indent.sh: Allow the script to be run in the sim directory.
2002-05-18 19:50:20 +00:00
Mark Kettenis
f0f625e28b
* config/i386/nm-cygwin.h (NO_PTRACE_H): Remove define.
...
* config/i386/nm-go32.h (NO_PTRACE_H): Remove define.
2002-05-18 19:29:37 +00:00
gdbadmin
ae936419a7
*** empty log message ***
2002-05-18 00:00:33 +00:00
Mark Kettenis
2f1b59840e
* corelow.c (core_open): Only call set_gdbarch_from_file if
...
exec_bfd is NULL.
2002-05-17 23:06:10 +00:00
Jim Blandy
f617d2b61f
* gdb.base/completion.exp: Recognize the more detailed error
...
messages produced by the macro expander's lexical analyzer.
2002-05-17 22:03:34 +00:00
Andrey Volkov
40cd92ad2f
Fix call of read_relative_register_raw_bytes
2002-05-17 19:39:52 +00:00
Andrey Volkov
fc97460264
h8300: Add support of EXR register
2002-05-17 19:19:24 +00:00
Andrey Volkov
906709f48c
*h8300-tdep.c: Add additional CCR flags (I,UI,H,U)
2002-05-17 18:52:58 +00:00
Andrey Volkov
6e591d68a5
* Change literal regno in h8300-tdep.c
2002-05-17 18:44:13 +00:00
Jim Blandy
e0e9281e47
* NEWS: Note addition of macro support.
2002-05-17 18:02:20 +00:00
Jim Blandy
e2e0bcd116
* gdb.texinfo (C Preprocessor Macros): New chapter.
...
Include it in the main menu.
(Contributors): Credit Jim Blandy with macro support.
(Compilation): Explain how to get macro information into the
executable.
(Expressions): Note that preprocessor macros are expanded.
2002-05-17 18:00:03 +00:00
Jim Blandy
84f0252a03
Expand preprocessor macros in C expressions.
...
* c-lang.h: #include "macroexp.h", for macro_lookup_ftype.
(scan_macro_expansion, scanning_macro_expansion,
finished_macro_expansion): New function declarations.
(expression_macro_lookup_func, expression_macro_lookup_baton): New
variable declarations.
* parser-defs.h (expression_context_pc): New declaration.
* parse.c (expression_context_pc): New variable.
(parse_exp_1): Set expression_context_pc, as well as
expression_context_block.
* c-exp.y (yylex): If we're not already reading the result of a
macro expansion, try to macro-expand the next token. When we're
done scanning a macro expansion, switch back to the mainline text.
Commas and `if's in a macro's expansion don't terminate the input.
* c-lang.c: #include "macroscope.h" and "gdb_assert.h".
(macro_original_text, macro_expanded_text,
expression_macro_lookup_func, expression_macro_lookup_baton): New
variables.
(scan_macro_expansion, scanning_macro_expansion,
finished_macro_expansion, scan_macro_cleanup, null_macro_lookup,
c_preprocess_and_parse): New functions.
(c_language_defn, cplus_language_defn, asm_language_defn): Call
c_preprocess_and_parse, instead of c_parse.
* Makefile.in (c_lang_h): Note that this #includes macroexp.h.
(c-lang.o): Note dependency on macroscope.h and gdb_assert.h.
2002-05-17 17:57:48 +00:00
Joern Rennecke
1c509ca821
print_insn_sh cleanup:
...
include:
* dis-asm.h (print_insn_shl, print_insn_sh64l): Remove prototype.
gdb:
* sh-tdep.c (gdb_print_insn_sh64): Delete.
(gdb_print_insn_sh): Just set info->endian and use print_insn_sh.
(sh_gdbarch_init): Always use gdb_print_insn_sh.
opcodes:
* disassemble.c (disassembler): Just use print_insn_sh for bfd_arch_sh.
* sh-dis.c (LITTLE_BIT): Delete.
(print_insn_sh, print_insn_shl): Deleted.
(print_insn_shx): Renamed to
(print_insn_sh). No longer static. Handle SHmedia instructions.
Use info->endian to determine endianness.
* sh64-dis.c (print_insn_sh64, print_insn_sh64l): Delete.
(print_insn_sh64x): No longer static. Renamed to
(print_insn_sh64). Removed pfun_compact and endian arguments.
If we got an uneven address to indicate SHmedia, adjust it.
Return -2 for SHcompact instructions.
sim/sh64:
* sim-if.c (sh64_disassemble_insn): Use print_insn_sh instead of
print_insn_shl.
2002-05-17 14:36:46 +00:00
Corinna Vinschen
2250ee0c64
* NEWS: Add section for multi-arched targets. Add v850 to that section.
2002-05-17 10:14:05 +00:00
Jason Thorpe
ab3b81262e
* Makefile.in (sh_tdep_h): Define and use.
...
* config/sh/tm-sh.h (sh_osabi, sh_abi, gdbarch_tdep,
register enum): Move to...
* * sh-tdep.h: ...here.
* sh-tdep.c: Include sh-tdep.h.
* sh3-rom.c: Likewise.
* shnbsd-tdep.c: Likewise.
2002-05-17 06:55:49 +00:00
Michael Snyder
ed9d4749c1
2002-05-16 Michael Snyder <msnyder@redhat.com>
...
* arm-tdep.c: Spelling fix in comment.
2002-05-17 00:05:24 +00:00
gdbadmin
e7780ad605
*** empty log message ***
2002-05-17 00:00:03 +00:00
Jim Blandy
6821892ed4
Add commands for manually expanding macros and showing their
...
definitions.
* macrocmd.c, macroscope.c, macroscope.h: New files.
* Makefile.in (SFILES): Add macrocmd.c, macroscope.c.
(macroscope_h): New variable.
(HFILES_NO_SRCDIR): Add macroscope.h.
(COMMON_OBS): Add macrocmd.o, macroscope.o.
(macroscope.o, macrocmd.o): New rules.
2002-05-16 21:15:53 +00:00
Jim Blandy
2e2761252b
Teach the Dwarf 2 reader to read macro information.
...
* dwarf2read.c: #include "macrotab.h".
(dwarf_macinfo_buffer): New variable.
(struct dwarf2_pinfo): New members: dwarf_macinfo_buffer, and
dwarf_macinfo_size.
(DWARF_MACINFO_BUFFER, DWARF_MACINFO_SIZE): New macros.
(dwarf2_missing_macinfo_section, dwarf2_macros_too_long,
dwarf2_macros_not_terminated, dwarf2_macro_outside_file,
dwarf2_macro_unmatched_end_file, dwarf2_macro_malformed_definition,
dwarf2_macro_spaces_in_definition): New complaints.
(dwarf2_has_info): Initialize dwarf_macinfo_offset.
(dwarf2_build_psymtabs): Read the .dwarf_macinfo section.
(dwarf2_build_psymtabs_hard): Record the buffer and its size in
the partial symbol table.
(psymtab_to_symtab_1): Set the macinfo buffer and size globals
from what's recorded in the partial symbol table.
(read_file_scope): If the compilation unit has a
`DW_AT_macro_info' attribute, read its macro information.
* Makefile.in (dwarf2read.o): Depend on macrotab.h.
2002-05-16 21:00:14 +00:00
Daniel Jacobowitz
2f53fe6c16
2002-05-16 Daniel Jacobowitz <drow@mvista.com>
...
Fix PR gdb/546
* ser-tcp.c: Don't include <netinet/udp.h>.
2002-05-16 19:51:09 +00:00
Richard Earnshaw
c9af212bec
Correct date in commit message.
2002-05-16 13:49:21 +00:00
Stephane Carrez
2be99286c5
* MAINTAINERS: Update my email address.
2002-05-16 13:38:55 +00:00
Richard Earnshaw
8501bbeb90
* config/arm/nm-nbsd.h: Use "config/nm-nbsd.h" to include generic
...
include file of the same name.
2002-05-16 13:32:14 +00:00
Corinna Vinschen
bf5f1a5269
* configure.tgt: Mark v850 as multi-arched.
...
* config/v850/tm-v850.h: Remove file.
* config/v850/v850.mt: Eliminate TM_FILE.
2002-05-16 12:11:38 +00:00
Corinna Vinschen
435e042a62
* v850-tdep.c: Full multi-arch.
...
* config/v850/tm-v850.h: Eliminate or move to v850-tdep.c everything.
Define GDB_MULTI_ARCH to 2.
2002-05-16 11:43:08 +00:00
Pierre Muller
9819c6c883
2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
...
* p-exp.y (current_type): New static variable.
Carries the type of the expression at the position that is parsed.
(push_current_type, pop_current_type): Two new functions. Used
to store/restore current_type in expression on specific tokens.
(search_filed): New static variable. Set to one after parsing a point as
at that point only a FIELDNAME token should be searched.
(FIELDNAME): New token. After a point only a token belonging to
current_type type definition is allowed.
(all over token rules): reset and change current_type according
to rules.
(exp '[' rule): insert implicit array index field if
exp is a pascal string type.
2002-05-16 09:34:54 +00:00
Corinna Vinschen
3a06899a96
* v850-tdep.c: Fix comment for v850_scan_prologue. Remove extra
...
frame info. Use frame_info's saved_regs instead of matching member
in extra_frame_info throughout.
(v850_frame_init_saved_regs): New function.
(v850_init_extra_frame_info): Move most functionality into
v850_frame_init_saved_regs().
* config/v850/tm-v850.h (EXTRA_FRAME_INFO): Remove definition.
(v850_frame_find_saved_regs): Remove declaration.
(FRAME_FIND_SAVED_REGS): Remove definition.
(v850_frame_init_saved_regs): Add declaration.
(FRAME_INIT_SAVED_REGS): Add definition.
2002-05-16 08:23:21 +00:00
Corinna Vinschen
6ed14b0ece
* v850-tdep.c: Begin multi-arch'ing v850.
...
(v850_target_architecture_hook): Remove function.
(v850_gdbarch_init): New function. Add code previously in
v850_target_architecture_hook().
(_initialize_v850_tdep): Don't set target_architecture_hook.
Call register_gdbarch_init() instead.
2002-05-16 07:35:21 +00:00
Daniel Jacobowitz
4272591028
2002-05-16 Daniel Jacobowitz <drow@mvista.com>
...
* gdbtypes.h (struct cplus_struct_type): Remove args field.
* hpread.c (hpread_read_struct_type): Remove assignments to args.
(fixup_class_method_type): Likewise.
2002-05-16 03:59:58 +00:00
Daniel Jacobowitz
0bc68c4948
2002-05-15 Daniel Jacobowitz <drow@mvista.com>
...
From Martin Pool <mbp@samba.org>:
* gdbserver/server.c (gdbserver_usage): New function.
(main): Call it.
2002-05-16 02:33:04 +00:00
gdbadmin
abdb5c032d
*** empty log message ***
2002-05-16 00:00:34 +00:00
Jim Blandy
99d9066e57
Add macro structures to GDB's symbol tables. Nobody puts anything
...
in them yet.
* symtab.h (struct symtab): New member: `macro_table'.
* buildsym.h (pending_macros): New global variable.
* buildsym.c: #include "macrotab.h".
(buildsym_init): Initialize `pending_macros'.
(end_symtab): If we found macro information while reading a CU's
debugging info, do build a symtab structure for it. Make the
symtab point to the macro information, and clear the
`pending_macros' pointer which held it while we were reading the
debug info.
(really_free_pendings): Free any pending macro table.
* objfiles.h (struct objfile): New member: `macro_cache'.
* objfiles.c (allocate_objfile): Set allocate and free functions
for the macro cache's objstack.
(free_objfile): Empty the macro cache's obstack.
* symfile.c (reread_symbols): Empty the macro cache's obstack, and
set new allocate and free functions for it.
* solib-sunos.c (allocate_rt_common_objfile): Set allocate and
free functions for the macro cache's objstack. (Why is this
function building its own objfile?)
* symmisc.c (print_objfile_statistics): Print statistics on the
macro bcache.
* Makefile.in: Note that buildsym.o depends on macrotab.h.
2002-05-15 21:19:21 +00:00
Richard Earnshaw
c899585bc7
* config/arm/nm-nbsd.h: Use <> for include of config/nm-nbsd.h.
...
(REGISTER_U_ADDR): Delete definition.
(arm_register_u_addr): Delete declaration.
2002-05-15 16:21:59 +00:00
Richard Earnshaw
a6cdd8c5f6
* arm-linux-tdep.c (ARM_LINUX_JB_PC): Renamed from JB_PC.
...
(ARM_LINUX_JB_ELEMENT_SIZE): Likewise.
2002-05-15 12:29:41 +00:00
Daniel Jacobowitz
fd3a5ca161
2002-05-14 Daniel Jacobowitz <drow@mvista.com>
...
* gdbserver/mem-break.c (reinsert_breakpoint_by_bp): Correct typo
stop_at -> stop_pc.
2002-05-15 03:36:13 +00:00
Andrew Cagney
c97dcfc7b8
* regcache.c (register_valid): Revise comments refering to "Not
...
available" and "unavailable".
* frame.c (frame_register_read): Ditto.
* findvar.c (value_of_register): Ditto.
2002-05-15 01:01:56 +00:00
gdbadmin
0e0cbfbfde
*** empty log message ***
2002-05-15 00:00:34 +00:00
Andrew Cagney
93021b7d08
* Makefile.in (remote_sim_h): Replace remote-sim_h.
...
(remote-sim.o): Update dependencies.
(d10v-tdep.o): Specify dependencies.
(sim_d10v_h): Define.
2002-05-14 22:19:49 +00:00
Elena Zannoni
eac2a696e0
2002-05-14 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.arch/altivec-abi.c: New file.
* gdb.arch/altivec-abi.exp: New file.
* gdb.arch/altivec-regs.c: New file.
* gdb.arch/altivec-regs.exp: New file.
2002-05-14 22:10:16 +00:00
Elena Zannoni
57680a243b
2002-05-14 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.arch/altivec-abi.c: New file.
* gdb.arch/altivec-abi.exp: New file.
* gdb.arch/altivec-regs.c: New file.
* gdb.arch/altivec-regs.exp: New file.
2002-05-14 22:02:52 +00:00
Jim Blandy
a86bc61c35
* macroexp.c (init_buffer, gather_arguments, expand): Use NULL, not 0.
...
* macrotab.c (macro_lookup_inclusion, find_definition,
new_macro_table): Same.
* macroexp.c (currently_rescanning, expand): Use `strcmp () == 0',
not `! strcmp ()'. This is a dubious improvement.
* macrotab.c (macro_lookup_inclusion, find_definition): Same.
* macrotab.c (macro_lookup_inclusion): Initialize `best_depth',
although it's not necessary, to avoid a warning.
2002-05-14 21:31:05 +00:00
Daniel Jacobowitz
2fdde8f831
2002-05-14 Daniel Jacobowitz <drow@mvista.com>
...
* gdbtypes.h: Update accessor macros to use TYPE_MAIN_TYPE.
(TYPE_CONST, TYPE_VOLATILE, TYPE_CODE_SPACE, TYPE_DATA_SPACE): Use
TYPE_INSTANCE_FLAGS.
(struct main_type): New.
(struct type): Move most members to struct main_type. Change
cv_type and as_type to new type_chain member. Add instance_flags.
(TYPE_MAIN_TYPE, TYPE_CHAIN, TYPE_INSTANCE_FLAGS): New macros.
(TYPE_CV_TYPE, TYPE_AS_TYPE): Remove.
(finish_cv_type): Remove prototype.
* gdbtypes.c (alloc_type): Update comment. Allocate TYPE_MAIN_TYPE.
Set TYPE_CHAIN.
(alloc_type_instance): New function.
(smash_type): New function.
(make_pointer_type, make_reference_type, make_function_type)
(smash_to_member_type, smash_to_method_type): Call smash_type.
(make_qualified_type): New function.
(make_type_with_address_space): Call make_qualified_type.
(make_cv_type): Likewise.
(finish_cv_type): Remove unnecessary function.
(replace_type): Update comment. Copy TYPE_MAIN_TYPE.
(recursive_dump_type): Dump TYPE_CHAIN and TYPE_INSTANCE_FLAGS;
remove TYPE_CV_TYPE and TYPE_AS_TYPE.
* c-typeprint.c (c_type_print_modifier): Use TYPE_INSTANCE_FLAGS.
* dwarf2read.c (read_structure_scope): Don't call finish_cv_type.
* hpread.c (hpread_read_struct_type): Likewise.
* stabsread.c (read_struct_type): Likewise.
2002-05-14 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/maint.exp (maint print type): Update for new type
structure.
2002-05-14 18:30:53 +00:00
Elena Zannoni
e31f1a7cdb
2002-05-14 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.arch: New directory.
* gdb.arch/configure.in: New file.
* gdb.arch/configure: New file.
* gdb.arch/Makefile.in: New file.
2002-05-14 17:09:13 +00:00
Elena Zannoni
843fedf445
2002-05-14 Elena Zannoni <ezannoni@redhat.com>
...
* configure.tgt: Add a catch all sh* target, for cases like
sh[2,3,4]-elf and sh-hms.
2002-05-14 15:22:29 +00:00
Keith Seitz
05a6c72cef
* event-loop.c (create_file_handler): Don't do anything but
...
update data when we are given a fd which we are already
monitoring.
2002-05-14 15:21:10 +00:00
Corinna Vinschen
db5897415c
* gdb.asm/asm-source.exp: Add v850 as supported target.
...
* gdb.asm/v850.inc: New file.
2002-05-14 10:25:33 +00:00
Michal Ludvig
5d085aafc8
2002-05-14 Michal Ludvig <mludvig@suse.cz>
...
* dwarf2cfi.c (context_cpy): Copy registers correctly.
(update_context): Use __func__ in warnings.
2002-05-14 08:24:26 +00:00
Daniel Jacobowitz
9db8d71ff0
2002-05-14 Daniel Jacobowitz <drow@mvista.com>
...
* ser-tcp.c: Include <netinet/udp.h>. Rename tcp_open
and tcp_close to net_open and net_close.
(net_open): Accept "udp:" and "tcp:" specifications. Connect
using UDP if requested. Don't try to disable Nagle on UDP
sockets.
* remote.c (remote_serial_open): New function. Warn about UDP.
(remote_open_1, remote_async_open_1, remote_cisco_open): Call it.
2002-05-14 Daniel Jacobowitz <drow@mvista.com>
* gdb.texinfo (Debug Session): Document new `udp:' and `tcp:'
options for `target remote'.
2002-05-14 04:26:25 +00:00
Elena Zannoni
5dbc6baa50
2002-05-13 Elena Zannoni <ezannoni@redhat.com>
...
* MAINTAINERS: List sh-elf as buildable with ,-Werror.
2002-05-14 01:25:00 +00:00
Elena Zannoni
cc3023f779
2002-05-13 Elena Zannoni <ezannoni@redhat.com>
...
* configure.tgt: Remove sh-hms target.
* MAINTAINERS: Don't list sh-hms as a separate target.
2002-05-14 01:21:39 +00:00
gdbadmin
6cc7bdfa5c
*** empty log message ***
2002-05-14 00:00:06 +00:00
Daniel Jacobowitz
8ce2a7dcda
2002-05-13 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.c++/annota2.exp (annotate-quit): Add comment.
2002-05-13 19:18:52 +00:00
Jim Blandy
ec2bcbe754
Add first preprocessor macro-expansion files.
...
* macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files.
* Makefile.in (SFILES): Add macrotab.c, macroexp.c.
(splay_tree_h, macroexp_h, macrotab_h): New variable.
(HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h.
(COMMON_OBS): Add macrotab.o, macroexp.o.
(macroexp.o, macrotab.o): New rules.
2002-05-13 18:13:07 +00:00
Andrew Cagney
6d53172289
* config/m88k/tm-m88k.h: Update copyright.
...
(m88k_target_write_pc): Declare
(TARGET_WRITE_PC): Redefine using m88k_target_write_pc.
(M88K_NNPC_REGNUM): Rename NNPC_REGNUM.
(SHIFT_INST_REGS): Update definition.
* m88k-tdep.c (m88k_target_write_pc): New function. Implement
using old definition of TARGET_WRITE_PC.
* regcache.c (generic_target_write_pc): Delete code handling
NNPC_REGNUM.
* gdbarch.sh (NNPC_REGNUM): Delete.
* gdbarch.h, gdbarch.c: Regenerate.
* gdbint.texinfo (Target Architecture Definition): Delete
documentation on NNPC_REGNUM.
2002-05-13 17:20:59 +00:00
Richard Earnshaw
3e3f273960
* builtin-regs.c (value_of_builtin_reg): Correctly calculate the
...
builtin reg number.
2002-05-13 16:25:08 +00:00
Daniel Jacobowitz
4c90d51b96
2002-05-13 Daniel Jacobowitz <drow@mvista.com>
...
* ax-gdb.c (gen_sign_extend, gen_fetch, gen_usual_unary)
(gen_cast, gen_scale, gen_add, gen_sub, gen_binop, gen_deref)
(gen_address_of, gen_struct_ref, gen_repeat): Use type
access macros.
* c-typeprint.c (cp_type_print_method_args): Likewise.
(c_type_print_args): Likewise.
* d10v-tdep.c (d10v_push_arguments): Likewise.
(d10v_extract_return_value): Likewise.
* expprint.c (print_subexp): Likewise.
* gdbtypes.c (lookup_primitive_typename): Likewise.
(lookup_template_type, add_mangled_type, print_arg_types): Likewise.
* gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_STUB)
(TYPE_TARGET_STUB, TYPE_STATIC, TYPE_CONST, TYPE_VOLATILE)
(TYPE_PROTOTYPED, TYPE_INCOMPLETE, TYPE_CODE_SPACE, TYPE_VARARGS)
(TYPE_VECTOR): Likewise.
* hpread.c (hpread_read_struct_type)
(fix_static_member_physnames, fixup_class_method_type)
(hpread_type_lookup): Likewise.
* mdebugread.c (parse_symbol, parse_type): Likewise.
* p-lang.c (is_pascal_string_type): Likewise.
* valops.c (hand_function_call): Likewise.
* x86-64-tdep.c (classify_argument): Likewise.
* hpread.c (hpread_read_function_type)
(hpread_read_doc_function_type): Call replace_type.
* dstread.c (create_new_type): Delete.
(decode_dst_structure, process_dst_function): Call alloc_type.
Use type access macros.
2002-05-13 14:21:12 +00:00
Daniel Jacobowitz
0004e5a2cf
2002-05-13 Daniel Jacobowitz <drow@mvista.com>
...
* ax-gdb.c (gen_sign_extend, gen_fetch, gen_usual_unary)
(gen_cast, gen_scale, gen_add, gen_sub, gen_binop, gen_deref)
(gen_address_of, gen_struct_ref, gen_repeat): Use type
access macros.
* c-typeprint.c (cp_type_print_method_args): Likewise.
(c_type_print_args): Likewise.
* d10v-tdep.c (d10v_push_arguments): Likewise.
(d10v_extract_return_value): Likewise.
* expprint.c (print_subexp): Likewise.
* gdbtypes.c (lookup_primitive_typename): Likewise.
(lookup_template_type, add_mangled_type, print_arg_types): Likewise.
* gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_STUB)
(TYPE_TARGET_STUB, TYPE_STATIC, TYPE_CONST, TYPE_VOLATILE)
(TYPE_PROTOTYPED, TYPE_INCOMPLETE, TYPE_CODE_SPACE, TYPE_VARARGS)
(TYPE_VECTOR): Likewise.
* hpread.c (hpread_read_struct_type)
(fix_static_member_physnames, fixup_class_method_type)
(hpread_type_lookup): Likewise.
* mdebugread.c (parse_symbol, parse_type): Likewise.
* p-lang.c (is_pascal_string_type): Likewise.
* valops.c (hand_function_call): Likewise.
* x86-64-tdep.c (classify_argument): Likewise.
* hpread.c (hpread_read_function_type)
(hpread_read_doc_function_type): Call replace_type.
* dstread.c (create_new_type): Delete.
(decode_dst_structure, process_dst_function): Call alloc_type.
Use type access macros.
2002-05-13 14:00:36 +00:00
Daniel Jacobowitz
df763c7f5b
2002-05-12 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.base/break.exp: Check 'break "marker2"'.
2002-05-13 01:18:19 +00:00
gdbadmin
59aa1751ab
*** empty log message ***
2002-05-13 00:00:34 +00:00
Mark Kettenis
dff95cc7a6
* i387-tdep.c (i387_supply_fxsave): Skip the SSE registers if
...
the're not supported by the current architecture.
(i387_fill_fxsave): Likewise.
2002-05-12 21:16:08 +00:00
Fred Fish
bbcd32adda
Approved by ezannoni@redhat.com:
...
2002-05-12 Fred Fish <fnf@redhat.com>
* symfile.c (default_symfile_offsets): Arrange for uninitialized
sect_index_xxx members to index the first slot in section_offsets
if all of the section_offsets are zero.
2002-05-12 18:13:33 +00:00
Jason Thorpe
1aee598a77
Add a ChangeLog entry that was accidentally not committed
...
with the change:
2002-05-11 Jason Thorpe <thorpej@wasabisystems.com>
* Makefile.in (ALLDEPFILES): Remove alphanbsd-nat.c.
(alphanbsd-nat.o): Remove dependency list.
(alphanbsd-tdep.o): Add $(regcache_h) to dependency list.
* alphanbsd-nat.c: Delete. Contents moved to...
* alphanbsd-tdep.c: ...here.
(_initialize_alphanbsd_tdep): Register core functions.
* config/alpha/nbsd.mh (NATDEPFILES): Remove alphanbsd-nat.o.
2002-05-12 16:37:16 +00:00
Mark Kettenis
89cf478729
* configure.tgt (sparc-*openbsd): Remove entry accidentially
...
checked in with last change.
2002-05-12 15:07:41 +00:00
Mark Kettenis
1f77ffc533
* configure.tgt (i[3456]86-*-unixware*, i[3456]86-*-unixware2*):
...
Remove targets. These are canonicalized to i386-*-sysv4.2uw by
config.sub.
2002-05-12 14:58:56 +00:00
Daniel Jacobowitz
89b8b4a9c6
2002-05-12 Daniel Jacobowitz <drow@mvista.com>
...
* Makefile.in: Update dependencies.
2002-05-12 07:40:37 +00:00
Andrew Cagney
14a5e76714
* language.c (local_hex_string_custom): Simplify. Do not depend
...
on PRINTF_HAS_LONG_LONG or CC_HAS_LONG_LONG.
* memattr.c (mem_info_command): Replace calls to
longest_local_hex_string and longest_local_hex_string_custom.
* buildsym.c (make_blockvector): Ditto.
* solib.c (info_sharedlibrary_command): Ditto.
* tracepoint.c (tracepoints_info): Ditto.
* symtab.c (print_msymbol_info): Ditto.
* language.c (local_hex_string): Delete.
(local_hex_string_custom): Delete.
(longest_local_hex_string): Rename to local_hex_string.
(longest_local_hex_string_custom): Rename to
local_hex_string_custom.
* language.h (local_hex_string): Change parameter type to LONGEST.
(local_hex_string_custom): Ditto.
(longest_local_hex_string): Delete declaration.
(longest_local_hex_string_custom): Ditto.
* solib.c: Update copyright.
* memattr.c: Update copyright.
2002-05-12 04:20:06 +00:00
Andrew Cagney
13d0122493
* arch-utils.h (legacy_register_to_value): Declare.
...
(legacy_value_to_register): Declare.
(legacy_convert_register_p): Declare.
* arch-utils.c (legacy_register_to_value): New function.
(legacy_value_to_register): New function.
(legacy_convert_register_p): New function.
* gdbarch.sh (REGISTER_TO_VALUE): Define.
(VALUE_TO_REGISTER): Define.
(CONVERT_REGISTER_P): Define.
* gdbarch.h, gdbarch.c: Regenerate.
* valops.c (value_assign): Use CONVERT_REGISTER_P and
VALUE_TO_REGISTER.
* findvar.c (value_from_register): Use REGISTER_TO_VALUE and
CONVERT_REGISTER_P.
* gdbint.texinfo (Target Architecture Definition): Document
REGISTER_TO_VALUE and VALUE_TO_REGISTER and CONVERT_REGISTER_P.
(Target Architecture Definition): Revise section `Using Different
Register and Memory Data Representations'. Add section `Raw and
Virtual Register Representations'.
2002-05-12 03:09:12 +00:00
Daniel Jacobowitz
4a1970e4a4
2005-05-11 Daniel Jacobowitz <drow@mvista.com>
...
Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* Makefile.in: Update dependencies for valops.c.
* valops.c: Include "gdb_assert.h".
(typecmp): Skip THIS parameter to methods.
(find_method_list): Remove static_memfuncp argument,
update callers. Check for stub methods.
(find_value_oload_method_list): Don't set *static_memfuncp.
(find_overload_match): Don't check for stub methods. Assert
that methods are not stubbed. Handle static methods.
(value_find_oload_method_list): Remove static_memfuncp argument.
* gdbtypes.c (check_stub_method): Do not add THIS pointer
to the argument list for static stub methods.
* value.h (value_find_oload_method_list): Update prototype.
2002-05-12 02:20:38 +00:00
Andrew Cagney
b2e75d7899
* arch-utils.h (generic_register_size): Declare.
...
(generic_register_raw_size, generic_register_virtual_size): Delete
declarations.
* arch-utils.c (generic_register_raw_size): Delete.
(generic_register_size): New function.
(generic_register_virtual_size): Delete.
* gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Make
default generic_register_size.
* gdbarch.h, gdbarch.c: Re-generate.
* d10v-tdep.c (d10v_gdbarch_init): Use generic_register_size for
register_virtual_size.
* x86-64-tdep.c (x86_64_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* gdbint.texinfo (Target Architecture Definition): Mention
defaults for REGISTER_VIRTUAL_SIZE and REGISTER_RAW_SIZE.
(Target Architecture Definition): Mention same. Add references to
web pages.
2002-05-12 02:16:05 +00:00
Andrew Cagney
451fbdda72
* gdbarch.sh (gdbarch_data): Add gdbarch parameter.
...
* gdbarch.h, gdbarch.c: Regenerate.
* gnu-v3-abi.c: Update copyright.
(vtable_address_point_offset): Update.
(gnuv3_rtti_type): Update.
(gnuv3_baseclass_offset): Update.
* solib-svr4.c (svr4_fetch_link_map_offsets): Update.
(init_fetch_link_map_offsets): Update.
* remote.c (get_remote_state): Update.
2002-05-12 01:02:58 +00:00
gdbadmin
b91d9153be
*** empty log message ***
2002-05-12 00:00:05 +00:00
Daniel Jacobowitz
6d2f5ceaae
2002-05-11 Daniel Jacobowitz <drow@mvista.com>
...
* TODO: Remove value_headof/value_from_vtable_info comment.
* printcmd.c (print_command_1): Don't call value_from_vtable_info.
* values.c (value_headof, value_from_vtable_info): Delete.
* value.h (value_from_vtable_info): Delete prototype.
2002-05-11 23:48:23 +00:00
Andrew Cagney
d2324da42d
* Makefile.in: Replace gdb_assert.h with $(gdb_assert_h),
...
gdb_string.h with $(gdb_string_h) and gdb_regex.h with
$(gdb_regex_h).
(gdb_assert_h): Define.
(gdb_wait_h): Define.
(gdb_regex_h): Define.
2002-05-11 23:14:25 +00:00
Daniel Jacobowitz
5c71744046
2002-05-11 Daniel Jacobowitz <drow@mvista.com>
...
From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
* linespec.c (find_methods): Handle GCC 3.x template constructors.
2002-05-11 22:46:19 +00:00
Jason Thorpe
6c7861b3c0
* nbsd-tdep.c: Fix comment.
2002-05-11 22:21:26 +00:00
Jason Thorpe
ea5bc2a606
* Makefile.in (ALLDEPFILES): Add nbsd-tdep.c.
...
(alphanbsd-tdep.o): Add nbsd-tdep.h to dependency list.
(nbsd-tdep.o): New dependency list.
* alphanbsd-tdep.c: Don't include solib-svr4.h. Include
nbsd-tdep.h.
(alphanbsd_solib_svr4_fetch_link_map_offsets): Remove.
(alphanbsd_init_abi): Use nbsd_lp64_solib_svr4_fetch_link_map_offsets.
* nbsd-tdep.c: New file.
* nbsd-tdep.h: New file.
* shnbsd-tdep.c: Don't include solib-svr4.h. Include
nbsd-tdep.h.
(shnbsd_solib_svr4_fetch_link_map_offsets): Remove.
(shnbsd_init_abi): Use nbsd_ilp32_solib_svr4_fetch_link_map_offsets.
* config/alpha/nbsd.mt (TDEPFILES): Add nbsd-tdep.o.
* config/sh/nbsd.mt (TDEPFILES): Ditto.
2002-05-11 22:14:19 +00:00
Jason Thorpe
b28da8653f
* config/alpha/nbsd.mh (NATDEPFILES): Remove corelow.o.
...
* config/alpha/nbsd.mt (TDEPFILES): Add corelow.o.
* config/i386/nbsd.mh (NATDEPFILES): Remove corelow.o.
* config/i386/nbsd.mt (TDEPFILES): Add corelow.o.
* config/i386/nbsdelf.mh (NATDEPFILES): Remove corelow.o.
* config/i386/nbsdelf.mt (TDEPFILES): Add corelow.o.
2002-05-11 21:46:17 +00:00
Jason Thorpe
4b8ff1fad0
* config/i386/nbsd.mh (NATDEPFILES): Use line continuations.
...
* config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
* config/m68k/nbsd.mh (NATDEPFILES): Likewise.
* config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
* config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
* config/sparc/nbsd.mh (NATDEPFILES): Likewise.
* config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
2002-05-11 21:38:14 +00:00
Jason Thorpe
dfe6eb1f71
* i386nbsd-nat.c: Delete file. Move fetch_core_registers and
...
fetch_elfcore_registers to...
* i386nbsd-tdep.c: ...here.
(i386nbsd_use_struct_convention): Rename to...
(i386nbsd_aout_use_struct_convention): ...this.
(i386nbsd_supply_reg): New function.
(i386nbsd_fill_reg): New function.
(fetch_core_registers): Use i386nbsd_supply_reg.
(fetch_elfcore_registers): Likewise.
(_initialize_i386nbsd_tdep): New function.
* config/i386/nbsd.mh (NATDEPFILES): Remove i386nbsd-nat.o.
* config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
* config/i386/nbsdelf.mt (TDEPFILES): Add i386nbsd-tdep.o.
* config/i386/tm-nbsd.h (i386nbsd_use_struct_convention): Rename to...
(i386nbsd_aout_use_struct_convention): ...this.
2002-05-11 21:22:51 +00:00