Andrew Cagney
92e8c9ed1f
* i960-tdep.c (i960_find_saved_register): New function.
...
(i960_get_saved_register): New function.
* config/i960/tm-i960.h (GET_SAVED_REGISTER): Define.
(i960_get_saved_register): Declare.
* config/i960/tm-i960.h, i960-tdep.c: Update copyright.
2002-04-21 15:19:06 +00:00
David S. Miller
e192511835
2002-04-20 David S. Miller <davem@redhat.com>
...
* sparc-nat.c (store-inferior_registers): Fix ambiguous else.
2002-04-21 05:34:06 +00:00
Andrew Cagney
29673b2905
* arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs
...
instead of NUM_PSEUDO_REGS.
2002-04-21 03:46:44 +00:00
David S. Miller
6c86dcd550
2002-04-20 David S. Miller <davem@redhat.com>
...
* config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to
GDB_MULTI_ARCH_PARTIAL
* config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not
define, let tm-sp64.h do it.
2002-04-21 01:51:00 +00:00
gdbadmin
96bf2febf8
*** empty log message ***
2002-04-21 00:00:32 +00:00
Alan Modra
1efdf8039d
daily update
2002-04-21 00:00:05 +00:00
Jason Thorpe
aa40ec9031
* frame.c (find_saved_register): Avoid a NULL pointer
...
dereference and actually walk the frame list.
2002-04-20 23:54:28 +00:00
Andrew Cagney
0f79675b65
* gdbarch.sh (gdbarch_update_p): Keep the list of architectures
...
sorted in most most-recent-used order. Document.
* gdbarch.h, gdbarch.c: Regenerate.
2002-04-20 17:41:18 +00:00
Daniel Jacobowitz
c04a1aa88f
2002-04-20 Daniel Jacobowitz <drow@mvista.com>
...
* gdbserver/inferiors.c (struct inferior_info): Add regcache_data.
(add_inferior): Call create_register_cache.
(clear_inferiors): Call free_register_cache.
(inferior_regcache_data, set_inferior_regcache_data): New functions.
* gdbserver/regcache.c (struct inferior_regcache_data): New.
(registers): Remove.
(get_regcache): New function.
(create_register_cache, free_register_cache): New functions.
(set_register_cache): Don't initialize the register cache here.
(registers_to_string, registers_from_string, register_data): Call
get_regcache.
* gdbserver/regcache.h: Add prototypes.
* gdbserver/server.h: Likewise.
2002-04-20 17:22:48 +00:00
Daniel Jacobowitz
611cb4a542
2002-04-20 Daniel Jacobowitz <drow@mvista.com>
...
* gdbserver/mem-break.c: New file.
* gdbserver/mem-break.h: New file.
* gdbserver/Makefile.in: Add mem-break.o rule; update server.h
dependencies.
* gdbserver/inferiors.c (struct inferior_info): Add target_data
member.
(clear_inferiors): Free target_data member if set.
(inferior_target_data, set_inferior_target_data): New functions.
* gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len)
(i386_stop_pc, i386_set_pc): New. Add to the_low_target.
* gdbserver/linux-low.c (linux_bp_reinsert): New variable.
(struct inferior_linux_data): New.
(linux_create_inferior): Use set_inferior_target_data.
(linux_attach): Likewise. Call add_inferior.
(linux_wait_for_one_inferior): New function.
(linux_wait): Call it.
(linux_write_memory): Add const.
(initialize_low): Call set_breakpoint_data.
* gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint
handling members.
* gdbserver/server.c (attach_inferior): Remove extra add_inferior
call.
* gdbserver/server.h: Include mem-break.h. Update inferior.c
prototypes.
* gdbserver/target.c (read_inferior_memory)
(write_inferior_memory): New functions.
* gdbserver/target.h (read_inferior_memory)
(write_inferior_memory): Change macros to prototypes.
(struct target_ops): Update comments. Add const to write_memory
definition.
2002-04-20 17:04:09 +00:00
Andrew Cagney
e101598283
Revert previous change.
2002-04-20 16:39:46 +00:00
Tom Rix
deeb2cd7e6
Fix C_FILE auxent on xcoff64.
2002-04-20 06:47:24 +00:00
Alan Modra
aa3d5824a4
* archures.c (bfd_lookup_arch): Move the list order comment..
...
(struct bfd_arch_info): ..to where it belongs.
2002-04-20 03:25:20 +00:00
Andrew Cagney
f91305dd5e
Fix date.
2002-04-20 03:12:55 +00:00
Andrew Cagney
bf75c8c166
* sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame
...
instead of ->prev.
* z8k-tdep.c (z8k_frame_chain): Do not use ->prev.
* s390-tdep.c (s390_frame_chain): Do not use ->prev.
* rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain()
instead of ->prev.
2002-04-20 03:09:28 +00:00
Alan Modra
99dc00929f
* archures.c (bfd_lookup_arch): Add comment on list order.
...
(bfd_default_set_arch_mach): Use bfd_lookup_arch.
* cpu-powerpc.c (bfd_powerpc_archs): Re-order so that the default
is always at head of list.
2002-04-20 02:54:26 +00:00
Elena Zannoni
73d322b1b9
2002-04-19 Elena Zannoni <ezannoni@redhat.com>
...
Fix PR gdb/471.
* gdbtypes.c (init_simd_type): Rewrite using new functions.
(build_builtin_type_vec128): Ditto..
(append_composite_type_field): Fix calculation of type length in
union case.
2002-04-20 01:09:28 +00:00
gdbadmin
1d494665d3
*** empty log message ***
2002-04-20 00:00:06 +00:00
Alan Modra
40911fc00e
daily update
2002-04-20 00:00:05 +00:00
Eli Zaretskii
4be3147047
(Releasing GDB, Coding): Fix typos.
2002-04-19 19:33:57 +00:00
Eli Zaretskii
ccd9a834f9
go32-nat.c (store_register): Cast &a_tss to `char *', to avoid compiler
...
warning.
config/djgpp/README: Update.
2002-04-19 19:28:54 +00:00
Richard Henderson
212a6b8ef7
* ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha.
...
* ld-shared/shared.exp: Likewise.
* ld-selective/selective.exp: Disable for alpha.
* ld-undefined/undefined.exp: Add alpha to dwarf2 xfails.
2002-04-19 19:28:09 +00:00
DJ Delorie
dbf93899e0
sync from gcc
...
2002-04-18 Tom Tromey <tromey@redhat.com>
* configure.in: Disallow configuring libgcj when it is already
installed and we're using Solaris 2.8 linker. Do enable libgcj on
Solaris 2.8 by default. For PR libgcj/6158.
2002-04-19 17:36:40 +00:00
DJ Delorie
57a5346cd7
2002-04-19 Nathanael Nerode <neroden@twcny.rr.com>
...
* config/mh-a68bsd: clean out dead code
* config/mh-apollo68: clean out dead code
* config/mh-cxux: clean out dead code
* config/mh-decstation: clean out dead code
* config/mh-dgux: clean out dead code
* config/mh-dgux386: clean out dead code
* config/mh-hp300: clean out dead code
* config/mh-hpux: clean out dead code
* config/mh-hpux8: clean out dead code
* config/mh-interix: clean out dead code
* config/mh-irix4: clean out dead code
* config/mh-lynxrs6k: clean out dead code
* config/mh-mingw32: clean out dead code
* config/mh-ncr3000: clean out dead code
* config/mh-ncrsvr43: clean out dead code
* config/mh-necv4: clean out dead code
* config/mh-openedition: clean out dead code
* config/mh-riscos: clean out dead code
* config/mh-sco: clean out dead code
* config/mh-sysv4: clean out dead code
* config/mh-lynxos: removed, contained only dead code
* config/mh-vaxult2: removed, contained only dead code
* config/mh-sun3: removed, contained only dead code
* configure.in: remove references to dead files
2002-04-19 17:28:04 +00:00
David S. Miller
a1706bfd87
2002-04-17 David S. Miller <davem@redhat.com>
...
* gdb.asm/sparc64.inc: New file.
* gdb.asm/asm-source.exp: Handle sparc64-*-*.
2002-04-19 17:21:48 +00:00
Elena Zannoni
a73a20a2d5
2002-04-19 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.asm/asm-source.exp: Don't use a symlink, just copy the
instruction file directly into the build tree. Clean up at end of
test.
2002-04-19 16:06:59 +00:00
Nick Clifton
aceebfd637
(cofftag): Do not run test for xscale-coff toolchain.
...
(struct, align, incbin): Use case switch so that other targets to be skipped
can be added in the future.
2002-04-19 09:40:37 +00:00
Jason Thorpe
a57f9e49f5
* alpha-tdep.c (setup_arbitrary_frame): Rename...
...
(alpha_setup_arbitrary_frame): ...to this.
* config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update
for alpha_setup_arbitrary_frame.
2002-04-19 05:11:53 +00:00
Alan Modra
05924ed4b9
daily update
2002-04-19 00:00:06 +00:00
gdbadmin
1378fa9350
*** empty log message ***
2002-04-19 00:00:04 +00:00
David S. Miller
ba6783391f
2002-04-18 David S. Miller <davem@redhat.com>
...
* gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
handle 64-bit platforms correctly.
* gdb.base/maint.exp: Likewise.
2002-04-18 22:17:01 +00:00
Kevin Buettner
b03399da11
* gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
...
``-fpic'' when compiling files comprising a shared library, but
it does need additional linker flags in order to find shared
libraries at run time.
2002-04-18 21:07:20 +00:00
Alexandre Oliva
b882a66bfc
* interp.c (sim_open): Disable chunk of code that wrote code in
...
vector table entries.
2002-04-18 19:47:14 +00:00
Andrew Cagney
f4f9705a2d
* gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer.
...
* gdbarch.h, gdbarch.c: Regenerate.
* defs.h (breakpoint_from_pc_fn): Delete type definition.
* target.h (memory_breakpoint_from_pc): Update declaration.
* config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto.
* arch-utils.c (legacy_breakpoint_from_pc): Update return type.
* mcore-tdep.c (mcore_breakpoint_from_pc): Ditto.
* mem-break.c (memory_breakpoint_from_pc): Ditto.
* rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto.
* s390-tdep.c (s390_breakpoint_from_pc): Ditto
* xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto.
* mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto.
* mips-tdep.c (mips_breakpoint_from_pc): Ditto.
* m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto.
* ia64-tdep.c (ia64_breakpoint_from_pc): Ditto.
* d10v-tdep.c (d10v_breakpoint_from_pc): Ditto.
* arch-utils.c (legacy_breakpoint_from_pc): Ditto..
* mem-break.c (default_memory_insert_breakpoint): Make `bp' a
const pointer.
* monitor.c (monitor_insert_breakpoint): Ditto.
* rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'.
* config/mcore/tm-mcore.h: Update copyright.
* mem-break.c: Ditto.
* xstormy16-tdep.c: Ditto.
2002-04-18 18:09:09 +00:00
Pierre Muller
29f319b84c
2002-04-18 Pierre Muller <muller@ics.u-strasbg.fr>
...
* p-exp.y: Add precedence rule for '^' token.
This removes the shift/reduce conflicts.
Remove the comment concerning these shift/reduce conflicts.
2002-04-18 15:22:19 +00:00
Elena Zannoni
ebeac11a97
2002-04-17 Elena Zannoni <ezannoni@redhat.com>
...
* rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro.
(registers_powerpc_nofp): New register set for processors
without floating point unit.
2002-04-18 15:10:15 +00:00
Kevin Buettner
e20049926b
* gdb.base/cvexpr.c (use): New function.
...
(main): Invoke use() on all global variables to prevent
some linkers from deleting these otherwise unused symbols.
2002-04-18 13:21:03 +00:00
Nick Clifton
7831a7758e
Fix problems building arm-wince-pe toolchain.
2002-04-18 09:28:29 +00:00
David S. Miller
27c31547c0
2002-04-18 David S. Miller <davem@redhat.com>
...
* MAINTAINERS: Add myself to write-after-approval.
2002-04-18 08:32:16 +00:00
Michael Chastain
d8937120db
2002-04-17 Michael Chastain <mec@shout.net>
...
From David S. Miller <davem@redhat.com>
* gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
handle 64-bit platforms correctly.
2002-04-18 03:24:20 +00:00
gdbadmin
826ede653b
*** empty log message ***
2002-04-18 00:00:34 +00:00
Alan Modra
26505dde2d
daily update
2002-04-18 00:00:06 +00:00
Andrew Cagney
953836b25a
* rs6000-tdep.c (frame_initial_stack_address): Use
...
frame_register_read to read the alloca_reg.
2002-04-17 23:28:38 +00:00
Geoffrey Keating
ffa554edd7
* dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
...
numbers, gdb relies on them to detect the start of the prologue.
2002-04-17 23:08:42 +00:00
Andrew Cagney
8b0d4340d7
* frame.c (find_saved_register): Find saved registers in the next
...
not prev frame.
Fix PR gdb/365.
2002-04-17 21:55:12 +00:00
DJ Delorie
26eadf6826
* configure.in: Move default CC setting out of config/mh-* fragments
...
directly into here.
2002-04-17 20:45:12 +00:00
DJ Delorie
a0a2c6c6e3
* configure.in: don't even try to configure or make a subdirectory
...
if there's no configure script for it.
2002-04-17 20:24:22 +00:00
Joern Rennecke
a44d7f9cfb
Re-enable linking for sh5:
...
ld:
* emulparams/shelf32.sh (MACHINE): Now sh5.
bfd:
* cpu-sh.c (scan_mach): Delete.
(arch_info_struct): Replace scan_mach with bfd_default_scan.
(bfd_sh_arch): Likewise.
2002-04-17 19:31:53 +00:00
Andrew Cagney
d886453249
* gdbarch.sh (LANG): Set to ``c''.
2002-04-17 18:47:54 +00:00
Martin Schwidefsky
302576afe4
* config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
...
symbols in merge sections.
2002-04-17 15:12:24 +00:00