Randolph Chung
6d1be3f186
2004-05-25 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (hppa_fallback_frame_cache): Handle stack adjustment,
and multiple stack unwinds.
(hppa_stub_unwind_sniffer): Handle unwind from pc == 0.
2004-05-26 04:02:24 +00:00
gdbadmin
b057cbf032
*** empty log message ***
2004-05-26 00:00:32 +00:00
Andrew Cagney
97c34f656c
2004-05-25 Andrew Cagney <cagney@gnu.org>
...
* symfile.h (symbol_file_add_from_memory): Delete declaration.
* symfile-mem.h: Delete file.
* symfile-mem.c: Do not include "symfile-mem.h".
(symbol_file_add_from_memory): Make static. Use "struct bfd" and
"struct bfd_section". When an error do not bother returning NULL.
(add_symbol_file_from_memory_command): Use "struct bfd" and
"struct bfd_section".
* Makefile.in (symfile_mem_h): Delete.
(symfile-mem.o): Update dependencies.
2004-05-25 21:55:43 +00:00
Nick Roberts
aeea8b7740
New file.
2004-05-25 20:03:05 +00:00
Nick Roberts
e23cbd82ff
*** empty log message ***
2004-05-25 20:02:20 +00:00
Andrew Cagney
20d2ca3e86
2004-05-25 Andrew Cagney <cagney@gnu.org>
...
* inftarg.c: Include "observer.h".
(child_attach, child_create_inferior): Notify inferior_created.
* corelow.c: Include "observer.h".
(core_open): Notify inferior_created.
* Makefile.in (inftarg.o, corelow.o): Update dependencies.
2004-05-25 16:04:07 +00:00
Andrew Cagney
c27cda74c7
2004-05-25 Andrew Cagney <cagney@gnu.org>
...
* target.h (struct target_ops): Add from_tty to
to_create_inferior.
(target_create_inferior, find_default_create_inferior): Update.
* infcmd.c (run_command): Update.
* wince.c (child_create_inferior): Update.
* win32-nat.c (child_create_inferior): Update.
* uw-thread.c (uw_thread_create_inferior): Update.
* thread-db.c (thread_db_create_inferior): Update.
* target.c (debug_to_create_inferior)
(find_default_create_inferior): Update.
(maybe_kill_then_create_inferior): Update.
* sol-thread.c (sol_thread_create_inferior): Update.
* remote.c (extended_remote_async_create_inferior)
(extended_remote_create_inferior): Update.
* remote-vx.c (vx_create_inferior): Update.
* remote-st.c (st2000_create_inferior): Update.
* remote-sim.c (gdbsim_create_inferior): Update.
* remote-sds.c (sds_create_inferior): Update.
* remote-rdp.c (remote_rdp_create_inferior): Update.
* remote-rdi.c (arm_rdi_create_inferior): Update.
* remote-m32r-sdi.c (m32r_create_inferior): Update.
* remote-e7000.c (e7000_create_inferior): Update.
* procfs.c (procfs_create_inferior): Update.
* ocd.c (ocd_create_inferior): Update.
* ocd.h (ocd_create_inferior): Update.
* nto-procfs.c (procfs_create_inferior): Update.
* monitor.c (monitor_create_inferior): Update.
* lin-lwp.c (lin_lwp_create_inferior): Update.
* inftarg.c (child_create_inferior): Update.
* hpux-thread.c (hpux_thread_create_inferior): Update.
* gnu-nat.c (gnu_create_inferior): Update.
2004-05-25 14:58:31 +00:00
Andrew Cagney
1db2a7980c
2004-05-25 Andrew Cagney <cagney@gnu.com>
...
* MAINTAINERS: Update e-mail address.
2004-05-25 13:41:46 +00:00
Randolph Chung
81bb344354
2004-05-24 Randolph Chung <tausq@debian.org>
...
* gdb.asm/asm-source.exp: Enable test for hppa-linux target.
* gdb.asm/pa.inc: New file.
2004-05-25 04:07:05 +00:00
Randolph Chung
007d08bb90
2004-05-24 Randolph Chung <tausq@debian.org>
...
* thread.c (info_threads_command, thread_apply_all_command)
(thread_apply_command, thread_command, do_captured_thread_select):
Remove HPUXHPPA-specific code.
2004-05-25 03:59:29 +00:00
Randolph Chung
69e7b95e2e
2004-05-24 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (SR4EXPORT_LDIL_OFFSET, SR4EXPORT_LDO_OFFSET): Remove
unused symbols.
* hppa-tdep.h (HPPA_INSTRUCTION_SIZE): Remove, since there are no more
references.
2004-05-25 03:55:23 +00:00
gdbadmin
2ae9e72eb0
*** empty log message ***
2004-05-25 00:00:35 +00:00
Joel Brobecker
4e8b076386
* gdb.texinfo (Starting): Document new start command.
2004-05-24 23:53:58 +00:00
Joel Brobecker
a4d5f2e026
* infcmd.c (kill_if_already_running): New function, extracted
...
from run_command().
(run_command): Replace extracted code by call to
kill_if_already_running().
(start_command): New function.
(_initialize_infcmd): Add "start" command.
2004-05-24 23:48:25 +00:00
Mark Kettenis
bf2ca189e8
Add OpenBSD/m88k support.
...
* NEWS (New native configurations): Mention OpenBSD/m88k.
* m88k-tdep.c, m88k-tdep.h, m88kbsd-nat.c, config/m88k/nm-obsd.h,
config/m88k/obsd.mh, config/m88k/obsd.mt: New files.
* Makefile.in (m88k_tdep_h): New variable.
(ALLDEPFILES): Add m88k-tdep.c and m88kbsd-nat.c.
(m88kbsd-nat.o, m88k-tdep.o): New dependencies.
* configure.host: Add m88*-*-openbsd*.
* configure.tgt: Add m88*-*-openbsd*.
2004-05-24 21:00:09 +00:00
Jim Blandy
80fadb1152
* MAINTAINERS (tracing bytecode stuff): Allow global maintainers
...
to approve changes.
2004-05-24 18:13:22 +00:00
Kevin Buettner
19e2d14b47
* symtab.c (fixup_section): Search section table when lookup by
...
name fails.
2004-05-24 16:11:17 +00:00
Randolph Chung
1b07b47063
2004-05-24 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c: Fix handling of 8-byte structures; they should not
be "small_struct".
2004-05-24 15:36:31 +00:00
Mark Kettenis
5df97fde61
* m68kbsd-nat.c (m68kbsd_collect_gregset): Specify correct
...
register number in regcache_raw_collect call.
(m68kbsd_collect_fpregset): Likewise.
* vaxbsd-nat.c (vaxbsd_collect_gregset): Likewise.
2004-05-24 08:13:40 +00:00
gdbadmin
389b4daea7
*** empty log message ***
2004-05-24 00:00:07 +00:00
Mark Kettenis
368702b1fe
* regset.h (struct regset): Add back `regset' member.
2004-05-23 22:42:59 +00:00
Mark Kettenis
70f9f47919
* configure.in: Check for td_pcb in `struct thread'.
...
* configure, config.in: Regenerated.
2004-05-23 09:23:18 +00:00
gdbadmin
4b71c185ac
*** empty log message ***
2004-05-23 00:00:03 +00:00
Mark Kettenis
2e16d79e4e
* dpx2-nat.c: Remove file.
...
* Makefile.in (ALLDEPFILES): Remove dpx2-nat.c.
(dpx2-nat.o): Remove dependencies.
2004-05-22 23:03:54 +00:00
Mark Kettenis
492cf391e3
* amd64obsd-nat.c: Include "gdbcore.h", "regcache.h",
...
<sys/types.h>, <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
(amd64obsd_supply_pcb): New function.
(_initialize_amd64obsd_nat): Enable libkvm interface.
* Makefile.in (amd64obsd-nat.o): Update dependencies.
* config/i386/obsd64.mh (NATDEPFILES): Add bsd-kvm.o
(LOADLIBES): New variable.
2004-05-22 22:42:53 +00:00
Mark Kettenis
a770d4eca6
* sparcnbsd-nat.c: Include "gdbcore.h", "regcache.h",
...
<sys/types.h>, <machine/pcb.h> and "bsd-kvm.h".
(sparc32nbsd_supply_pcb): New function.
(_initialize_sparcnbsd_nat): Enable libkvm interface.
* Makefile.in (sparcnbsd-nat.o): Update dependencies.
* config/sparc/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
2004-05-22 22:34:44 +00:00
Mark Kettenis
2e0c35398d
* bsd-kvm.c, bsd-kvm.h: New files.
...
* i386fbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
"bsd-kvm.h".
(i386fbsd_supply_pcb): New function.
* Makefile.in (ALLDEPFILES): Add bsd-kvm.c.
(i386fbsd-nat.o): Update dependencies.
(bsd_kvm_h): New variable.
(bsd-kvm.o): New dependency.
* config/i386/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
2004-05-22 17:21:36 +00:00
Mark Kettenis
9ea75c57ce
* regset.c: Tweak comment.
...
(regset_alloc): Remove descr argument. Use GDBARCH_OBSTACK_ZALLOC
macro.
* regset.h: Update copyright year.
(struct regset): Remove `descr' member, add `gdbarch' member.
(regset_alloc): Adjust prototype and comment.
* i386-tdep.c (i386_supply_gregset): Get TDEP from REGSET->arch.
(i386_supply_fpregset): Likewise.
(i386_regset_from_core_section): Update call to regset_alloc.
* i386obsd-tdep.c (i386obsd_aout_supply_regset): Get TDEP from
REGSET->arch.
(i386obsd_aout_regset_from_core_section): Update call to
regset_alloc.
* i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Get TDEP from
REGSET->arch.
(i386nbsd_aout_regset_from_core_section): Update call to
regset_alloc.
* amd64-tdep.c (amd64_supply_fpregset): Get TDEP from
REGSET->arch.
(amd64_regset_from_core_section): Update call to regset_alloc.
* amd64obsd-tdep.c (amd64obsd_supply_regset): Get TDEP from
REGSET->arch.
(amd64obsd_regset_from_core_section): Update call to regset_alloc.
* sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Directly pass
&sparc32nbsd_gregset in sparc32_supply_gregset call.
(sparc32nbsd_init_abi): Update call to regset_alloc.
* sparc64obsd-tdep.c (sparc64obsd_supply_gregset): Directly pass
&sparc64obsd_core_gregset in sparc64_supply_gregset call.
(sparc64obsd_init_abi): Update call to regset_alloc.
* sparc64nbsd-tdep.c (sparc64nbsd_supply_gregset): Directly pass
&sparc64nbsd_gregset in sparc64_supply_gregset call.
(sparc64nbsd_init_abi): Update call to regset_alloc.
* sparc64fbsd-tdep.c (sparc64fbsd_supply_gregset): Directly pass
&sparc64fbsd_gregset in sparc64_supply_gregset call.
(sparc64fbsd_init_abi): Update call to regset_alloc.
2004-05-22 15:16:22 +00:00
Mark Kettenis
8f5a310353
* gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
2004-05-22 13:14:22 +00:00
Jim Blandy
867e2dc5ac
* ppc-tdep.h (spe_register_p): New declaration.
...
(struct gdbarch_tdep): New members: ppc_acc_regnum and
ppc_spefscr_regnum.
* rs6000-tdep.c (spe_register_p): New function.
(rs6000_dwarf2_stab_reg_to_regnum): Recognize numbers for acc and
spefscr.
(rs6000_gdbarch_init): Initialize the new members of the tdep
structure.
2004-05-22 06:03:26 +00:00
gdbadmin
a55491f7c4
*** empty log message ***
2004-05-22 00:00:33 +00:00
Jim Blandy
0397dee1d1
* ppc-linux-nat.c (fetch_register): Move code back to be next
...
to the comment that describes it. (Moved code, instead of
comment, for symmetry with store_register.)
2004-05-21 23:30:48 +00:00
Jim Blandy
617a4cbacf
Allocate regset structures in the gdbarch's obstack, not using
...
xmalloc.
* regset.c (regset_alloc): Renamed from regset_xmalloc.
Add 'arch' argument. Allocate the regset on arch's obstack, not
using xmalloc.
* regset.h (regset_alloc): Update declaration.
* am64-tdep.c (amd64_regset_from_core_section): Update call; pass
gdbarch argument.
* amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
* i386-tdep.c (i386_regset_from_core_section): Same.
* i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
* i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
* sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
* sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
* sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
* sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
2004-05-21 22:15:10 +00:00
Joel Brobecker
734b8fe8d4
* lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
...
GDB prompt.
2004-05-21 17:27:01 +00:00
Joel Brobecker
9aa3914d5c
* config/djgpp/fnchange.lst: Undo previous change, was useless.
2004-05-21 17:23:32 +00:00
Andrew Cagney
59caf092b6
2004-05-21 Andrew Cagney <cagney@redhat.com>
...
* observer.texi (GDB Observers): Document "inferior_created".
2004-05-21 16:04:03 +00:00
Jim Blandy
99c87dab95
* dwarf2expr.c (execute_stack_op): Add 'break' statements after
...
cases for DW_OP_div and DW_OP_shr. (Thanks to Reva Cuthbertson.)
2004-05-21 07:50:03 +00:00
gdbadmin
4d35077f91
*** empty log message ***
2004-05-21 00:00:32 +00:00
Jim Blandy
c2b6b4aad9
* rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes.
2004-05-20 18:49:37 +00:00
Mark Kettenis
144529d0d2
* regset.h: Make prototype const-correct.
...
* regset.c (regset_xmalloc): Make const-correct.
2004-05-20 17:47:55 +00:00
Ulrich Weigand
725603e12f
* gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
...
setjmp/longjmp. Use sigaction instead of signal.
2004-05-20 14:58:54 +00:00
Paul N. Hilfinger
4725b72191
* symtab.h (SYMBOL_SEARCH_NAME): New definition.
...
(SYMBOL_MATCHES_SEARCH_NAME): New definition.
(symbol_search_name): Declare.
* dictionary.c (iter_name_first_hashed): Match on SYMBOL_SEARCH_NAME.
(iter_name_next_hashed): Ditto.
(iter_name_next_linear): Ditto.
(insert_symbol_hashed): Hash on SYMBOL_SEARCH_NAME.
* symtab.c (lookup_partial_symbol): Assume symbols ordered by
search name, using SYMBOL_SEARCH_NAME and SYMBOL_MATCHES_SEARCH_NAME.
(symbol_search_name): New function.
* symfile.c (compare_psymbols): Order by SYMBOL_SEARCH_NAME.
* minsyms.c (build_minimal_symbol_hash_tables): Change
test for adding to demangled hash table to check for difference
between SYMBOL_SEARCH_NAME and SYMBOL_LINKAGE_NAME.
2004-05-20 09:51:34 +00:00
Jim Blandy
82d69f8b4c
Fix up last ChangeLog commit.
2004-05-20 00:56:45 +00:00
Jim Blandy
be07a590ed
Use a constructor function to create regset structures.
...
* regset.h (supply_regset_ftype, collect_regset_ftype): New typedefs.
(struct regset): Use supply_regset_ftype. Add new
'collect_regset' member.
(regset_xmalloc): New declaration.
* regset.c: New file.
* am64-tdep.c (amd64_regset_from_core_section): Use
regset_xmalloc to construct regset structures.
* amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
* i386-tdep.c (i386_regset_from_core_section): Same.
* i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
* i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
* sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
* sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
* sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
* sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
* Makefile.in (COMMON_OBS): Add regset.o.
(regset.o): New rule.
2004-05-20 00:53:06 +00:00
gdbadmin
e14ad0e71a
*** empty log message ***
2004-05-20 00:00:32 +00:00
Joel Brobecker
604368f524
* config/djgpp/fnchange.lst: Add entries for pthread_cond_wait.exp
...
and pthread_cond_wait.c.
2004-05-19 21:50:14 +00:00
Joel Brobecker
8b923272a9
* gdb.threads/pthread_cond_wait.c: New file.
...
* gdb.threads/pthread_cond_wait.exp: New testcase.
2004-05-19 21:41:03 +00:00
Jim Blandy
baffbae05e
* rs6000-tdep.c (rs6000_gdbarch_init): Initialize tdep fields
...
before the mach-specific switch, and then let the individual cases
override the defaults, rather than leaving them uninitialized
until the switch and then setting them in each case.
2004-05-19 04:18:42 +00:00
Randolph Chung
5859efe54e
2004-05-18 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for
millicode functions.
2004-05-19 03:07:58 +00:00
Randolph Chung
9ca80cf8cc
2004-05-18 Randolph Chung <tausq@debian.org>
...
* somsolib.c (som_solib_remove_inferior_hook): Make all the size
references to dld_flags_buffer consistent.
2004-05-19 02:45:24 +00:00