gdbadmin
be2533e512
*** empty log message ***
2002-12-28 00:00:32 +00:00
gdbadmin
3549b250e7
*** empty log message ***
2002-12-27 00:00:32 +00:00
Joel Brobecker
60383d105d
Continuing work to convert the hppa targets to multiarch partil.
...
* hppa-tdep.c: Add some missing forward declarations.
(frameless_function_invocation): Prefix the function name
by "hppa_" to avoid polluting the namespace. Update all calls
to use the new function name.
(saved_pc_after_call): Ditto.
(init_extra_frame_info): Ditto.
(frame_chain): Ditto.
(push_dummy_frame): Ditto.
(target_read_pc): Ditto.
(target_write_pc): Ditto.
(in_solib_call_trampoline): Ditto.
(in_solib_return_trampoline): Ditto.
(skip_trampoline_code): Ditto.
(hppa_read_fp): New function, renamed from target_read_fp.
(hppa_target_read_fp): New function, using hppa_read_fp.
This function conforms to the function profile for the
READ_FP gdbarch method.
(hppa_extract_struct_value_address): New function, extracted
from the definition of the DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS
macro.
(hppa_frame_num_args): New function.
(hppa_gdbarch_init): Setup the gdbarch vector for the hppa target.
* config/pa/tm-hppa.h: Wrap around all gdbarch-eligible macros
inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
for the switch to multiarch partial.
Update some of the macros definitions to match some changes
described above in the name of the function they are calling.
(PUSH_DUMMY_FRAME): Add a FIXME explaining why this macro will
not be straightforward to convert. Do now wrap it inside
"#if !... #endif" to remember that this macro has still not
been taken care of.
(FIX_CALL_DUMMY): Likewise.
2002-12-26 20:10:13 +00:00
Joel Brobecker
60e1ff2716
Continuing work to convert the hppa targets to multiarch partial.
...
* hppa-tdep.c: (hppa_register_raw_size): New function replacing
the body of macro REGISTER_RAW_SIZE.
* hppa-hpux-tdep.c: Add new functions replacing macro bodies from
config/pa/tm-hppah.h. These functions will be used to initialize
the gdbarch structure.
(hppa_hpux_pc_in_sigtramp): New function.
(hppa_hpux_frame_saved_pc_in_sigtramp): New function.
(hppa_hpux_frame_base_before_sigtramp): New function.
(hppa_hpux_frame_find_saved_regs_in_sigtramp): New function.
Add gdbcore.h #include.
* config/pa/tm-hppa.h (REGISTER_RAW_SIZE): Change the definition
of this gdbarch-eligible macro to a call to the new associated
function.
* config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Likewise.
(FRAME_SAVED_PC_IN_SIGTRAMP): Change the definition of this macro
into a call to the new associated function.
(FRAME_BASE_BEFORE_SIGTRAMP): Likewise.
(FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Likewise.
* Makefile.in (hppa-hpux-tdep.o): Add dependency on gdbcore.h.
2002-12-26 09:36:43 +00:00
gdbadmin
f109f54a37
*** empty log message ***
2002-12-26 00:00:02 +00:00
gdbadmin
c4e54c2a3c
*** empty log message ***
2002-12-25 00:00:01 +00:00
David Carlton
6c756a306f
2002-12-24 David Carlton <carlton@math.stanford.edu>
...
* config/sparc/tm-sparc.h: Delete duplicate definition of
DEPRECATED_PC_IN_CALL_DUMMY.
2002-12-24 20:14:30 +00:00
Kevin Buettner
96f026fc7b
Add GNU/Linux specific support for the n32 and n64 MIPS ABIs.
2002-12-24 19:21:10 +00:00
Adam Fedor
c60b71880d
gdb.base/maint.exp: Update expect output to include 'ObjC'.
2002-12-24 04:03:46 +00:00
Adam Fedor
5a24b7e3b5
maint.c (maintenance_demangle): Add switch to demangle
...
ObjC language symbols as well.
2002-12-24 03:57:58 +00:00
Adam Fedor
9d1127c56c
(lookup_objc_class, lookup_child_selector): Remove
...
last argument from complaint function call.
2002-12-24 03:42:36 +00:00
gdbadmin
ee9f683daa
*** empty log message ***
2002-12-24 00:00:02 +00:00
Kevin Buettner
bcf16802ca
* exec.c (print_section_info): Add FIXME comments regarding format
...
string choices.
2002-12-23 23:36:39 +00:00
Mark Kettenis
c133ab7a41
* gdbint.texinfo (Target Architecture Definition): Update
...
description of gdbarch_register_osabi.
2002-12-23 18:53:16 +00:00
Daniel Jacobowitz
710686b360
* config/pa/nm-hppab.h: Delete duplicate CANNOT_STORE_REGISTER decl.
...
* config/pa/nm-hppao.h: Delete duplicate CANNOT_STORE_REGISTER decl.
* config/pa/nm-hppah.h: Delete duplicate CANNOT_STORE_REGISTER decl.
2002-12-23 17:07:28 +00:00
David Carlton
ee73db833f
2002-12-23 David Carlton <carlton@math.stanford.edu>
...
* gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
and current_directory initialization.
2002-12-23 16:56:25 +00:00
David Carlton
e45febe22e
2002-12-23 David Carlton <carlton@math.stanford.edu>
...
* symtab.c (lookup_symbol_aux): Delete 'force_return' variable.
(lookup_symbol_aux_minsyms): Delete 'force_return' argument.
(search_symbols): Call lookup_symbol_aux_minsyms to find debugging
information associated to a minsym, not lookup_symbol.
2002-12-23 16:43:18 +00:00
Jim Blandy
f0a847b8c7
* gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
...
rather than as part of the output file name.
2002-12-23 00:02:02 +00:00
gdbadmin
114019bb6e
*** empty log message ***
2002-12-23 00:00:32 +00:00
Jim Blandy
d6c1774ec3
* gdb.base/attach.exp: There's no need to copy the test program to
...
/tmp; that was only ever necessary on HP/UX, and this test is
entirely disabled there anyway.
2002-12-22 23:53:48 +00:00
Jim Blandy
4c2acfeafe
* gdb.c++/psmang.exp: Doc fix.
2002-12-22 02:58:43 +00:00
gdbadmin
f5dcdefd1b
*** empty log message ***
2002-12-22 00:00:03 +00:00
Jim Blandy
f0708dbbc4
* gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
...
test.
2002-12-21 22:56:56 +00:00
Mark Kettenis
2213a65dbc
* x86-64-tdep.h (x86_64_init_abi): New prototype.
...
* x86-64-tdep.c (i386_fp_regnum_p): Remove function.
(x86_64_init_abi): Make non-static. Set number of pseudo
registers to 0.
(x86_64_gdbarch_init): Remove function.
(_initialize_x86_64_tdep): Renove register_gdbarch_init call.
Remove code dealing with dissambly.
* x86-64-linux-tdep.c (x86_64_linux_init_abi): New function.
(_initialize_x86_64_linux_tdep): New function.
* config/i386/x86-64linux.mt (TDEPFILES): Add i386-tdep.o and
i386-tdep.o.
2002-12-21 21:09:58 +00:00
Mark Kettenis
05816f706e
* osabi.c: Include "gdb_assert.h" and "gdb_string.h".
...
(struct gdb_osabi_handler): Remove member `arch'. Add member
`arch_info'.
(gdbarch_register_osabi): Add new argument `machine'. Use ot to
construct a `struct bfd_arch_info' and store it in the `struct
gdb_osabi_handler' that is created.
(gdbarch_init_osabi): Check for compatibility based on machine
type and architecture.
* osabi.h (gdbarch_register_osabi): Adjust prototype and update
comment.
* alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Add 0 as
second argument in call to 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.
* arm-linux-tdep.c (_initialize_arm_linux_tdep): Likewise.
* arm-tdep.c (_initialize_arm_tdep): Likewise.
* armnbsd-tdep.c (_initialize_armnbsd_tdep): Likewise.
* hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Likewise.
* i386-interix-tdep.c (_initialize_i386_interix_tdep): Likewise.
* i386-linux-tdep.c (_initialize_i386_linux_tdep): Likewise.
* i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Likewise.
* i386-tdep.c (_initialize_i386_tdep): Likewise.
* i386bsd-tdep.c (_initialize_i386bsd_tdep): Likewise.
* i386gnu-tdep.c (_initialize_i386gnu_tdep): Likewise.
* i386ly-tdep.c (_initialize_i386lynx_tdep): Renamed from
_initialize_i386bsd_tdep and updated likewise.
* i386nbsd-tdep.c (_initialize_i386nbsd_tdep): Likewise.
* i386obsd-tdep.c (_initialize_i386obsd_tdep): Likewise.
* mips-irix-tdep.c (_initialize_mips_irix_tdep): Likewise.
* mips-linux-tdep.c (_initialize_mips_linux_tdep): Likewise.
* mipsnbsd-tdep.c (_initialize_mipsnbsd__tdep): Likewise.
* ns32knbsd-tdep.c (_initialize_ns32kmnsd_tdep): Likewise.
* ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Likewise.
* ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Likewise.
* shnbsd-tdep.c (_initialize_shnbsd_tdep): Likewise.
* sparcnbsd-tdep.c (_initialize_sparcnbsd_tdep): Likewise.
2002-12-21 19:58:07 +00:00
Kevin Buettner
743b930b59
Add DT_MIPS_RLD_MAP case for 64-bit targets.
2002-12-21 06:43:25 +00:00
Kevin Buettner
3758ac483d
Fix bug introduced when multiarching NUM_REGS.
2002-12-21 06:36:02 +00:00
Kevin Buettner
19ed69dd06
Multiarch SVR4_FETCH_LINK_MAP_OFFSETS and GET_LONGJMP_TARGET for GNU/Linux/MIPS.
2002-12-21 05:07:36 +00:00
gdbadmin
a5d8705f21
*** empty log message ***
2002-12-21 00:00:03 +00:00
David Carlton
9579e00017
2002-12-20 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/annota2.exp: KFAIL annotate-quit.
2002-12-20 18:37:15 +00:00
Kazu Hirata
f821f325df
* agentexpr.texi: Fix typos.
...
* annotate.texi: Likewise.
* fdl.texi: Likewise.
2002-12-20 09:35:03 +00:00
Elena Zannoni
7990a5784c
2002-12-19 Keith Seitz <keiths@redhat.com>
...
patch committed by Elena Zannoni <ezannoni@redhat.com>
* thread.c (do_captured_list_thread_ids): Call prune_threads and
target_find_new_threads. Fix for PR mi/669.
2002-12-20 03:37:33 +00:00
gdbadmin
3f076845f5
*** empty log message ***
2002-12-20 00:00:02 +00:00
Kevin Buettner
521168af1c
Remove outdated FIXME comment.
2002-12-19 19:02:57 +00:00
David Carlton
84fba31b3b
2002-12-19 David Carlton <carlton@math.stanford.edu>
...
* linespec.c (decode_line_1): Move code into decode_all_digits.
(decode_all_digits): New function.
2002-12-19 18:56:14 +00:00
Kevin Buettner
2fc70c99f5
* exec.c (print_section_info): Select a format string to use with
...
local_hex_string_custom() based upon the value of TARGET_ADDR_BIT.
2002-12-19 18:49:27 +00:00
Michael Chastain
d181017144
2002-12-18 Michael Chastain <mec@shout.net>
...
* gdb.c++/annota2.exp: Add copyright year 2002.
2002-12-19 05:10:45 +00:00
gdbadmin
32504c66e0
*** empty log message ***
2002-12-19 00:00:33 +00:00
Andrew Cagney
2f1071075b
2002-12-18 Andrew Cagney <ac131313@redhat.com>
...
* frame.c (deprecated_update_current_frame_pc_hack): Replace
deprecated_update_current_frame_pc_hack.
(deprecated_update_frame_base_hack): New function.
* frame.h (deprecated_update_frame_pc_hack): Replace
(deprecated_update_frame_base_hack): Declare.
* infrun.c (normal_stop): Update.
2002-12-18 18:03:42 +00:00
Andrew Cagney
c9012c7106
2002-12-18 Andrew Cagney <ac131313@redhat.com>
...
* rs6000-tdep.c (rs6000_init_extra_frame_info): Use
frame_extra_info_zalloc.
(rs6000_frame_args_address): Use get_frame_extra_info.
(frame_get_saved_regs): Use get_frame_saved_regs.
(frame_initial_stack_address): Use get_frame_saved_regs and
get_frame_extra_info.
(frame_initial_stack_address): Use get_frame_extra_info.
2002-12-18 15:23:22 +00:00
gdbadmin
8ec36b7150
*** empty log message ***
2002-12-18 00:00:35 +00:00
David Carlton
7656509736
2002-12-17 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/try_catch.cc: Add marker comments.
* gdb.c++/try_catch.exp: Get line numbers from marker comments.
* gdb.c++/m-data.cc: Delete namespace __gnu_test.
* gdb.c++/m-static.cc: Ditto.
* gdb.c++/m-static1.cc: Ditto.
* gdb.c++/try_catch.cc: Ditto.
2002-12-17 23:24:57 +00:00
Kevin Buettner
6819ae388f
Don't use NUM_REGS to determine array size.
2002-12-17 23:13:31 +00:00
Richard Earnshaw
625602f2f4
* armnbsd-tdep.c (ARM_NBSD_JB_PC): Renamed from JB_PC.
...
All uses changed
(ARM_NBSD_JB_ELELMENT_SIZE): Similarly.
2002-12-17 22:11:31 +00:00
David Carlton
38d49aff68
2002-12-17 David Carlton <carlton@math.stanford.edu>
...
* symtab.c (lookup_partial_symbol): Don't search past the end of
the partial symbols.
2002-12-17 18:34:06 +00:00
Andrew Cagney
30f7db39bd
2002-12-17 Andrew Cagney <ac131313@redhat.com>
...
* stack.c (frame_info): Use get_frame_saved_regs.
* breakpoint.c (until_break_command): Use get_frame_pc.
2002-12-17 17:27:45 +00:00
Kevin Buettner
231367095d
Replace complain() with complaint().
2002-12-17 00:39:08 +00:00
gdbadmin
bcc61ecbbb
*** empty log message ***
2002-12-17 00:00:35 +00:00
Andrew Cagney
1a14e23479
2002-12-16 Andrew Cagney <ac131313@redhat.com>
...
* config/arc/arc.mt, config/arc/tm-arc.h: Delete.
* config/d30v/d30v.mt, config/d30v/tm-d30v.h: Delete.
* config/fr30/fr30.mt, config/fr30/tm-fr30.h: Delete.
* config/i386/i386aix.mh, config/i386/i386aix.mt: Delete.
* config/i386/i386m3.mh, config/i386/i386m3.mt: Delete.
* config/i386/i386mach.mh, config/i386/i386os9k.mt: Delete.
* config/i386/nm-i386aix.h, config/i386/nm-i386mach.h: Delete.
* config/i386/nm-m3.h, config/i386/tm-i386aix.h: Delete.
* config/i386/tm-i386m3.h, config/i386/tm-i386mk.h: Delete.
* config/i386/xm-i386aix.h, config/i386/xm-i386m3.h: Delete.
* config/i386/xm-i386mach.h, config/i386/xm-i386mk.h: Delete.
* config/i960/mon960.mt, config/i960/nindy960.mt: Delete.
* config/i960/tm-i960.h, config/i960/tm-mon960.h: Delete.
* config/i960/tm-nindy960.h, config/i960/tm-vx960.h: Delete.
* config/i960/vxworks960.mt, config/m68k/apollo68b.mh: Delete.
* config/m68k/apollo68b.mt, config/m68k/apollo68v.mh: Delete.
* config/m68k/hp300bsd.mh, config/m68k/hp300bsd.mt: Delete.
* config/m68k/hp300hpux.mh, config/m68k/hp300hpux.mt: Delete.
* config/m88k/delta88.mh, config/m88k/delta88.mt: Delete.
* config/m88k/delta88v4.mh, config/m88k/delta88v4.mt: Delete.
* config/m88k/m88k.mh, config/m88k/m88k.mt: Delete.
* config/m88k/nm-delta88v4.h, config/m88k/nm-m88k.h: Delete.
* config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h: Delete.
* config/m88k/tm-m88k.h, config/m88k/xm-delta88.h: Delete.
* config/m88k/xm-dgux.h: Delete.
* fr30-tdep.c, i386aix-nat.c, i386m3-nat.c: Delete.
* i386mach-nat.c, i960-tdep.c, m88k-nat.c: Delete.
* os9kread.c, remote-bug.c, remote-nindy.c: Delete.
* remote-nrom.c, remote-os9k.c, remote-vx960.c: Delete.
* d30v-tdep.c, arc-tdep.c, cxux-nat.c, dst.h, dstread.c: Delete.
* ch-exp.c, ch-lang.c, ch-lang.h, ch-typeprint.c: Delete.
* ch-valprint.c: Delete.
2002-12-16 20:39:23 +00:00
Jeff Johnston
da81390ba6
2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
...
* lib/mi-support.exp (mi_reinitialize_dir): Check mi level
to see whether we are using the new -environment-directory
command which resets via -r or the old version of the command
which may prompt the user. Part of fix for gdb/741.
2002-12-16 20:03:17 +00:00
Andrew Cagney
b304d13005
Remove obsolete testsuite code.
2002-12-16 19:33:54 +00:00
Joel Brobecker
273f84299e
* hppa-hpux-tdep.c: New file.
...
* hppa-tdep.c (hppa_gdbarch_init): call the registered osabi-
specific initialization routines.
* Makefile.in (ALLDEPFILES): Add hppa-hpux-tdep.c.
(hppa-hpux-tdep.o): Add rule.
* config/pa/hppahpux.mt (TDEPFILES): Add hppa-hpux-tdep.o.
* config/pa/hppa64.mt (TDEPFILES): Likewise.
2002-12-16 16:51:47 +00:00
gdbadmin
90b8a04724
*** empty log message ***
2002-12-16 00:00:03 +00:00
Daniel Jacobowitz
04e688714f
* infrun.c (handle_inferior_event): Rearrange code to resume if
...
no catchpoint triggers for an event.
2002-12-15 20:38:52 +00:00
Daniel Jacobowitz
deb3b17b03
* infrun.c (handle_inferior_event): Merge TARGET_WAITKIND_FORKED
...
and TARGET_WAITKIND_VFORKED cases.
2002-12-15 20:15:56 +00:00
Daniel Jacobowitz
675bf4cbc8
* infrun.c (handle_inferior_event): Assume that catchpoints
...
are not affected by DECR_PC_AFTER_BREAK.
2002-12-15 20:08:02 +00:00
Daniel Jacobowitz
81e5617914
* target.c (update_current_target): Don't inherit DONT_USE.
...
* target.h (struct target_ops): Remove DONT_USE.
(target_next): Remove macro.
2002-12-15 19:00:33 +00:00
Mark Kettenis
a3edc55b09
* ui-out.c (MAX_UI_OUT_LEVELS): Raise to 6. Fixes PR cli/654.
2002-12-15 16:05:37 +00:00
gdbadmin
d3c18e0f5c
*** empty log message ***
2002-12-15 00:00:32 +00:00
Richard Earnshaw
b508a996e6
* arm-tdep.c (convert_from_extended): New argument to hold the
...
type of floating point result we want to convert to. Make input
argument const. Fix all callers.
(convert_to_extended): Similarly.
(arm_extract_return_value): Now takes a regcache argument. Change
code to use regcache accessor functions. Correctly extract
smaller-than-word results on big-endian machines.
(arm_store_return_value): Now takes a regcache argument. Change
code to use regcache accessor functions. Correctly zero/sign extend
smaller than word results before storing into r0.
(arm_gdbarch_init): Register new-style extract_return_value and
store_return_value functions.
2002-12-14 10:42:05 +00:00
gdbadmin
7fc94d7187
*** empty log message ***
2002-12-14 00:00:03 +00:00
Michael Snyder
3197744f24
2002-12-13 Michael Snyder <msnyder@to-limbo.toronto.redhat.com>
...
* thread-db.c (thread_from_lwp): Uniquify error msg.
(lwp_from_thread): Ditto.
(check_event): Ditto.
(find_new_threads_callback): Ditto.
(thread_db_pid_to_str): Ditto.
2002-12-13 23:28:28 +00:00
Andrew Cagney
6baff1d2e5
2002-12-13 Andrew Cagney <ac131313@redhat.com>
...
* frame.h (get_frame_saved_regs): Declare.
(frame_saved_regs_zalloc): Change return type to CORE_ADDR
pointer.
* frame.c (get_frame_saved_regs): New function.
(frame_saved_regs_zalloc): Return the allocated saved_regs.
2002-12-13 23:18:56 +00:00
Andrew Cagney
b87efeee0c
2002-12-13 Andrew Cagney <ac131313@redhat.com>
...
* frame.c (deprecated_update_current_frame_pc_hack): New
function.
* frame.h (deprecated_update_current_frame_pc_hack): Declare.
* infrun.c (normal_stop): Use said function instead of directly
modifying the frame's PC.
2002-12-13 21:57:40 +00:00
Alexandre Oliva
3de2dc4ff6
* frame.h (frame_id_unwind_ftype): Fix typo in return type.
2002-12-13 20:21:32 +00:00
Kevin Buettner
fe29b929e2
Multiarch NUM_REGS for MIPS.
2002-12-13 18:09:30 +00:00
Jeff Johnston
93ce5efb0a
2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-basics.exp: Change tests for -environment-directory. Also add
tests for -environment-cd, -environment-pwd, and -environment-path.
Part of fix for PR gdb/741.
2002-12-13 17:57:38 +00:00
Jeff Johnston
c04e0a08c9
2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
...
* defs.h (init_last_source_visited): New prototype.
(add_path): Ditto.
* source.c (add_path): New function that adds to a specified path.
(mod_path): Change to call add_path.
(init_last_source_visited): New function to allow interfaces to
initialize static variable: last_source_visited. Part of fix
for PR gdb/741.
* Makefile.in: Add support for mi/mi-cmd-env.c.
2002-12-13 17:55:49 +00:00
Jeff Johnston
068890be59
2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-cmds.c (-environment-directory) Change to use mi_cmd_env_dir,
(-environment-cd): Change to use mi_cmd_env_cd,.
(-environment-pwd): Change to use mi_cmd_env_pwd.
(-environment-path): Change to use mi_cmd_env_path.
* mi-cmds.h (mi_cmd_env_cd, mi_cmd_env_dir): New prototypes.
(mi_cmd_env_path, mi_cmd_env_pwd): Ditto.
* mi-cmd-env.c: New file. Part of fix for PR gdb/741.
* gdbmi.texinfo (environment-cd): Update output and example.
(environment-pwd): Ditto.
(environment-dir): Update output, description, and examples.
(environment-path): Ditto.
2002-12-13 17:00:22 +00:00
Andrew Cagney
c689142bec
2002-12-13 Andrew Cagney <ac131313@redhat.com>
...
* frame.h (frame_id_unwind): Declare.
(struct frame_info): Add fields id_unwind, id_unwind_cache_p and
id_unwind_cache.
(frame_id_unwind_ftype): Declare.
* frame.c (frame_id_unwind): New function.
(set_unwind_by_pc): Add unwind_id parameter. Initialized.
(create_new_frame, get_prev_frame): Pass id_unwind to
set_unwind_by_pc.
(frame_saved_regs_id_unwind): New function.
(frame_saved_regs_id_unwind): New function.
* dummy-frame.c (dummy_frame_id_unwind): New function.
(struct dummy_frame): Add field id.
(generic_push_dummy_frame): Initialize `id'.
* dummy-frame.h (dummy_frame_id_unwind): Declare.
2002-12-13 16:40:25 +00:00
Andrew Cagney
18ea5ba4f0
2002-12-13 Andrew Cagney <ac131313@redhat.com>
...
* infcmd.c (run_stack_dummy): Create a frame ID directly and then
pass that to set_momentary_breakpoint. Move comments to where they
belong.
* frame.h (set_current_frame): Delete declaration.
* frame.c (set_current_frame): Delete function.
2002-12-13 16:26:02 +00:00
Andrew Cagney
2c517d0eb4
2002-12-13 Andrew Cagney <ac131313@redhat.com>
...
* frame.c (frame_extra_info_zalloc): New function.
* frame.h (frame_extra_info_zalloc): Declare.
2002-12-13 16:11:32 +00:00
Joel Brobecker
516b1f280d
* hppa-tdep.c (hppa_pop_frame): Fix a compilation error introduced
...
in the previous prototype change to set_momentary_breakpoint.
2002-12-13 14:37:41 +00:00
gdbadmin
96f719ab14
*** empty log message ***
2002-12-13 00:00:32 +00:00
Daniel Jacobowitz
fbb265fcf2
* infrun.c (pending_follow): Remove saw_parent_fork, saw_child_fork,
...
and saw_child_exec.
(follow_fork, init_wait_for_inferior, handle_inferior_event): Remove
references to saw_parent_fork, saw_child_fork, and saw_child_exec.
(stop_stepping): Remove outdated check for child vfork events.
2002-12-12 22:41:21 +00:00
Andrew Cagney
4fd7f624ea
5.3 released.
2002-12-12 06:29:25 +00:00
Daniel Jacobowitz
4c9ba7e0a6
* corelow.c (init_core_ops): Delete references to to_require_attach
...
and to_require_detach.
* exec.c (init_exec_ops): Likewise.
* hppah-nat.c (child_follow_fork): Call hppa_require_attach and
hppa_require_detach directly.
* inferior.h (REQUIRE_ATTACH, REQUIRE_DETACH): Delete.
* inftarg.c (child_detach): Remove.
(child_detach_from_process): Rename to child_detach, remove
after_fork argument.
(child_attach): Remove.
(child_attach_to_process): Rename to child_attach, remove after_fork
argument.
(init_child_ops): Delete references to to_require_attach
and to_require_detach.
* infttrace.c (hppa_require_attach): Update comment.
* target.c (cleanup_target, update_current_target)
(init_dummy_target, setup_target_debug): Delete references to
to_require_attach and to_require_detach.
(find_default_require_detach, find_default_require_attach)
(debug_to_require_attach, debug_to_require_detach): Remove
functions.
* target.h (struct target_ops): Remove to_require_attach
and to_require_detach.
(target_require_attach, target_require_detach): Delete macros.
(find_default_require_detach, find_default_require_attach): Delete
prototypes.
* config/pa/nm-hppah.h (REQUIRE_ATTACH, REQUIRE_DETACH): Delete.
2002-12-12 01:39:34 +00:00
Andrew Cagney
0394eb2acb
2002-12-11 Andrew Cagney <ac131313@redhat.com>
...
* frame.c (get_frame_extra_info): New function.
* frame.h (get_frame_extra_info): Declare.
2002-12-12 00:56:44 +00:00
gdbadmin
37444a97e6
*** empty log message ***
2002-12-12 00:00:02 +00:00
Andrew Cagney
818dd99982
2002-12-06 Andrew Cagney <ac131313@redhat.com>
...
* breakpoint.h (struct breakpoint): Replace frame with frame_id.
(set_momentary_breaokpoint): Replace `struct frame_info' parameter
with `struct frame_id'.
(set_longjmp_resume_breakpoint): Ditto.
* infrun.c (handle_inferior_event): Update.
* breakpoint.c (watch_command_1, until_break_command): Update.
* infrun.c (handle_inferior_event, check_sigtramp2): Update.
(handle_inferior_event, step_over_function): Update.
* breakpoint.c (bpstat_stop_status, print_one_breakpoint): Update.
(set_raw_breakpoint, set_longjmp_resume_breakpoint): Update.
(set_momentary_breakpoint, deprecated_frame_in_dummy): Update.
* infcmd.c (finish_command, run_stack_dummy): Update.
2002-12-11 22:34:47 +00:00
Kevin Buettner
4d3c225097
Convert complain() to complaint().
2002-12-11 20:55:37 +00:00
Andrew Cagney
95486978f3
2002-12-11 Andrew Cagney <cagney@redhat.com>
...
* frame.c (deprecated_get_frame_saved_regs): Rename
get_frame_saved_regs.
* frame.h (deprecated_get_frame_saved_regs): Update declaration.
* sparc-tdep.c: Update.
* hppa-tdep.c: Update.
* h8500-tdep.c: Update.
2002-12-11 20:35:43 +00:00
Kevin Buettner
321432c0c6
* gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_TO_NAME)
...
(ADDRESS_CLASS_NAME_TO_TYPE_FLAGS): Use ``const char *'' instead of
``char *'' for return and parameter types.
* gdbarch.h, gdbarch.c: Regenerate.
* gdbtypes.h, gdbtypes.c (address_space_int_to_name): Change
return type from ``char *'' to ``const char *''.
* c-typeprint.c (c_type_print_modifier): Make ``address_space_id''
const.
2002-12-11 20:19:39 +00:00
David Carlton
a23b6e6a0a
2002-12-11 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/m-data.exp: Add test for members that shadow global
variables: see PR gdb/804.
* gdb.c++/m-data.cc: Ditto.
2002-12-11 18:45:29 +00:00
Mark Kettenis
5a4d6ff490
* i386-tdep.c: Include "dummy-frame.h".
...
(i386_frame_chain, i386_frame_saved_pc): Replace
DEPRECATED_PC_IN_CALL_DUMMY with call to pc_in_dummy_frame.
(i386_gdbarch_init): Don't set deprecated_pc_in_call_dummy.
2002-12-11 14:38:23 +00:00
Andrew Cagney
85a6d8d39b
Fix date on changelog entry :-/
2002-12-11 02:28:34 +00:00
Andrew Cagney
a5afb99fc1
2002-12-10 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_INIT_FRAME_PC): Rename INIT_FRAME_PC.
Change to a function with predicate.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.c (get_prev_frame): Update. Test
DEPRECATED_INIT_FRAME_PC_P.
* config/sparc/tm-sparc.h (DEPRECATED_INIT_FRAME_PC): Update.
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC): Update.
* config/mn10200/tm-mn10200.h (DEPRECATED_INIT_FRAME_PC): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* i386-interix-tdep.c (i386_interix_init_abi): Update.
* arm-tdep.c: Update comments.
* h8300-tdep.c (h8300_gdbarch_init): Explicitly set init_frame_pc.
* config/m32r/tm-m32r.h (DEPRECATED_INIT_FRAME_PC): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* x86-64-tdep.c (x86_64_init_abi): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* vax-tdep.c (vax_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* config/z8k/tm-z8k.h (INIT_FRAME_PC_FIRST): Delete macro.
(DEPRECATED_INIT_FRAME_PC): Rename INIT_FRAME_PC.
2002-12-11 02:26:38 +00:00
Daniel Jacobowitz
6604731ba7
* config/pa/nm-hppah.h (CHILD_POST_FOLLOW_VFORK): Change to
...
CHILD_FOLLOW_FORK.
* hppah-nat.c (saved_vfork_pid): Add.
(child_post_follow_vfork): Remove.
(child_follow_fork): New function.
(child_wait): Call detach_breakpoints after receiving the child vfork.
Call child_resume directly instead of going through resume ().
Make sure we have the exec before reporting the vfork.
* inferior.h (follow_inferior_reset_breakpoints): Add prototype.
* infrun.c (follow_fork, follow_vfork, follow_inferior_fork): Remove.
(follow_fork): New function. Call target_follow_fork.
(follow_inferior_reset_breakpoints): New function broken out from
old follow_inferior_fork.
(resume): Remove hack to follow exec after vfork.
* inftarg.c (child_post_follow_vfork): Remove.
(child_follow_fork): New function.
(init_child_ops): Replace to_post_follow_vfork with to_follow_fork.
* target.c (cleanup_target): Replace to_post_follow_vfork with
to_follow_fork.
(update_current_target): Likewise.
(setup_target_debug): Likewise.
(debug_to_post_follow_vfork): Remove.
(debug_to_follow_fork): New function.
* target.h (struct target_ops): Replace to_post_folow_vfork with
to_follow_fork.
(child_post_follow_vfork): Remove prototype.
(child_follow_fork): Add prototype.
(target_post_follow_vfork): Remove macro.
(target_follow_fork): Add macro.
testsuite/
* gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2002-12-11 02:04:45 +00:00
Daniel Jacobowitz
7d2830a309
* hppah-nat.c (saved_child_execd_pathname, saved_vfork_state): New.
...
(child_post_follow_vfork): Cancel pending exec event if we follow
the parent.
(child_wait): Only return TARGET_WAITKIND_VFORKED when all necessary
events have been processed. Return a fake TARGET_WAITKIND_EXECD
event at the following wait call if necessary.
* infrun.c (follow_vfork): Don't follow_exec here.
(handle_inferior_event): Add comment to TARGET_WAITKIND_EXECD
case about HP/UX 10.20. Remove code pushed down to
hppah-nat.c:child_wait.
* infttrace.c (child_resume): Use TT_PROC_CONTINUE if
vfork_in_flight is set.
2002-12-11 02:02:03 +00:00
Daniel Jacobowitz
8e7d2c1695
* hppah-nat.c (child_wait): Return TARGET_WAITKIND_IGNORE
...
for the parent's fork event.
* infrun.c (handle_inferior_event): Only expect one fork event.
Call prepare_to_wait for TARGET_WAITKIND_IGNORE. Update comment.
* target.h: Update comment for TARGET_WAITKIND_IGNORE.
2002-12-11 01:25:19 +00:00
gdbadmin
3b01a667ff
*** empty log message ***
2002-12-11 00:00:32 +00:00
Andrew Cagney
bc124bd316
2002-12-10 Andrew Cagney <ac131313@redhat.com>
...
* PROBLEMS: Delete reference to PR gdb/725.
2002-12-10 21:24:47 +00:00
Andrew Cagney
50631d4f73
2002-12-10 Andrew Cagney <ac131313@redhat.com>
...
* MAINTAINERS (gdb.c++): Add David Carlton.
2002-12-10 21:19:03 +00:00
David Carlton
808013d1f9
2002-12-09 David Carlton <carlton@math.stanford.edu>
...
* cli/cli-setshow.c: #include <readline/tilde.h> after defs.h.
* cli/cli-cmds.c: Ditto.
2002-12-10 00:30:43 +00:00
gdbadmin
ebef2de377
*** empty log message ***
2002-12-10 00:00:33 +00:00
Andrew Cagney
6cbda71410
* gdbarch.sh (gdbarch_dump): Wrap function addresses in <>.
2002-12-09 22:46:31 +00:00
Andrew Cagney
31deffe5b6
2002-12-09 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (gdbarch_dump): Print NAME_OF_MALLOC using %s.
* gdbarch.c: Re-generate.
2002-12-09 22:22:40 +00:00
David Carlton
2692ddb358
2002-12-09 David Carlton <carlton@math.stanford.edu>
...
* p-exp.y: Rename TRUE and FALSE to TRUEKEYWORD and FALSEKEYWORD.
2002-12-09 20:48:07 +00:00
David Carlton
f3c39e76bb
2002-12-09 David Carlton <carlton@math.stanford.edu>
...
* linespec.c (symtab_from_filename): New function.
(decode_line_1): Move code into symtab_from_filename.
2002-12-09 19:49:00 +00:00
Kevin Buettner
1b84163ebf
* lin-lwp.c (strsignal): Make extern declaration match that of glibc.
2002-12-09 18:41:42 +00:00
Andrew Cagney
bdd78e628a
2002-12-07 Andrew Cagney <ac131313@redhat.com>
...
* f-valprint.c (info_common_command): Use get_frame_pc.
* std-regs.c (value_of_builtin_frame_pc_reg): Ditto.
* ax-gdb.c (agent_command): Ditto.
* rs6000-tdep.c (rs6000_init_extra_frame_info): Ditto.
(rs6000_pop_frame): Ditto.
(rs6000_frameless_function_invocation): Ditto.
(rs6000_frame_saved_pc, frame_get_saved_regs): Ditto.
(frame_initial_stack_address, rs6000_frame_chain): Ditto.
* macroscope.c (default_macro_scope): Ditto.
* stack.c (print_frame_info_base): Ditto.
(print_frame, frame_info, print_frame_label_vars): Ditto.
(return_command, func_command, get_frame_language): Ditto.
* infcmd.c (finish_command): Ditto.
* dummy-frame.c (cached_find_dummy_frame): Ditto.
* breakpoint.c (deprecated_frame_in_dummy): Ditto.
(break_at_finish_at_depth_command_1): Ditto.
(break_at_finish_command_1): Ditto.
(until_break_command, get_catch_sals): Ditto.
* blockframe.c (func_frame_chain_valid): Ditto.
(frameless_look_for_prologue): Ditto.
(frame_address_in_block, generic_func_frame_chain_valid): Ditto.
2002-12-09 03:30:44 +00:00
Andrew Cagney
408400e7f6
2002-12-08 Andrew Cagney <ac131313@redhat.com>
...
* config/rs6000/tm-rs6000.h (init_frame_pc_noop): Add declaration.
* dwarf2cfi.c (cfi_init_frame_pc): Cast the PC to a pointer.
2002-12-09 02:44:52 +00:00
Andrew Cagney
97f4695394
2002-12-08 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh (INIT_FRAME_PC_FIRST, INIT_FRAME_PC_DEFAULT): Convert
to pure functions.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.c (get_prev_frame): Explictly assign prev's pc with value
returned by INIT_FRAME_PC_FIRST and INIT_EXTRA_FRAME_INFO.
* arch-utils.h (init_frame_pc_default, init_frame_pc_noop): Change
declaration to a function returning a CORE_ADDR.
* x86-64-tdep.h (x86_64_init_frame_pc): Ditto.
* arch-utils.c (init_frame_pc_noop): Return the PC value.
(init_frame_pc_default): Ditto.
* x86-64-linux-tdep.c (x86_64_init_frame_pc): Ditto.
* s390-tdep.c (s390_init_frame_pc_first): Ditto.
* mips-tdep.c (mips_init_frame_pc_first): Ditto.
* dwarf2cfi.h (cfi_init_frame_pc): Ditto.
* dwarf2cfi.c (cfi_init_frame_pc): Ditto.
* alpha-tdep.c (alpha_init_frame_pc_first): Ditto.
* i386-interix-tdep.c (i386_interix_init_abi): Set init_frame_pc
to init_frame_pc_noop.
(i386_interix_init_frame_pc): Delete function.
* z8k-tdep.c (init_frame_pc): Delete function.
* config/z8k/tm-z8k.h (INIT_FRAME_PC): Define as init_frame_pc_noop.
(INIT_FRAME_PC_FIRST): Ditto.
* config/mn10200/tm-mn10200.h (INIT_FRAME_PC): Ditto.
(INIT_FRAME_PC_FIRST): Ditto.
* config/sparc/tm-sparc.h (INIT_FRAME_PC): Ditto.
* config/rs6000/tm-rs6000.h (INIT_FRAME_PC): Redefine as
init_frame_pc_noop.
(INIT_FRAME_PC_FIRST): Convert to an expression.
* config/sparc/tm-sparc.h (INIT_FRAME_PC_FIRST): Ditto.
2002-12-09 02:04:17 +00:00
Andrew Cagney
8b36eed86d
2002-12-08 Andrew Cagney <ac131313@redhat.com>
...
* blockframe.c: Use get_frame_base instead of directly accessing
the `struct frame_info' member frame.
* f-valprint.c, std-regs.c, rs6000-tdep.c: Ditto.
* stack.c, dummy-frame.c, breakpoint.c: Ditto.
2002-12-09 01:40:25 +00:00
Elena Zannoni
aeeccc89ca
2002-12-08 Elena Zannoni <ezannoni@redhat.com>
...
* Makefile.in (readline_h): Define.
(completer.o): Depend on readline_h.
(corelow.o): Ditto.
(event-top.o): Ditto.
(exec.o): Ditto.
(solib.o): Ditto.
(source.o): Ditto.
(symfile.o): Ditto.
(symmisc.o): Ditto.
(top.o): Ditto.
(tracepoint.o): Ditto.
(utils.o): Ditto.
(cli-dump.o): Ditto.
(tui-hooks.o): Ditto.
(tuiWin.o): Ditto.
2002-12-09 01:28:10 +00:00
Elena Zannoni
38017ce81c
2002-12-08 Elena Zannoni <ezannoni@redhat.com>
...
More cleanup from import of readline 4.3.
* completer.h (complete_line, readline_line_completion_function):
Update prototypes.
(line_completion_function): Removed, not used outside of completer.c.
* completer.c (readline_line_completion_function,
complete_function, line_completion_function): Use const for first
parameter.
(line_completion_function): Make static.
(filename_completer): filename_completion_function is now called
rl_filename_completion_function
* corelow.c: Include <readline/readline.h>.
* exec.c: Ditto.
* solib.c: Ditto.
* source.c: Ditto.
* symfile.c: Ditto.
* symmisc.c: Ditto.
* top.c (init_main): No need to coerce
readline_line_completion_function anymore.
* cli/cli-dump.c: Include <readline/readline.h>.
2002-12-09 00:59:27 +00:00
Andrew Cagney
75e3c1f98d
2002-12-08 Andrew Cagney <ac131313@redhat.com>
...
* stack.c (frame_info): Use get_prev_frame.
* blockframe.c (frame_address_in_block): Ditto.
* rs6000-tdep.c (rs6000_init_extra_frame_info): Ditto.
(rs6000_frameless_function_invocation): Ditto.
(rs6000_frame_saved_pc): Ditto.
(rs6000_frame_chain): Ditto.
* arch-utils.c (init_frame_pc_default): Ditto.
2002-12-09 00:32:08 +00:00
gdbadmin
559747269f
*** empty log message ***
2002-12-09 00:00:02 +00:00
Andrew Cagney
0d2b804913
2002-12-08 Andrew Cagney <ac131313@redhat.com>
...
* config/mn10200/tm-mn10200.h (DEPRECATED_PC_IN_CALL_DUMMY):
Delete redundant definition.
2002-12-08 22:39:09 +00:00
Elena Zannoni
9255ee3150
Import of readline 4.3.
...
Non-readline modified files:
src/gdb/ChangeLog src/gdb/defs.h src/gdb/cli/cli-cmds.c
src/gdb/cli/cli-setshow.c src/gdb/tui/ChangeLog
src/gdb/tui/tuiWin.c
In readline directory:
* compat.c, mbutil.c, misc.c, rlmbutil.h, rltypedefs.h,
text.c, doc/history.0, doc/history.3, support/wcwidth.c,
examples/readlinebuf.h, examples/rlcat.c: New files.
* CHANGELOG, CHANGES, INSTALL, MANIFEST, Makefile.in, README,
aclocal.m4, ansi_stdlib.h, bind.c, callback.c, chardefs.h,
complete.c, config.h.in, configure, configure.in, display.c,
emacs_keymap.c, funmap.c, histexpand.c, histfile.c, histlib.h,
history.c, history.h, histsearch.c, input.c, isearch.c,
keymaps.c, keymaps.h, kill.c, macro.c, nls.c, parens.c,
posixdir.h, readline.c, readline.h, rlconf.h, rldefs.h,
rlprivate.h, rlshell.h, rlstdc.h, rltty.c, savestring.c,
search.c, shell.c, signals.c, terminal.c, tilde.c, tilde.h,
undo.c, util.c, vi_keymap.c, vi_mode.c, xmalloc.c, xmalloc.h,
doc/Makefile.in, doc/hist.texinfo, doc/hstech.texinfo,
doc/hsuser.texinfo, doc/manvers.texinfo, doc/readline.3,
doc/rlman.texinfo, doc/rltech.texinfo, doc/rluser.texinfo
doc/rluserman.texinfo, doc/texi2dvi, doc/texi2html,
shlib/Makefile.in, support/install.sh, support/mkdirs,
support/mkdist, support/shlib-install, support/shobj-conf,
examples/Inputrc, examples/Makefile.in, examples/fileman.c,
examples/histexamp.c, examples/manexamp.c, examples/rl.c,
examples/rlfe.c, examples/rltest.c, examples/rlversion.c:
Modified files.
2002-12-08 22:31:39 +00:00
Elena Zannoni
3442dad65f
Fix date...
2002-12-08 21:11:19 +00:00
Elena Zannoni
57725d84f6
2002-12-06 Elena Zannoni <ezannoni@redhat.com>
...
* Makefile.in (thread-db.o): Add explicit rule to ignore the use of
-Werror on this file.
2002-12-08 21:10:28 +00:00
Andrew Cagney
52f87c5112
2002-12-07 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh (TARGET_FLOAT_FORMAT): Use the macro when printing
the format name.
(TARGET_DOUBLE_FORMAT, TARGET_LONG_DOUBLE_FORMAT): Ditto.
* gdbarch.c: Regenerate.
2002-12-08 20:48:17 +00:00
gdbadmin
8d17420c2d
*** empty log message ***
2002-12-08 00:00:32 +00:00
Elena Zannoni
3d7442da97
2002-12-06 Elena Zannoni <ezannoni@redhat.com>
...
* tuiStack.c (tuiShowFrameInfo): Fix typo.
2002-12-07 03:36:46 +00:00
gdbadmin
99011a86a6
*** empty log message ***
2002-12-07 00:00:04 +00:00
Andrew Cagney
2ca6c56187
2002-12-06 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Rename
INIT_FRAME_PC_FIRST. Change to a function with predicate. Do not
provide a default value.
* gdbarch.h, gdbarch.c: Regenerate.
* frame.c (get_prev_frame): Update. Check
DEPRECATED_INIT_FRAME_PC_FIRST_P.
* s390-tdep.c (s390_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* config/sparc/tm-sparc.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
2002-12-06 19:26:06 +00:00
David Carlton
de46ecd713
2002-12-06 David Carlton <carlton@math.stanford.edu>
...
* gdb.base/store.c: Don't declare functions static.
2002-12-06 19:21:51 +00:00
Elena Zannoni
2b298b5d97
2002-12-06 Elena Zannoni <ezannoni@redhat.com>
...
* ia64-linux-nat.c: Include gdb_string.h.
* alpha-nat.c: Ditto.
* ppc-linux-nat.c: Ditto.
* Makefile.in (ia64-linux-nat.o, alpha-nat.o, ppc-linux-nat.o):
Update dependencies.
2002-12-06 18:38:44 +00:00
Elena Zannoni
e162d11b84
2002-12-06 Elena Zannoni <ezannoni@redhat.com>
...
* ia64-linux-nat.c: Include gdb_string.h.
* alpha-nat.c: Ditto.
* ia64-linux-nat.c: Ditto.
2002-12-06 16:59:05 +00:00
Andrew Cagney
aa0cd9c15b
2002-12-05 Andrew Cagney <ac131313@redhat.com>
...
* gdbthread.h: Include "frame.h".
(struct thread_info): Replace step_frame_address with
step_frame_id.
* inferior.h: Include "frame.h".
(step_frame_id): Replace external variable step_frame_address.
* gdbthread.h (save_infrun_state): Replace step_frame_address
parameter with step_frame_id parameter.
(load_infrun_state): Ditto.
* Makefile.in (gdbthread_h, inferior_h): Add $(frame_h).
* infcmd.c (step_frame_id, step_1, step_once): Update.
* thread.c (load_infrun_state, save_infrun_state): Update.
* infrun.c (clear_proceed_status, save_inferior_status): Update.
(handle_inferior_event, step_over_function): Update.
(normal_stop, context_switch, restore_inferior_status): Update.
(struct inferior_status): Replace step_frame_address with
step_frame_id.
2002-12-06 07:35:55 +00:00
gdbadmin
e149065f83
*** empty log message ***
2002-12-06 00:00:32 +00:00
David Carlton
a9a9bd0f66
2002-12-05 David Carlton <carlton@math.stanford.edu>
...
* dwarf2read.c (dwarf2_add_field): Treat a field that is a
DW_TAG_member as well as a declaration as being a C++ static data
member.
(read_structure_scope): Combine tests for DW_TAG_member and
DW_TAG_variable.
2002-12-05 23:13:47 +00:00
David Carlton
614b3b14dc
2002-12-05 David Carlton <carlton@math.stanford.edu>
...
* linespec.c (decode_compound): New function.
(decode_line_1): Move code into decode_compound.
2002-12-05 22:25:49 +00:00
David Carlton
e4051eebcd
2002-12-05 David Carlton <carlton@math.stanford.edu>
...
* symtab.c (lookup_symbol_aux_local): Add 'static_block'
argument.
(lookup_symbol_aux): Do the 'field_of_this' check before checking
the static block. See PR gdb/804.
2002-12-05 21:26:57 +00:00
David Carlton
f61e8913ab
2002-12-05 David Carlton <carlton@math.stanford.edu>
...
* symtab.c (lookup_symbol_aux_block): New function.
(lookup_symbol_aux_local): Move code into lookup_symbol_aux_block.
2002-12-05 21:07:49 +00:00
Andrew Cagney
1e9f55d0d3
2002-12-05 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh: Dump the predicate function and macro values.
(read): Print error on standard error.
* gdbarch.c: Regenerate.
2002-12-05 15:19:45 +00:00
Kevin Buettner
d1973055b8
Create new file mips-tdep.h.
2002-12-05 05:17:39 +00:00
Andrew Cagney
27e829d037
2002-12-04 Andrew Cagney <ac131313@redhat.com>
...
* gdb.base/store.exp, gdb.base/store.c: New files.
2002-12-05 01:48:19 +00:00
gdbadmin
3c4d32869b
*** empty log message ***
2002-12-05 00:00:02 +00:00
David Carlton
f1253c7b9f
2002-12-04 David Carlton <carlton@math.stanford.edu>
...
* Makefile.in (f-exp.tab.c): Don't depend on c-exp.tab.c.
2002-12-04 23:00:14 +00:00
David Carlton
406bc4de57
2002-12-04 David Carlton <carlton@math.stanford.edu>
...
* symtab.c (lookup_symbol_aux): Move minsym code into a separate
function.
(lookup_symbol_aux_minsyms): New function.
2002-12-04 22:54:59 +00:00
Joel Brobecker
2a3750c548
* pa64solib.c: s/boolean/int/. Fixes a build failure on hppa64-hpux.
2002-12-04 17:53:26 +00:00
Joel Brobecker
961d8652d9
* config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Renamed from IN_SIGTRAMP,
...
which is an obsolete macro name.
2002-12-04 17:37:59 +00:00
Daniel Jacobowitz
38c52d5ab7
* doublest.c (convert_floatformat_to_doublest): Cast exp_bias to int.
...
* config/alpha/alpha-linux.mh (MH_CFLAGS): Add -mieee.
2002-12-04 05:40:40 +00:00
Daniel Jacobowitz
d8ef46f5fa
* breakpoint.c (create_thread_event_breakpoint): Use xasprintf.
...
(create_breakpoints): Make sure the addr_string field is not
NULL.
2002-12-04 04:53:13 +00:00
Andrew Cagney
02ae777101
2002-12-03 Andrew Cagney <ac131313@redhat.com>
...
* sparc-nat.c (fetch_inferior_registers)
(store_inferior_registers): Add comment on problem of LWP vs
threads.
From 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
* lin-lwp.c (lin_lwp_fetch_registers): Remove.
(lin_lwp_store_registers): Remove.
(init_lin_lwp_ops): Use fetch_inferior_registers
and store_inferior_registers directly.
* sparc-nat.c (fetch_inferior_registers): Honor LWP ID.
(store_inferior_registers): Likewise.
Fix PR gdb/725.
2002-12-04 03:20:30 +00:00
Daniel Jacobowitz
92806416b3
* gdb.base/selftest.exp: Update for current gdb.
2002-12-04 03:15:27 +00:00
Daniel Jacobowitz
3bcbaac540
* gdb.base/maint.exp: Only dump symbols from one source file
...
or objfile.
2002-12-04 03:13:22 +00:00
Daniel Jacobowitz
f4f00b1fe5
* gdb.base/step-test.exp: Allow MIPS to return to the line of a
...
function call.
2002-12-04 03:07:45 +00:00
Andrew Cagney
7a424e9969
2002-12-03 Andrew Cagney <ac131313@redhat.com>
...
* frame.h (get_frame_id): Convert to a function.
(null_frame_id, frame_id_p): Declare.
(frame_id_eq, frame_id_inner): Declare.
(frame_id_build): New function.
* frame.c (get_frame_id): Update. Use null_frame_id.
(frame_find_by_id): Rewrite using frame_id_p, frame_id_eq and
frame_id_inner.
(null_frame_id, frame_id_p): Define.
(frame_id_eq, frame_id_inner): Define.
(frame_id_build): New function.
* varobj.c (varobj_create): Update.
(varobj_update): Update.
* valops.c (value_assign): Update.
(new_root_variable): Update.
* infrun.c (save_inferior_status): Update.
* breakpoint.c (watch_command_1): Update.
2002-12-04 00:05:54 +00:00
gdbadmin
179f9f7a5a
*** empty log message ***
2002-12-04 00:00:32 +00:00
Joel Brobecker
891c7f5fcd
* config/pa/tm-hppah.h (SNAP1): Remove unused macro.
...
(SNAP2): Likewise.
2002-12-03 22:13:38 +00:00
Andrew Cagney
46248966cc
2002-12-03 Andrew Cagney <cagney@redhat.com>
...
* NEWS: Mention Daniel Jacobowitz's multi-threaded shared library
patch.
2002-12-03 19:32:10 +00:00
Andrew Cagney
144da3c187
2002-12-03 Andrew Cagney <cagney@redhat.com>
...
* PROBLEMS: Mention PR gdb/725.
2002-12-03 17:15:42 +00:00
Andreas Schwab
03c6228e78
* infcmd.c (construct_inferior_arguments): Handle empty arguments.
2002-12-03 12:25:11 +00:00
Adam Fedor
36e53c6341
* gdb/objc-lang.c (objc_printstr): Add width arg to match
...
printstr prototype.
(compare_selectors): Add 'const' to arg types.
(compare_classes): Likewise.
(find_imps): Cast msym pointer to avoid compiler warning.
(print_object_command): Validate the address before
passing it to the print routine.
(find_objc_msgcall_submethod): Change function argument to
return an int.
* objc-lang.h: Add 'extern' to all function declaration.
(value_nsstring): Add declaration.
2002-12-03 03:52:37 +00:00
Joel Brobecker
504d5c7e6a
* somsolib.c (dld_cache): Replace boolean by int for field is_valid.
...
Fixes a build failure on HP/UX.
* hpread.c (told_objfile): Replace boolean type by int. Fixes a build
failure on HP/UX.
(hpread_has_name): Advance declaration to avoid a compilation warning.
(pst_syms_count): Add missing variable type. By change, the compiler
was defaulting to int, which seems a good choice. Fixes a compilation
warning.
(pst_syms_size): Likewise.
2002-12-03 00:13:45 +00:00
gdbadmin
07c0b9a747
*** empty log message ***
2002-12-03 00:00:32 +00:00
Joel Brobecker
59623e2707
* hppa-tdep.c: Add #include "osabi.h" (for hppa_gdbarch_init).
...
(hppa_gdbarch_init): Detect osabi from objfile. Will be needed
later to set the proper gdbarch methods depending on the osabi.
* Makefile.in (hppa-tdep.o): Add dependency on osabi.h.
2002-12-02 23:30:34 +00:00