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
Joel Brobecker
a09a320d6f
* osabi.h (gdb_osabi): Add two new enum values for HPUX ELF and SOM.
...
* osabi.c (gdb_osabi_name): Add strings images for the two new
enum values.
(generic_elf_osabi_sniffer): Handle HPUX objfiles.
2002-12-02 23:26:30 +00:00
Andrew Cagney
23b7d5f34e
Fix tipo.
2002-12-02 20:44:48 +00:00
Andrew Cagney
8a81a99e85
2002-12-02 Andrew Cagney <ac131313@redhat.com>
...
* MAINTAINERS (Java): Global maintainers are responible for Java.
(Past Maintainers): Mention both Anthony Green and Per Bothner as
part Java maintainers.
2002-12-02 19:54:17 +00:00
Joel Brobecker
7af35dad04
* xcoffread.c (read_symbol_lineno): Replace type boolean by int.
...
Fixes a compilation failure on AiX.
2002-12-02 16:45:05 +00:00
Joel Brobecker
f4ede9bc95
* config/powerpc/aix432.mh (NATDEPFILES): Add a comment explaining
...
why aix-thread.o is not listed.
2002-12-02 15:44:50 +00:00
gdbadmin
e2187552e1
*** empty log message ***
2002-12-02 00:00:32 +00:00
Andrew Cagney
ae45cd1682
2002-12-01 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Rename
PC_IN_CALL_DUMMY. Change to predicate. Always allow call.
* gdbarch.h, gdbarch.c: Re-generate.
* config/sparc/tm-sparc.h, config/sparc/tm-sp64.h: Update.
* config/mn10200/tm-mn10200.h, config/h8500/tm-h8500.h: Update.
* config/pa/tm-hppa.h, frame.h: Update.
* x86-64-tdep.c, vax-tdep.c, sparc-tdep.c: Update.
* s390-tdep.c, ns32k-tdep.c, mn10300-tdep.c: Update.
* m68k-tdep.c, i386-tdep.c, frv-tdep.c: Update.
* cris-tdep.c, alpha-tdep.c: Update.
* frame.c (set_unwind_by_pc, create_new_frame): Use either
DEPRECATED_PC_IN_CALL_DUMMY or pc_in_dummy_frame.
(get_prev_frame): Ditto.
Index: doc/ChangeLog
2002-12-01 Andrew Cagney <ac131313@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
PC_IN_CALL_DUMMY.
2002-12-01 19:07:16 +00:00
gdbadmin
e5ad458f5f
*** empty log message ***
2002-12-01 00:00:33 +00:00
Andrew Cagney
020cc13c3a
2002-11-30 Andrew Cagney <cagney@redhat.com>
...
* exec.c (xfer_memory): Replace boolean with int.
* p-exp.y: Use 0 instead of false.
* corelow.c (gdb_check_format): Change return type to int from
boolean.
* utils.c: Don't include <curses.h> or <term.h> first.
2002-11-30 16:33:55 +00:00
gdbadmin
a0445c3fae
*** empty log message ***
2002-11-30 00:00:33 +00:00
Stephane Carrez
1d9b2aa8d8
* m68hc11-tdep.c (m68hc11_register_raw_size): Remove.
...
(m68hc11_register_byte): Remove.
(m68hc11_gdbarch_init): Don't set the above.
2002-11-29 20:42:15 +00:00
Andrew Cagney
a193e39718
2002-11-29 Andrew Cagney <cagney@redhat.com>
...
* remote-mips.c (mips_initialize): Force a selected frame rebuild
by calling get_selected_frame.
* ocd.c (ocd_start_remote): Use get_selected frame instead of
set_current_frame, create_new_frame, select_frame and
get_current_frame.
* remote-e7000.c (e7000_start_remote): Ditto.
* remote-mips.c (common_open): Ditto
* remote-rdp.c (remote_rdp_open): Ditto.
2002-11-29 19:40:30 +00:00
Andreas Schwab
b5fc49aa64
* m68k-tdep.c (m68k_frame_chain, m68k_frame_saved_pc)
...
(altos_skip_prologue, delta68_frame_saved_pc, isi_frame_num_args)
(delta68_frame_num_args, news_frame_num_args, m68k_skip_prologue)
(m68k_frame_init_saved_regs, m68k_saved_pc_after_call): Use
read_memory_unsigned_integer instead of read_memory_integer when
dealing with addresses and instruction opcodes.
* m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc)
(m68k_linux_frame_saved_pc): Likewise.
2002-11-29 19:33:17 +00:00
Andrew Cagney
6e7f8b9cba
2002-11-29 Andrew Cagney <ac131313@redhat.com>
...
* stack.c (selected_frame, select_frame): Move from here ...
* frame.c (selected_frame, select_frame): ... to here. Include
"language.h".
* Makefile.in (frame.o): Update dependencies.
* frame.c (get_selected_frame): New function.
* frame.h (get_selected_frame): Declare.
(deprecated_selected_frame): Rename selected_frame.
* ada-lang.c, ada-tasks.c, breakpoint.c, corelow.c: Update.
* eval.c, f-valprint.c, findvar.c, frame.c, frame.h: Update.
* h8300-tdep.c, h8500-tdep.c, hppa-tdep.c, infcmd.c: Update.
* inflow.c, infrun.c, macroscope.c, mips-tdep.c: Update.
* mn10300-tdep.c, ocd.c, regcache.h, remote-e7000.c: Update.
* remote-mips.c, remote-rdp.c, sh-tdep.c, sparc-tdep.c: Update.
* stack.c, thread.c, tracepoint.c, valops.c, varobj.c: Update.
* z8k-tdep.c, cli/cli-cmds.c: Update.
Index: mi/ChangeLog
2002-11-29 Andrew Cagney <ac131313@redhat.com>
* mi/mi-cmd-stack.c, mi/mi-main.c: Update to use
deprecated_selected_frame.
Index: tui/ChangeLog
2002-11-29 Andrew Cagney <ac131313@redhat.com>
* tui/tui-hooks.c: Update to use deprecated_selected_frame.
* tui/tui.c, tui/tuiDisassem.c, tui/tuiRegs.c: Ditto.
* tui/tuiSource.c, tui/tuiSourceWin.c, tui/tuiWin.c: Ditto.
2002-11-29 19:15:16 +00:00
Andrew Cagney
805e2818d6
2002-11-29 Andrew Cagney <ac131313@redhat.com>
...
* frame.h (get_selected_block): Add comments.
2002-11-29 15:39:51 +00:00
Andrew Cagney
fe67b6c54e
Fix tipo in changelog.
2002-11-29 01:59:08 +00:00
Andrew Cagney
1058bca748
2002-11-28 Andrew Cagney <ac131313@redhat.com>
...
* frame.c (pc_notcurrent): New function.
(find_frame_sal): New function.
* frame.h (find_frame_sal): Declare.
(struct symtab_and_line): Add opaque declaration.
* stack.c (print_frame_info_base): Use find_pc_line instead of
find_frame_sal.
(frame_info): Ditto.
* ada-lang.c (find_printable_frame): Ditto.
Index: tui/ChangeLog
2002-11-28 Andrew Cagney <ac131313@redhat.com>
* tuiStack.c (tuiShowFrameInfo): Use find_frame_sal instead of
find_pc_line.
2002-11-29 01:52:02 +00:00
Joel Brobecker
d92419e5e9
* configure.in: Check that the pthdebug library is recent enough
...
before enabling thread support on native AiX.
* configure: Regenerate.
* config/powerpc/aix432.mh (NATDEPFILES): Remove aix-thread.o
from the list of object files as it is now appended by configure
if thread support is enabled.
(NAT_CLIBS): Removed as -lpthdebug is also appended by configure
if thread support is enabled.
2002-11-29 00:30:06 +00:00
Andrew Cagney
8c69fc49d5
2002-11-28 Andrew Cagney <cagney@redhat.com>
...
* stack.c (get_selected_block): In-line get_current_block.
* frame.h (get_current_block): Delete declaration.
* blockframe.c (get_current_block): Delete function.
2002-11-29 00:15:48 +00:00
gdbadmin
f4927fa2f2
*** empty log message ***
2002-11-29 00:00:02 +00:00
Andrew Cagney
07555a7286
2002-11-28 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Rename
USE_GENERIC_DUMMY_FRAMES.
* gdbarch.h, gdbarch.c: Regenerate.
* valops.c, frame.c: Update.
* config/z8k/tm-z8k.h, config/mn10200/tm-mn10200.h: Update.
* config/m32r/tm-m32r.h, config/h8500/tm-h8500.h: Update.
* config/pa/tm-hppa.h, blockframe.c: Update.
* vax-tdep.c, sparc-tdep.c, ns32k-tdep.c: Ditto.
* m68k-tdep.c, alpha-tdep.c: Ditto.
* arm-tdep.c: Eliminate USE_GENERIC_DUMMY_FRAMES as always 1.
* mips-tdep.c: Ditto.
Index: doc/ChangeLog
2002-11-28 Andrew Cagney <ac131313@redhat.com>
* gdbint.texinfo (Host Definition): Delete documentation on
USE_GENERIC_DUMMY_FRAMES.
2002-11-28 21:38:44 +00:00
Andrew Cagney
b99fa2d295
2002-11-27 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh (CALL_DUMMY_LOCATION): Default to AT_ENTRY_POINT.
(USE_GENERIC_DUMMY_FRAMES): Default to true.
(PC_IN_CALL_DUMMY): Default to generic_pc_in_call_dummy.
* gdbarch.c, gdbarch.h: Re-generate.
* inferior.h (USE_GENERIC_DUMMY_FRAMES): Delete macro definition.
(CALL_DUMMY_LOCATION): Delete macro definition.
(PC_IN_CALL_DUMMY): Delete macro definitions.
* arm-tdep.c (arm_gdbarch_init): Do not set pc_in_call_dummy,
default is already generic_pc_in_call_dummy.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Do not set
use_generic_dummy_frames, default is already 1.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
* x86-64-tdep.c (x86_64_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
call_dummy_location, default is already AT_ENTRY_POINT.
* x86-64-tdep.c (x86_64_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_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.
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
2002-11-28 18:15:59 +00:00
Andrew Cagney
abc0af478d
2002-11-28 Andrew Cagney <cagney@redhat.com>
...
* frame.h: Update comments on set_current_frame, create_new_frame,
flush_cached_frames, reinit_frame_cache, select_frame and
selected_frame.
2002-11-28 17:11:41 +00:00
Joel Brobecker
c41b7eb1be
* configure: Regenerate with the proper version of autoconf.
2002-11-28 04:41:33 +00:00
gdbadmin
6ceea2174f
*** empty log message ***
2002-11-28 00:00:03 +00:00
Andrew Cagney
ed5cedc515
2002-11-27 Andrew Cagney <cagney@redhat.com>
...
* config/z8k/tm-z8k.h (PC_IN_CALL_DUMMY): Update definition to use
deprecated pc_in_call_dummy function.
* config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Ditto.
* config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Ditto.
* config/pa/tm-hppa.h (PC_IN_CALL_DUMMY): Ditto.
* config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Ditto.
* config/h8500/tm-h8500.h (PC_IN_CALL_DUMMY): Ditto.
2002-11-27 20:44:10 +00:00
Martin Hunt
b2a1bd4fcf
2002-11-26 Martin M. Hunt <hunt@redhat.com>
...
* Makefile.in: Remove Tix dependencies.
* acinclude.m4: Ditto.
* aclocal.m4: Ditto.
* configure.in: Ditto.
* configure: Regenerated.
2002-11-27 19:13:10 +00:00
Andrew Cagney
f09cffaa4a
2002-11-26 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh (TARGET_FLOAT_FORMAT): Print the float format name.
(TARGET_DOUBLE_FORMAT, TARGET_LONG_DOUBLE_FORMAT): Ditto.
* gdbarch.c: Re-generate.
2002-11-27 15:50:32 +00:00
Andrew Cagney
e92b0cc9b1
2002-11-26 Andrew Cagney <ac131313@redhat.com>
...
* config/h8500/tm-h8500.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
(USE_GENERIC_DUMMY_FRAMES): Define as zero.
(PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack.
* config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Define as
pc_in_call_dummy_at_entry_point.
* config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
(USE_GENERIC_DUMMY_FRAMES): Define as zero.
(PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack.
* config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Delete undefine.
* config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Define as
pc_in_call_dummy_on_stack.
* config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Redefine as
pc_in_call_dummy_at_entry_point and pc_in_call_dummy_on_stack.
* config/z8k/tm-z8k.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
(USE_GENERIC_DUMMY_FRAMES): Define as zero.
(PC_IN_CALL_DUMMY): Defile as pc_in_call_dummy_on_stack.
2002-11-27 01:08:50 +00:00
gdbadmin
d80d5cb9b1
*** empty log message ***
2002-11-27 00:00:33 +00:00
Elena Zannoni
c166cdc7eb
2002-11-26 Elena Zannoni <ezannoni@redhat.com>
...
Fix PR gdb/723 and PR gdb/245.
* Makefile.in (install-info): Run the install-info command as part
of the post install steps only.
(uninstall-info): New target.
(uninstall): New target.
2002-11-26 22:44:37 +00:00
Andrew Cagney
b4b8817765
2002-11-26 Andrew Cagney <ac131313@redhat.com>
...
* inferior.h (deprecated_pc_in_call_dummy_before_text_end): Rename
pc_in_call_dummy_before_text_end
(deprecated_pc_in_call_dummy_after_text_end): Rename
pc_in_call_dummy_after_text_end.
(deprecated_pc_in_call_dummy_on_stack): Rename
pc_in_call_dummy_on_stack.
(deprecated_pc_in_call_dummy_at_entry_point): Rename
pc_in_call_dummy_at_entry_point.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_gdbarch_init): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Update.
* blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
(deprecated_pc_in_call_dummy_after_text_end)
(deprecated_pc_in_call_dummy_on_stack)
(deprecated_pc_in_call_dummy_at_entry_point): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
2002-11-26 19:01:30 +00:00
Daniel Jacobowitz
eb78484829
* acconfig.h (HAVE_PREAD64): Add.
...
* configure.in: Check for pread64.
* config.in: Regenerated.
* configure: Regenerated.
* lin-lwp.c (lin_lwp_xfer_memory): Call linux_proc_xfer_memory.
* linux-proc.c (linux_proc_xfer_memory): New function.
* config/nm-linux.h (linux_proc_xfer_memory): Add prototype.
2002-11-26 01:23:46 +00:00
gdbadmin
afbfa4076a
*** empty log message ***
2002-11-26 00:00:03 +00:00
David Carlton
933c6fe40c
2002-11-25 David Carlton <carlton@math.stanford.edu>
...
* dwarf2read.c (scan_partial_symbols): Descend into namespace
pdi's with no name.
2002-11-25 22:01:39 +00:00
Andrew Cagney
158a8022ae
2002-11-25 Andrew Cagney <ac131313@redhat.com>
...
* MAINTAINERS: Mark h8500 as broken. Breakage occured Fri Nov 5
16:32:04 1999 Andrew Cagney <cagney@b1.cygnus.com>.
2002-11-25 21:07:51 +00:00
Jim Blandy
e828957292
* symfile.c (init_objfile_sect_indices): New function.
...
(default_symfile_offsets): Move the section-index-initializing
stuff into init_objfile_sect_indices, and call that.
2002-11-25 21:00:51 +00:00
Jim Blandy
b29c9944fa
* symtab.h (SIZEOF_N_SECTION_OFFSETS): New macro.
...
(SIZEOF_SECTION_OFFSETS): Use SIZEOF_N_SECTION_OFFSETS.
2002-11-25 20:31:06 +00:00
Jim Blandy
13de58df8b
* symfile.c (syms_from_objfile): Adjust indentation.
2002-11-25 20:11:35 +00:00
Jim Blandy
481d0f4121
* symfile.c (symbol_file_add): Flush gdb_stdout even if from_tty
...
|| info_verbose isn't true.
2002-11-25 20:01:06 +00:00
Jim Blandy
f1c8a9492e
* lib/mi-support.exp (mi_delete_breakpoints): Change name of
...
function appearing in error message.
2002-11-25 19:54:09 +00:00
Andrew Cagney
7d6a26a7dc
2002-11-24 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Change
default to get_frame_base.
* gdbarch.h, gdbarch.c: Regenerate.
* arch-utils.c (default_frame_address): Delete function.
* arch-utils.h (default_frame_address): Delete declaration
2002-11-25 04:47:56 +00:00
gdbadmin
aeb5439ec8
*** empty log message ***
2002-11-25 00:00:02 +00:00
Pierre Muller
6abe1021c1
2002-11-24 Pierre Muller <muller@ics.u-strasbg.fr>
...
* varobj.c (find_frame_addr_in_frame_chain):
Use get_frame_base instead of FRAME_FP,
obvious fix.
2002-11-24 23:05:03 +00:00
Andrew Cagney
c193f6ac9c
2002-11-19 Andrew Cagney <ac131313@redhat.com>
...
* frame.h (FRAME_FP): Delete macro.
(get_frame_base): New function declaration.
* frame.c (get_frame_base): New function.
(get_frame_id): Use ->frame.
(frame_find_by_id): Rewrite to use get_frame_id.
* blockframe.c: Use get_frame_base instead of FRAME_FP.
* cris-tdep.c, d10v-tdep.c, findvar.c, h8500-tdep.c: Ditto.
* hppa-tdep.c, i386-tdep.c, infcmd.c, infrun.c: Ditto.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
* mn10200-tdep.c, mn10300-tdep.c, rs6000-tdep.c: Ditto.
* sh-tdep.c, sparc-tdep.c, stack.c, tracepoint.c: Ditto.
* v850-tdep.c, valops.c, z8k-tdep.c: Ditto.
2002-11-24 19:48:13 +00:00
Andrew Cagney
e5d2af146b
2002-11-24 Andrew Cagney <ac131313@redhat.com>
...
* arm-tdep.c (arm_gdbarch_init): Do not set get_saved_register.
2002-11-24 18:23:37 +00:00
Andrew Cagney
931d12c681
2002-11-24 Andrew Cagney <ac131313@redhat.com>
...
* frame.c (set_unwind_by_pc): Revert change below, use
PC_IN_CALL_DUMMY.
(get_prev_frame): Ditto.
2002-11-24 15:41:59 +00:00
Andrew Cagney
5e0f933e90
2002-11-24 Andrew Cagney <ac131313@redhat.com>
...
* dummy-frame.c (pc_in_dummy_frame): New function.
(generic_pc_in_call_dummy): Call pc_in_dummy_frame.
(find_dummy_frame): Update comment.
(generic_pop_current_frame): Use get_frame_type.
* dummy-frame.h (pc_in_dummy_frame): Declare.
* frame.c (set_unwind_by_pc): Use pc_in_dummy_frame.
(create_new_frame): Use pc_in_dummy_frame.
(get_prev_frame): Use pc_in_dummy_frame.
(frame_saved_regs_register_unwind): Use get_prev_frame.
(deprecated_generic_get_saved_register): Use get_prev_frame.
2002-11-24 15:06:08 +00:00
Andrew Cagney
7d8547c960
2002-11-23 Andrew Cagney <ac131313@redhat.com>
...
* blockframe.c (find_frame_addr_in_frame_chain): Move function
from here ...
* varobj.c (find_frame_addr_in_frame_chain): ... to here.
(varobj_create): Note that frame ID should be used.
* frame.h (find_frame_addr_in_frame_chain): Delete declaration.
2002-11-24 14:16:38 +00:00
Andrew Cagney
0225421b7c
2002-11-23 Andrew Cagney <ac131313@redhat.com>
...
* breakpoint.c: Include "gdb_assert.h".
(deprecated_frame_in_dummy): Assert that generic dummy frames are
not being used.
* Makefile.in (breakpoint.o): Update dependencies.
* ada-lang.c (find_printable_frame): Use get_frame_type instead of
deprecated_frame_in_dummy.
* stack.c (print_frame_info_base): Ditto.
(frame_info): Ditto.
(print_frame_info_base): Ditto. Delete dead code.
Index: tui/ChangeLog
2002-11-23 Andrew Cagney <ac131313@redhat.com>
* tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of
deprecated_frame_in_dummy. Fix coding style.
2002-11-24 03:20:09 +00:00
gdbadmin
86a2cbee55
*** empty log message ***
2002-11-24 00:00:03 +00:00
Andreas Schwab
32eeb91a76
* Makefile.in (m68k_tdep_h): Define.
...
(abug-rom.o, cpu32bug-rom.o, dbug-rom.o, m68k-tdep.o, m68klinux-nat.o)
(remote-est.o, rom68k-rom.o): Add $(m68k_tdep_h).
* m68k-tdep.c: Move register number enum ...
* m68k-tdep.h: ... to this new file and rename the constants from
E_* to M68K_*. All uses changed.
* config/m68k/tm-m68k.h (D0_REGNUM, A0_REGNUM): Remove definitions.
* abug-rom.c: Include "m68k-tdep.h". Use
M68K_D0_REGNUM/M68K_A0_REGNUM instead of D0_REGNUM/A0_REGNUM.
* cpu32bug-rom.c: Likewise.
* dbug-rom.c: Likewise.
* m68k-tdep.c: Likewise.
* m68klinux-nat.c: Likewise.
* remote-est.c: Likewise.
* rom68k-rom.c: Likewise.
* config/m68k/tm-linux.h: Likewise.
2002-11-23 19:45:12 +00:00
Andrew Cagney
9648bac836
2002-11-23 Andrew Cagney <ac131313@redhat.com>
...
* arm-tdep.c (arm_gdbarch_init): Remove old style non-generic
dummy frame initialization code.
* mips-tdep.c (mips_gdbarch_init): Ditto.
2002-11-23 17:17:29 +00:00
Christopher Faylor
91a175b3f1
* win32-nat.c (child_attach): Reset saw_create counter or subsequent attach
...
will hang.
2002-11-23 02:49:45 +00:00
Andrew Cagney
f4ded5b121
2002-11-22 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Default
to default_frame_address.
* gdbarch.h, gdbarch.c: Re-generate.
* d10v-tdep.c (d10v_gdbarch_init): Do not set frame_args_address
or frame_locals_address to default_frame_address.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_gdbarch_init): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* cris-tdep.c (cris_frame_args_address): Delete function.
(cris_frame_locals_address): Delete function.
(cris_gdbarch_init): Do not set frame_args_address or
frame_locals_address.
2002-11-23 01:39:25 +00:00
Michael Snyder
f7c1e0f3da
2002-11-22 Michael Snyder <msnyder@redhat.com>
...
* thread-db.c (thread_db_load): Tell the user what's going on
if dlopen fails on libthread_db.
2002-11-23 01:34:43 +00:00
gdbadmin
6a0f58b7bc
*** empty log message ***
2002-11-23 00:00:02 +00:00
Andreas Schwab
03dac896be
* m68k-tdep.c (m68k_register_virtual_type): Use architecture
...
invariant return values.
2002-11-22 23:59:20 +00:00
Elena Zannoni
35db026050
2002-11-22 Elena Zannoni <ezannoni@redhat.com>
...
* Makefile.in (install): Make 'install' do some real work.
2002-11-22 21:02:20 +00:00
Jim Blandy
f81a4d0bea
Revert previous change --- the hour was late, and I was confused about
...
its status.
2002-11-22 19:07:28 +00:00
Andreas Schwab
7a67d0fe2b
* valops.c (value_slice): Move declaration of `offset' to avoid
...
warning.
2002-11-22 16:32:45 +00:00
Christopher Faylor
5633f84268
* win32-nat.c (psapi_get_dll_name): Fix a compiler warning.
...
(struct so_stuff): Add end_addr field.
(register_loaded_dll): Calculate and store end address of loaded dll.
(solib_address): New function.
(child_solib_loaded_library_pathname): Pass carefully constructed section info
to safe_symbol_file_add rather than ignoring it.
(get_child_debug_event): Call re_enable_breakpoints_in_shlibs when a DLL is
loaded.
(do_initial_child_stuff): Call disable_breakpoints_in_shlibs.
(child_create_inferior): Fix a compiler warning.
* config/i386/tm-cygwin.h (PC_SOLIB): Define new macro.
(solib_address): Declare new function.
2002-11-22 07:34:55 +00:00
Jim Blandy
b6d3ce7015
* gdb.base/step-line.exp: Check that GDB can handle filenames that
...
appear in the line number info, but not in the preprocessor macro
info.
* lib/gdb.exp (gdb_internal_error_regexp): New variable.
(gdb_internal_error_resync): New procedure.
(gdb_test): If the command results in an internal error,
answer GDB's questions until we get back to a prompt.
2002-11-22 07:00:37 +00:00
Daniel Jacobowitz
9e297a9744
* gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2002-11-22 04:31:21 +00:00
Andreas Schwab
d85fe7f7fa
* m68k-tdep.c (m68k_register_virtual_type): Return int for SR, FPC
...
and FPS registers.
2002-11-22 00:02:03 +00:00
gdbadmin
a3ced1cbd6
*** empty log message ***
2002-11-22 00:00:02 +00:00
Stephane Carrez
9c393d00b5
* tui-hooks.c (tui_init_hook): Don't enable the TUI if a specific
...
interpreter is installed.
2002-11-21 21:25:22 +00:00
Daniel Jacobowitz
8308e54c58
* maint.c (_initialize_maint_cmds): Fix typo. From
...
Francesco Potorti` <pot@gnu.org>.
2002-11-21 19:38:02 +00:00
Andrew Cagney
8997bd5e3f
2002-11-21 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_dump_tdep): Delete references to
GDB_TARGET_UNMASK_DISAS_PC and GDB_TARGET_MASK_DISAS_PC.
* config/mips/tm-mips.h (GDB_TARGET_MASK_DISAS_PC): Delete macro.
(GDB_TARGET_UNMASK_DISAS_PC): Delete macro.
* printcmd.c (build_address_symbolic): Delete calls to
GDB_TARGET_UNMASK_DISAS_PC and GDB_TARGET_MASK_DISAS_PC.
(address_info): Ditto.
Fix PR gdb/773.
2002-11-21 18:54:44 +00:00
gdbadmin
444d9f96ab
*** empty log message ***
2002-11-21 00:00:33 +00:00
Daniel Jacobowitz
a1358604f1
* linux-s390-low.c (s390_regmap): Check GPR_SIZE instead of
...
defined(PT_FPR0_HI).
2002-11-20 16:31:08 +00:00
Klee Dienes
4e87b8328c
2002-11-19 Klee Dienes <kdienes@apple.com>
...
Adam Fedor <fedor@gnu.org>
* completer.c (skip_quoted_chars): Renamed from skip_chars. Add
the ability to explicitly specify the quote characters and word
break characters; if NULL is specified for either, use the old
behavior of using the characters used by the completer.
(skip_chars): New function. Convenience wrapper around
skip_quoted_chars to provide the original skip_chars behavior.
* completer.h (skip_quoted_chars): Add prototype.
2002-11-20 08:58:01 +00:00
Andrew Cagney
9ba8d803d0
2002-11-19 Andrew Cagney <ac131313@redhat.com>
...
Problems reported by Paul Eggert.
* gdbarch.sh: Use `sort -k 3`. Fix PR gdb/527.
Index: doc/ChangeLog
2002-11-19 Andrew Cagney <ac131313@redhat.com>
Fix POSIX problem reported by Paul Eggert.
* Makefile.in (GDBvn.texi): Use `sed q' instead of `head -1'.
2002-11-20 00:47:59 +00:00
gdbadmin
e8bce06be3
*** empty log message ***
2002-11-20 00:00:34 +00:00
Andreas Schwab
0a59580323
* m68klinux-nat.c (IS_SIGTRAMP, IS_RT_SIGTRAMP)
...
(m68k_linux_in_sigtramp, SIGCONTEXT_PC_OFFSET)
(UCONTEXT_PC_OFFSET, m68k_linux_sigtramp_saved_pc)
(m68k_linux_frame_saved_pc): Move to ...
* m68klinux-tdep.c: ... here. New file.
* Makefile.in (m68klinux-tdep.o): Add dependencies.
* config/m68k/linux.mt (TDEPFILES): Add m68klinux-tdep.o.
2002-11-19 23:14:45 +00:00
Adam Fedor
e8afa4d797
Revert to old skip_quoted usage.
2002-11-19 15:23:58 +00:00
Adam Fedor
a76c9d7283
* Makefile.in (SFILES): Add objc-exp.y objc-lang.c.
...
(objc_lang_h): Define.
(YYFILES): Add objc-exp.tab.c.
(local-maintainer-clean): Remove objc-exp.tab.c.
(objc-exp.tab.c, objc-exp.tab.o, objc-lang.o): New target.
2002-11-19 15:17:50 +00:00
Pierre Muller
fd0e9d45dd
2002-11-19 Pierre Muller <muller@ics.u-strasbg.fr>
...
* p-exp.y (typecast rule): Add automatic dereference of
pascal classes if needed.
(THIS): Set current_type.
Automatically dereference pascal classes.
(typebase rule): Add ^typebase recognition.
2002-11-19 12:44:43 +00:00
Adam Fedor
82eeeb9451
* expprint.c (print_subexp): Handle OP_OBJC_NSSTRING,
...
OP_OBJC_MSGCALL, and OP_OBJC_SELF.
(op_name): Handle OP_OBJC_SELF.
* Makefile.in (expprint.o): Add additional depends.
2002-11-19 03:36:44 +00:00
Adam Fedor
646df18d28
* expression.h: Rename ObjC ops to OP_OBJC_MSGCALL,
...
OP_OBJC_SELECTOR, OP_OBJC_NSSTRING, and OP_OBJC_SELF.
* parse.c (length_of_subexp, prefixify_subexp): Likewise.
* objc-exp.y: Likewise.
2002-11-19 03:23:40 +00:00
Adam Fedor
379b85dfc1
gdb/parser-defs.h: (struct objc_class_str): New structure
...
for parsing ObjC classes.
2002-11-19 03:15:01 +00:00
Andrew Cagney
85cf597a18
2002-11-18 Andrew Cagney <ac131313@redhat.com>
...
* stack.c (frame_relative_level): Copy function from here ...
* frame.c (frame_relative_level): ...to here.
2002-11-19 00:46:00 +00:00
gdbadmin
66b7e2229f
*** empty log message ***
2002-11-19 00:00:35 +00:00
Andrew Cagney
5a203e4405
2002-11-18 Andrew Cagney <ac131313@redhat.com>
...
* frame.h (enum frame_type): Define.
(get_frame_type): Declare.
(struct frame_info): Add field `type'. Delete field
signal_handler_caller.
(deprecated_set_frame_signal_handler_caller): Declare.
* frame.c (get_frame_type): New function.
(deprecated_set_frame_type): New function.
(create_new_frame): Set the frame's type.
(get_prev_frame): Similar.
* sparc-tdep.c: Use get_frame_type instead of signal_handler_caller.
* s390-tdep.c: Ditto.
* m68klinux-nat.c: Ditto.
* ns32k-tdep.c: Ditto.
* x86-64-linux-tdep.c: Ditto.
* vax-tdep.c: Ditto.
* rs6000-tdep.c: Ditto.
* ppc-linux-tdep.c: Ditto.
* i386-interix-tdep.c: Ditto.
* mips-tdep.c: Ditto.
* m68k-tdep.c: Ditto.
* hppa-tdep.c: Ditto.
* ia64-tdep.c: Ditto.
* cris-tdep.c: Ditto.
* arm-tdep.c: Ditto.
* alpha-tdep.c: Ditto.
* i386-tdep.c: Ditto.
* stack.c: Ditto.
* ada-lang.c: Ditto.
* blockframe.c: Update.
* i386-interix-tdep.c (i386_interix_back_one_frame): Use
deprecated_set_frame_type instead of signal_handler_caller.
* ppc-linux-tdep.c (ppc_linux_init_extra_frame_info): Ditto.
* rs6000-tdep.c (rs6000_init_extra_frame_info): Ditto.
* breakpoint.h: Delete FIXME suggesting get_frame_type.
Index: tui/ChangeLog
2002-11-18 Andrew Cagney <ac131313@redhat.com>
* tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of
signal_handler_caller.
2002-11-18 22:19:33 +00:00
Klee Dienes
bf4ae8b20c
2002-11-18 Klee Dienes <kdienes@apple.com>
...
* Makefile.in (buildsym.o): Add dependency for gdb_assert.h.
2002-11-18 21:53:31 +00:00
Klee Dienes
a672ef1326
2002-11-18 Klee Dienes <kdienes@apple.com>
...
* buildsym.c (pop_context): Add comment.
2002-11-18 20:57:55 +00:00
Klee Dienes
0c5e171aed
2002-11-18 Klee Dienes <kdienes@apple.com>
...
* buildsym.h (pop_context): Convert to function, defined in
buildsym.c.
* buildsym.c: Include gdb_assert.h.
(pop_context): Implement as C function. Add check for stack
underflow.
* dbxread.c (process_one_symbol): Complain and stop processing
that symbol if we are already at the top of the context stack for
a function-end N_FUN (this would imply an umatched RBRAC). Ditto
when processing N_RBRAC.
2002-11-18 19:14:10 +00:00
Daniel Jacobowitz
23ce3b1cd0
* linux-arm-low.c (arm_num_regs): Increase.
...
(arm_regmap): Include status register.
* linux-low.c (register_addr): Remove incorrect -1 check.
2002-11-18 00:37:50 +00:00
gdbadmin
aaa824b549
*** empty log message ***
2002-11-18 00:00:05 +00:00
gdbadmin
3d4fbb13e5
*** empty log message ***
2002-11-17 00:00:33 +00:00
Daniel Jacobowitz
8a1f4c4c14
* config/pa/nm-hppah.h (CHILD_POST_FOLLOW_INFERIOR_BY_CLONE): Don't
...
define.
(struct target_waitstatus): Add opaque definition.
* corelow.c (init_core_ops): Don't set to_clone_and_follow_inferior.
* exec.c (init_exec_ops): Likewise.
* fork-child.c (clone_and_follow_inferior): Remove.
* hppah-nat.c (child_post_follow_inferior_by_clone): Remove.
* inferior.h (clone_and_follow_inferior): Remove prototype.
* infrun.c (follow_fork_mode_both): Remove.
(follow_fork_mode_kind_names): Remove commented out "both".
(follow_inferior_fork): Remove follow_fork_mode_both support.
* inftarg.c (child_clone_and_follow_inferior): Remove.
(child_post_follow_inferior_by_clone): Remove.
(init_child_ops): Don't set to_clone_and_follow_inferior
or to_post_follow_inferior_by_clone.
* target.c (default_clone_and_follow_inferior): Remove.
(cleanup_target): Don't set to_clone_and_follow_inferior
or to_post_follow_inferior_by_clone.
(find_default_clone_and_follow_inferior): Remove.
(init_dummy_target): Don't set to_clone_and_follow_inferior.
(debug_to_clone_and_follow_inferior): Remove.
(debug_to_post_follow_inferior_by_clone): Remove.
(setup_target_debug): Don't set to_clone_and_follow_inferior
or to_post_follow_inferior_by_clone.
* target.h (struct target_ops): Remove to_clone_and_follow_inferior
and to_post_follow_inferior_by_clone.
(child_clone_and_follow_inferior): Remove prototype.
(child_post_follow_inferior_by_clone): Remove prototype.
(target_clone_and_follow_inferior): Remove macro.
(target_post_follow_inferior_by_clone): Remove macro.
(find_default_clone_and_follow_inferior): Remove prototype.
2002-11-16 19:23:52 +00:00
Daniel Jacobowitz
47932f85ce
* breakpoint.c (bpstat_stop_status): Call inferior_has_forked,
...
inferior_has_vforked, and inferior_has_execd instead of
target_has_forked, target_has_vforked, and target_has_execd.
* config/pa/nm-hppah.h (CHILD_HAS_FORKED, CHILD_HAS_VFORKED)
(CHILD_HAS_EXECD, CHILD_HAS_SYSCALL_EVENT): Don't define.
(CHILD_WAIT): Define.
(child_wait): Add prototype.
* hppah-nat.c (hpux_has_forked): Rename from child_has_forked.
Add prototype.
(hpux_has_vforked): Likewise, from child_has_vforked.
(hpux_has_execd): Likewise, from child_has_execd.
(hpux_has_syscall_event): Likewise, from child_has_syscall_event.
(not_same_real_pid, child_wait): New, copied from inftarg.c.
Call hpux_has_forked, hpux_has_vforked, hpux_has_execd,
and hpux_has_syscall_event instead of the target hooks.
* infrun.c (inferior_has_forked, inferior_has_vforked)
(inferior_has_execd): New functions.
* inftarg.c (not_same_real_pid): Remove.
(child_wait): Remove references to not_same_real_pid,
target_has_forked, target_has_vforked, target_has_execd,
and target_has_syscall_event.
(child_has_forked, child_has_vforked, child_has_execd)
(child_has_syscall_event): Remove.
(init_child_ops): Remove references to child_has_forked,
child_has_vforked, child_has_execd, and child_has_syscall_event.
* infttrace.c (hpux_has_forked): Rename from child_has_forked.
(hpux_has_vforked): Likewise, from child_has_vforked.
(hpux_has_execd): Likewise, from child_has_execd.
(hpux_has_syscall_event): Likewise, from child_has_syscall_event.
* target.c (cleanup_target): Remove references to
to_has_forked, to_has_vforked, to_has_execd, and
to_has_syscall_event.
(update_current_target): Likewise.
(setup_target_debug): Likewise.
(debug_to_has_forked): Remove.
(debug_to_has_vforked): Remove.
(debug_to_has_execd): Remove.
(debug_to_has_syscall_event): Remove.
* target.h (struct target_ops): Remove to_has_forked.
to_has_vforked, to_has_execd, and to_has_syscall_event.
(child_has_forked, child_has_vforked, child_has_execd)
(child_has_syscall_event): Remove prototypes.
(inferior_has_forked, inferior_has_vforked, inferior_has_execd): Add
prototypes.
(target_has_forked, target_has_vforked, target_has_execd)
(target_has_syscall_event): Remove macros.
2002-11-16 19:22:59 +00:00
Daniel Jacobowitz
4088142aae
* hppah-nat.c (child_can_follow_vfork_prior_to_exec): Remove.
...
* inftarg.c (child_can_follow_vfork_prior_to_exec): Remove.
(init_child_ops): Don't initialize to_can_follow_vfork_prior_to_exec.
* infttrace.c (child_can_follow_vfork_prior_to_exec): Remove.
* target.c (cleanup_target): Remove reference to
to_can_follow_vfork_prior_to_exec.
(update_current_target): Likewise.
(debug_to_can_follow_vfork_prior_to_exec): Remove.
(setup_target_debug): Remove reference to
to_can_follow_vfork_prior_to_exec.
* target.h (struct target_ops): Remove
to_can_follow_vfork_prior_to_exec.
(child_can_follow_vfork_prior_to_exec): Remove prototype.
(target_can_follow_vfork_prior_to_exec): Remove definition.
* config/pa/nm-hppah.h (CHILD_CAN_FOLLOW_VFORK_PRIOR_TO_EXEC): Don't
define.
* infrun.c (follow_vfork_when_exec): Remove.
(follow_inferior_fork): Remove references to follow_vfork_when_exec.
(follow_exec): Likewise.
(handle_inferior_event): Likewise.
(keep_going): Likewise.
2002-11-16 19:21:44 +00:00
Andrew Cagney
18cde8d5ad
2002-11-15 Andrew Cagney <cagney@redhat.com>
...
* frame.c (generic_unwind_get_saved_register): Make static.
* frame.h (generic_unwind_get_saved_register): Delete declaration.
* avr-tdep.c (avr_gdbarch_init): Do not set get_saved_register,
defaults to generic_unwind_get_saved_register.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* config/mn10200/tm-mn10200.h (GET_SAVED_REGISTER): Delete macro.
2002-11-16 01:00:07 +00:00
Andrew Cagney
a6b063af0f
2002-11-15 Andrew Cagney <cagney@redhat.com>
...
* x86-64-linux-nat.c (i386_sse_regnum_p): New function. Copy from
i386-tdep.c.
2002-11-16 00:53:23 +00:00
gdbadmin
ddeb4f2231
*** empty log message ***
2002-11-16 00:00:33 +00:00
Andrew Cagney
f407986f1a
2002-11-15 Andrew Cagney <cagney@redhat.com>
...
* frame.h (sigtramp_saved_pc): Delete declaration.
* blockframe.c (sigtramp_saved_pc): Delete function.
* ns32k-tdep.c (ns32k_sigtramp_saved_pc): New function.
(ns32k_frame_saved_pc): Call ns32k_sigtramp_saved_pc.
* vax-tdep.c (vax_sigtramp_saved_pc): New function.
(vax_frame_saved_pc): Call vax_sigtramp_saved_pc.
2002-11-15 23:24:21 +00:00
Andrew Cagney
f18c5a7303
2002-11-15 Andrew Cagney <ac131313@redhat.com>
...
* frame.c (frame_pc_unwind): New function.
(frame_saved_regs_pc_unwind): New function.
(frame_register_unwind): Pass unwind_cache instead of
register_unwind_cache.
(set_unwind_by_pc): Add unwind_pc parameter, set.
(create_new_frame): Pass frame->pc_unwind to set_unwind_by_pc.
(get_prev_frame): Ditto.
* frame.h (frame_pc_unwind_ftype): Declare.
(struct frame_info): Add pc_unwind, pc_unwind_cache_p and
pc_unwind_cache. Rename register_unwind_cache to unwind_cache.
(frame_pc_unwind): Declare.
* dummy-frame.c (dummy_frame_pc_unwind): New function.
(struct dummy_frame): Add comment mentioning that values are for
previous frame.
* dummy-frame.h (dummy_frame_pc_unwind): Declare.
* blockframe.c (file_frame_chain_valid): Use frame_pc_unwind.
(generic_file_frame_chain_valid): Ditto.
* stack.c (frame_info): Ditto.
2002-11-15 22:16:25 +00:00
David Carlton
d9285969ae
Fix date stamp on ChangeLog entry.
2002-11-15 21:55:44 +00:00
David Carlton
0960f083cc
2002-11-12 David Carlton <carlton@math.stanford.edu>
...
* linespec.c (locate_first_half): New function.
(decode_line_1): Move code into locate_first_half.
2002-11-15 21:55:16 +00:00
Andrew Cagney
24382c5ce8
* complaints.h: Fix spelling errors.
2002-11-15 21:08:11 +00:00
Andrew Cagney
d741b867bb
2002-11-15 Andrew Cagney <ac131313@redhat.com>
...
* complaints.h: Add comment explaining how to eliminate a
deprecated_complain call.
2002-11-15 20:55:45 +00:00
David Carlton
82d03c99f5
2002-11-15 David Carlton <carlton@math.stanford.edu>
...
* printcmd.c: Remove #include "disasm.h".
2002-11-15 19:14:47 +00:00
Andrew Cagney
c97eb5d982
2002-11-14 Andrew Cagney <ac131313@redhat.com>
...
* frame.h: Move the most relevant interface functions to the start
of the file.
2002-11-15 15:50:21 +00:00
gdbadmin
2fa1f77a28
*** empty log message ***
2002-11-15 00:01:02 +00:00
Andrew Cagney
524d7c188c
2002-11-14 Andrew Cagney <ac131313@redhat.com>
...
* regcache.h (deprecated_registers): Rename registers.
* a68v-nat.c, alpha-nat.c, arch-utils.c, core-sol2.c: Update.
* hp300ux-nat.c, hppab-nat.c, hppah-nat.c: Update.
* hppam3-nat.c, hpux-thread.c, i386gnu-nat.c: Update.
* ia64-aix-nat.c, ia64-linux-nat.c, ia64-tdep.c: Update.
* irix4-nat.c, irix5-nat.c, lynx-nat.c, m68k-tdep.c: Update.
* m68knbsd-nat.c, mips-linux-tdep.c, mipsm3-nat.c: Update.
* mipsv4-nat.c, ns32knbsd-nat.c, ppc-bdm.c: Update.
* ppc-sysv-tdep.c, ptx4-nat.c, regcache.c, remote-es.c: Update.
* remote-sds.c, remote-vx68.c, remote-vxmips.c: Update.
* remote-vxsparc.c, rs6000-tdep.c, sol-thread.c: Update.
* sparc-nat.c, sparc-tdep.c, sun3-nat.c, symm-nat.c: Update.
* v850ice.c: Update.
2002-11-14 20:37:29 +00:00
Andrew Cagney
6411e720c0
Wed Nov 13 19:51:05 2002 Andrew Cagney <cagney@redhat.com>
...
* utils.c (gdb_realpath): Add comment mentioning realpath with a
NULL buffer.
2002-11-14 00:50:04 +00:00
Andrew Cagney
73937e031a
2002-11-13 Andrew Cagney <cagney@redhat.com>
...
* regcache.h (deprecated_read_register_bytes): Rename
read_register_bytes.
(deprecated_write_register_bytes): Rename write_register_bytes.
* alpha-tdep.c, arm-tdep.c, cris-tdep.c, d10v-tdep.c: Update.
* dwarf2cfi.c, frv-tdep.c, hppa-tdep.c, ia64-tdep.c: Update.
* m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Update.
* ns32k-tdep.c, regcache.c, remote-sds.c, remote-vx.c: Update.
* remote.c, rs6000-tdep.c, s390-tdep.c, sh-tdep.c: Update.
* sparc-tdep.c, v850-tdep.c, vax-tdep.c, x86-64-tdep.c: Update.
* xstormy16-tdep.c, z8k-tdep.c, config/nm-gnu.h: Update.
* config/nm-m3.h, config/h8500/tm-h8500.h: Update.
* config/i386/nm-ptx4.h, config/i386/nm-symmetry.h: Update.
* config/m32r/tm-m32r.h, config/m68k/nm-sun3.h: Update.
* config/m68k/tm-delta68.h, config/m68k/tm-linux.h: Update.
* config/mn10200/tm-mn10200.h, config/pa/tm-hppa64.h: Update.
* config/sparc/nm-nbsd.h, config/sparc/nm-sun4os4.h: Update.
* config/sparc/nm-sun4sol2.h, config/sparc/tm-sparclet.h: Update.
2002-11-13 Andrew Cagney <ac131313@redhat.com>
* mi-main.c (mi_cmd_data_write_register_values): Use
deprecated_write_register_bytes instead of write_register_bytes.
2002-11-14 00:25:05 +00:00
gdbadmin
2c85904f5a
*** empty log message ***
2002-11-14 00:00:01 +00:00
Jim Blandy
fb0cd46ee8
* findvar.c (read_var_value): Doc fix.
2002-11-13 18:13:17 +00:00
Andrew Cagney
2d28509afb
2002-11-13 Andrew Cagney <cagney@redhat.com>
...
* regcache.c (struct regcache): Replace passthough_p with
readonly_p.
(regcache_xmalloc): Initialize readonly_p.
(build_regcache): Initialize readonly_p.
(regcache_save): New function.
(regcache_restore): New function.
(regcache_cpy): Re-implement using regcache_save and
regcache_restore.
(regcache_raw_read): Update.
(regcache_cooked_read): When a read-only cache, checked for cached
pseudo register values.
(regcache_raw_write): Assert that the cache is not read-only.
Remove code handling a non-passthrough cache.
* regcache.h (regcache_save): Declare.
(regcache_restore): Declare.
2002-11-13 17:59:40 +00:00
Andrew Cagney
067df2e5b4
2002-11-13 Andrew Cagney <cagney@redhat.com>
...
* regcache.c (struct regcache_descr): Add fields
sizeof_cooked_registers and sizeof_cooked_register_valid_p.
(init_legacy_regcache_descr): Compute the size of a cooked
register cache and then assign that to sizeof_raw_registers. Set
sizeof_raw_register_valid_p to sizeof_cooked_register_valid_p
(init_legacy_regcache_descr): Ditto.
2002-11-13 16:57:36 +00:00
Andrew Cagney
51b1fe4e63
2002-11-13 Andrew Cagney <cagney@redhat.com>
...
* regcache.c (register_buffer): Move to near start of file, update
description.
(regcache_raw_read): Use.
(regcache_raw_write): Use.
(struct regcache): Rename raw_registers to registers and
raw_register_valid_p to register_valid_p.
(regcache_xmalloc): Update.
(regcache_xfree): Update.
(register_buffer): Update.
(regcache_cpy): Update.
(regcache_cpy_no_passthrough): Update.
(regcache_valid_p): Update.
(deprecated_grub_regcache_for_registers): Update.
(deprecated_grub_regcache_for_register_valid): Update.
(set_register_cached): Update.
(regcache_raw_write): Update.
2002-11-13 16:07:03 +00:00
Pierre Muller
80b4c67709
2002-11-13 Pierre Muller <muller@ics.u-strasbg.fr>
...
* p-exp.y (name_not_typename): Use copy_name to
set current_type variable for fields of THIS.
2002-11-13 09:13:39 +00:00
gdbadmin
700c7a2951
*** empty log message ***
2002-11-13 00:00:03 +00:00
Daniel Jacobowitz
0f3fafde68
* gnu-nat.c (init_gnu_ops): Remove NULL initializations.
...
* monitor.c (init_base_monitor_ops): Likewise.
* ppc-bdm.c (init_bdm_ppc_ops): Likewise.
* remote-array.c (init_array_ops): Likewise.
* remote-e7000.c (init_e7000_ops): Likewise.
* remote-es.c (init_es1800_ops): Likewise.
(init_es1800_child_ops): Likewise.
* remote-rdp.c (init_remote_rdp_ops): Likewise.
* remote-sim.c (init_gdbsim_ops): Likewise.
* remote-st.c (init_st2000_ops): Likewise.
* sol-thread.c (init_sol_core_ops): Likewise.
(init_sol_thread_ops): Likewise.
* v850ice.c (init_850ice_ops): Likewise.
* win32-nat.c (init_child_ops): Likewise.
* wince.c (init_child_ops): Likewise.
2002-11-12 21:43:55 +00:00
Andrew Cagney
82c0260ec6
2002-11-12 Andrew Cagney <ac131313@redhat.com>
...
* utils.c (gdb_realpath): Make rp a constant pointer.
2002-11-12 20:26:05 +00:00
Andrew Cagney
70d358198f
2002-11-12 Andrew Cagney <ac131313@redhat.com>
...
* utils.c (gdb_realpath): Rewrite. Try, in order: realpath() with
a constant buffer; cannonicalize_file_name(); realpath() with a
pathconf() defined buffer, xstrdup().
2002-11-12 17:19:06 +00:00
Andrew Cagney
9835a8b012
2002-11-12 Andrew Cagney <ac131313@redhat.com>
...
* config/djgpp/fnchange.lst: Fix typo, hang1.c to hang1.C; hang2.c
to hang2.C; hang3.c to hang3.C.
2002-11-12 16:30:08 +00:00
Elena Zannoni
3f47be5ca1
2002-11-11 Elena Zannoni <ezannoni@redhat.com>
...
* findvar.c (read_var_value): Reenable TLS code.
2002-11-11 Elena Zannoni <ezannoni@redhat.com>
Jim Blandy <jimb@redhat.com>
* gdb_thread_db.h (enum): Add TD_NOTALLOC.
* target.c (update_current_target): Add
to_get_thread_local_address.
* target.h (to_get_thread_local_address): Export.
(target_get_thread_local_address): Define.
(target_get_thread_local_address_p): Define.
* thread-db.c: Include solib-svr4.h.
(td_thr_tls_get_addr_p): Define.
(thread_db_load): Get a pointer to td_thr_tls_get_addr.
(thread_db_get_thread_local_address): New function.
(init_thread_db_ops): Initialize to_get_thread_local_address.
* configure.in: Add test for TD_NOTALLOC in thread_db.h.
* configure: Regenerate.
* config.in: Regenerate.
2002-11-12 02:39:41 +00:00
gdbadmin
4894709537
*** empty log message ***
2002-11-12 00:00:04 +00:00
David Carlton
636b1a6d8e
2002-11-11 David Carlton <carlton@math.stanford.edu>
...
* linespec.c (set_flags): New function.
(decode_line_1): Move code into set_flags.
2002-11-11 23:20:07 +00:00
David Carlton
44fe14ab8c
2002-11-11 David Carlton <carlton@math.stanford.edu>
...
* linespec.c (decode_line_1): Move chunks of code to separate
functions.
(initialize_defaults): New function.
(decode_indirect): New function.
2002-11-11 21:18:55 +00:00
Jeff Johnston
46ae13f0c9
2002-11-11 Jeff Johnston <jjohnstn@redhat.com>
...
* gdbmi.texinfo (-var-assign): Add comments about interaction
with -var-update and add an example. Part of fix for gdb/702.
2002-11-11 17:09:50 +00:00
Andrew Cagney
8971b011f4
2002-11-11 Andrew Cagney <ac131313@redhat.com>
...
* blockframe.c (sigtramp_saved_pc): Fix tipo. void_func_ptr
instead of void_code_ptr.
(sigtramp_saved_pc): Ditto.
2002-11-11 16:23:58 +00:00
Andrew Cagney
e6f181f51f
2002-11-11 Andrew Cagney <ac131313@redhat.com>
...
* x86-64-tdep.c (i386_fp_regnum_p): Copy i386-tdep.c's
i386_fp_regnum_p.
2002-11-11 16:00:57 +00:00
Daniel Jacobowitz
01ad7f3617
* gdbtypes.h (struct main_type): Move artificial flag out of
...
loc. New member of ``struct field'' named static_kind. Reduce
overloaded meaning of bitsize.
(FIELD_ARTIFICIAL, SET_FIELD_PHYSNAME, SET_FIELD_PHYSADDR)
(TYPE_FIELD_STATIC, TYPE_FIELD_STATIC_HAS_ADDR): Likewise.
(FIELD_STATIC_KIND, TYPE_FIELD_STATIC_KIND): New macros.
* ada-lang.c (fill_in_ada_prototype): Initialize static_kind for
new fields.
(template_to_fixed_record_type, template_to_static_fixed_type)
(to_record_with_fixed_variant_part): Likewise.
* coffread.c (coff_read_struct_type, coff_read_enum_type): Likewise.
* dwarf2read.c (dwarf2_add_field, read_enumeration): Likewise.
* dwarfread.c (struct_type, enum_type): Likewise.
* hpread.c (hpread_read_enum_type)
(hpread_read_function_type, hpread_read_doc_function_type)
(hpread_read_struct_type): Likewise.
* mdebugread.c (parse_symbol): Likewise.
2002-11-11 00:55:34 +00:00
gdbadmin
299aba957e
*** empty log message ***
2002-11-11 00:01:02 +00:00
Andrew Cagney
bf1e52be95
2002-11-10 Andrew Cagney <ac131313@redhat.com>
...
* breakpoint.h (deprecated_frame_in_dummy): Rename frame_in_dummy.
* stack.c (print_frame_info_base): Update.
(print_frame_info_base, frame_info): Update.
* sparc-tdep.c (sparc_init_extra_frame_info): Update.
(sparc_frame_saved_pc): Update.
* ada-lang.c (find_printable_frame): Update.
* breakpoint.c (deprecated_frame_in_dummy): Update.
2002-11-10 15:36:26 +00:00
gdbadmin
f8f016f4d7
*** empty log message ***
2002-11-10 00:00:02 +00:00
Mark Kettenis
ce556f8539
* i386-linux-nat.c (ORIG_EAX): Define to -1 if not already
...
defined.
(regmap): Extend to cover all registers.
(PT_READ_U, PT_WRITE_U, PTRACE_XFER_TYPE,
OLD_CANNOT_FETCH_REGISTERS, OLD_CANNOT_STORE_REGISTERS): Remove
definitions.
(fetch_register, sore_register): Simplify.
(old_fetch_inferior_registers, old_store_inferior_registers):
Remove functions.
(cannot_fetch_register, cannot_store_register): Change
implementation to use regmap array to decide which registers
cannot be fetched/stored. This removes $orig_eax from the
registers that cannot be fetched/stored.
(fetch_inferior_registers): Call fetch_register directly instead
of calling old_fetch_inferior_registers.
(store_inferior_registers): Call store_register directly instead
of calling old_store_inferior_registers.
(i386_linux_dr_get): Replace PT_READ_U with PTRACE_PEEKUSER.
(i386_linux_dr_set): Replace PT_WRITE_U with PTRACE_POKEUSER.
* config/i386/nm-linux.h (U_REGS_OFFSET): Remove definition.
2002-11-09 21:31:12 +00:00
Klee Dienes
932bb5249e
2002-11-09 Klee Dienes <kdienes@apple.com>
...
* i387-tdep.c (i387_supply_register): When called with NULL as a
buffer, mark the register as not provided (to mirror the behavior
of supply_register).
(i387_supply_fxsave): Ditto.
(i387_supply_fsave): Ditto (inherits the behavior from
i387_supply_register).
2002-11-09 19:34:35 +00:00
Klee Dienes
ebe68b2757
2002-11-09 Klee Dienes <kdienes@apple.com>
...
* blockframe.c (sigtramp_saved_pc): Use
builtin_type_void_code_ptr, not builtin_type_void_data_ptr (we are
extracting the PC). Use TYPE_LENGTH (builtin_type_void_code_ptr)
instead of (TARGET_PTR_BIT / TARGET_CHAR_BIT).
2002-11-09 19:28:22 +00:00
Klee Dienes
82661bd0df
2002-11-09 Klee Dienes <kdienes@apple.com>
...
* chexp.exp: Mark as obsolete.
* pr-5016.exp: Remove stray trailing newline.
2002-11-09 19:15:23 +00:00
Andrew Cagney
15220c65c0
2002-11-09 Andrew Cagney <ac131313@redhat.com>
...
* frame.c (get_prev_frame): Test prev_p to identify a previously
unwound frame. Initialize prev_p.
* frame.h (struct frame_info): Add field prev_p. Expand prev/next
comment.
2002-11-09 18:14:10 +00:00
Andrew Cagney
95adb866d7
2002-11-09 Andrew Cagney <ac131313@redhat.com>
...
* frame.c (get_prev_frame): Cleanups. Eliminate redundant tests
for a NULL NEXT_FRAME. Simplify fromleaf initialization. Add
more comments. Zap dead code.
2002-11-09 17:45:17 +00:00
Mark Kettenis
e71ecd70b2
* infcmd.c (print_vector_info, print_float_info): Move code that
...
checks whether the target has any registers and whether there is a
selected frame up, such that it is also used if a target provides
multi-arch definitions of these functions.
2002-11-09 12:44:23 +00:00
Andrew Cagney
72bdd9279d
2002-11-08 Andrew Cagney <ac131313@redhat.com>
...
* Makefile.in (DESTDIR): Define.
(install-only, install-gdbtk, uninstall-gdbtk): Add $(DESTDIR)
prefix.
2002-11-09 03:14:11 +00:00
Andrew Cagney
c525330d5e
2002-11-08 Andrew Cagney <ac131313@redhat.com>
...
* config/djgpp/fnchange.lst: 8.3 proof i386obsd-nat.c and
i386obsd-tdep.c. Rename paths containing "gdb.c++" to "gdb.cxx".
2002-11-09 02:53:25 +00:00
gdbadmin
c200757530
*** empty log message ***
2002-11-09 00:00:03 +00:00
Andrew Cagney
38c968cfa6
2002-11-08 Andrew Cagney <ac131313@redhat.com>
...
* i386-linux-tdep.c: Include "reggroups.h".
(i386_linux_register_reggroup_p): New function.
(i386_linux_init_abi): Set register_reggroup_p to
i386_linux_register_reggroup_p.
* i386-tdep.h (i386_register_reggroup_p): Declare.
* i386-tdep.c: Include "reggroups.h".
(i386_init_reggroups): New function.
(i386_add_reggroups): New function.
(i386_register_reggroup_p): New function.
(i386_sse_reggroup, i386_mmx_reggroup): New variables.
(_initialize_i386_tdep): Call i386_init_reggroups.
(i386_gdbarch_init): Set register_reggroup_p and add in the i386
specific reggroups.
2002-11-08 23:59:58 +00:00
Mark Kettenis
371a6e84e5
* infptrace.c (child_xfer_memory): Make use of the new PT_IO
...
request that's available in *BSD.
2002-11-08 23:48:38 +00:00
Mark Kettenis
94ba925ab9
* i386-tdep.h (IS_FPU_CTRL_REGNUM): Remove.
2002-11-08 23:35:14 +00:00
Mark Kettenis
19e333637a
* i387-tdep.c (i387_fill_fxsave): Use FOOFF_REGNUM instead of
...
FDOFF_REGNUM.
2002-11-08 23:31:09 +00:00
Andrew Cagney
8779790c2e
2002-11-08 Andrew Cagney <ac131313@redhat.com>
...
* frame.c (set_unwind_by_pc): Use dummy_frame_register_unwind.
* dummy-frame.c (find_dummy_frame): Rename
generic_find_dummy_frame, make static. Return the dummy frame
instead of the regcache.
(generic_find_dummy_frame): Re-implement using find_dummy_frame,
(cached_find_dummy_frame): New function. Use find_dummy_frame.
(dummy_frame_register_unwind): Rename
generic_call_dummy_register_unwind. Use cached_find_dummy_frame.
* dummy-frame.h (dummy_frame_register_unwind): Rename
generic_call_dummy_register_unwind.
2002-11-08 23:12:52 +00:00
Mark Kettenis
8674b74f1c
* config/i386/tm-i386v42mp.h: Remove file. Move its contents,
...
except the inclusion of "i386/tm-i386.h", to...
* config/i386/nm-i386v42mp.h: ...here.
* config/i386/i386v42mp.mt (TM_FILE): Set to tm-i386.h.
2002-11-08 21:00:47 +00:00
Andrew Cagney
4c1e7e9d5e
2002-11-08 Andrew Cagney <ac131313@redhat.com>
...
* Makefile.in (frame.o): Update dependencies.
* blockframe.c (current_frame, frame_obstack_alloc)
(frame_saved_regs_zalloc, get_current_frame)
(set_current_frame, create_new_frame)
(set_unwind_by_pc, get_next_frame)
(flush_cached_frames, reinit_frame_cache)
(frame_saved_regs_register_unwind)
(deprecated_generic_get_saved_register)
(get_prev_frame, get_frame_pc, get_frame_saved_regs)
(_initialize_blockframe): Move frame code from
here...
* frame.c: ...to here. Include "gdb_obstack.h", "gdbcore.h",
"annotate.h" and "dummy-frame.h".
(_initialize_frame): New function.
2002-11-08 20:48:55 +00:00
Jeff Johnston
e78c0063c1
2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-main.c (mi_command_loop): Initialize raw_stdout and gdb_stdout
only if mi version is <= 1.
(mi_init_ui): Initialize raw_stdout and gdb_stdout if mi version
is > 1 so startup message is treated as console output. This is
part of fix for PR gdb/604.
2002-11-08 20:39:06 +00:00
Jeff Johnston
1f312e798b
2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
...
* lib/mi-support.exp (mi_gdb_start): Verify the startup message
for mi1 and current mi is in correct format. New mi startup message
should be in mi console format. This is part of fix for PR gdb/604.
2002-11-08 20:37:50 +00:00
Jim Blandy
921e78cf01
* dwarf2read.c (read_func_scope): Restore list_in_scope properly
...
when we finish a function a context.
* buildsym.h (outermost_context_p): New macro.
(Bug analyzed by David Edelsohn.)
2002-11-08 20:05:10 +00:00
Andrew Cagney
9c1412c1a1
2002-11-08 Andrew Cagney <ac131313@redhat.com>
...
* blockframe.c: Include "dummy-frame.h".
(struct dummy_frame, dummy_frame_stack)
(generic_find_dummy_frame, deprecated_generic_find_dummy_frame)
(generic_pc_in_call_dummy, deprecated_read_register_dummy)
(generic_push_dummy_frame, generic_save_dummy_frame_tos)
(generic_save_call_dummy_addr, generic_pop_current_frame)
(generic_pop_dummy_frame, generic_fix_call_dummy)
(generic_fix_call_dummy, generic_call_dummy_register_unwind): Move
dummy frame code from here...
* dummy-frame.c: ...to here. New file.
* dummy-frame.h: New file.
(generic_call_dummy_register_unwind): Declare.
(generic_find_dummy_frame): Declare.
* Makefile.in (SFILES): Add dummy-frame.c.
(dummy-frame.o): Specify dependencies.
(dummy_frame_h): Define.
(COMMON_OBS): Add dummy-frame.o.
(blockframe.o): Update dependencies.
2002-11-08 19:42:00 +00:00
Jim Blandy
208d818701
* dwarf2read.c (read_func_scope): Restore local_symbols and
...
param_symbols after we finish the function context. (Based on a
patch from David Edelsohn.)
2002-11-08 19:33:37 +00:00
David Carlton
413dad4d0e
2002-11-08 David Carlton <carlton@math.stanford.edu>
...
* linespec.c (symbol_found): New function.
(minsym_found): New function.
(decode_line_1): Separate out some code into separate functions.
2002-11-08 19:16:17 +00:00
Joel Brobecker
5512c44af4
* i386-tdep.c (i386_frameless_signal_p): Make non static for
...
the benefit of the interix target.
* i386-tdep.h (i386_frameless_signal_p): Declare.
2002-11-08 17:34:31 +00:00
Andrew Cagney
1b33ef47a1
2002-11-08 Andrew Cagney <ac131313@redhat.com>
...
* i386-tdep.h (i386_linux_orig_eax_regnum_p): Delete stray
declaration that snuck in from change below.
2002-11-08 17:03:27 +00:00
Andrew Cagney
23a3445934
2002-11-06 Andrew Cagney <cagney@redhat.com>
...
* i386-tdep.c (i386_mmx_regnum_p): Rename mmx_regnum_p. Update
all callers.
(i386_fp_regnum_p): New function. Use instead of FP_REGNUM_P.
(i386_fpc_regnum_p): New function. Use instead of FPC_REGNUM_P.
(i386_sse_regnum_p): New function. Use instead of SSE_REGNUM_P.
(i386_mxcsr_regnum_p): new function. Use instead of
MXCSR_REGNUM_P.
* i386-tdep.h (SSE_REGNUM_P): Delete macro.
(i386_sse_regnum_p): Declare.
(i386_mxcsr_regnum_p): Declare.
(FP_REGNUM_P, FPC_REGNUM_P): Delete macros.
(i386_fp_regnum_p, i386_fpc_regnum_p): Declare.
(IS_FP_REGNUM): Update definition.
(IS_FPU_CTRL_REGNUM): Update definition..
(IS_SSE_REGNUM): Update definition..
* i386v-nat.c (register_u_addr): Update.
* go32-nat.c (fetch_register): Update.
(store_register): Update.
2002-11-08 16:52:37 +00:00
Joel Brobecker
d709c02007
Preparation work to convert the hppa targets to multiarch partial.
...
* hppa-tdep.c: Add new functions replacing macro bodies from
config/pa/tm-hppa.h. These function will be used to initialize
the gdbarch structure. Import some comments from tm-hppa.h,
and place them where appropriate, to avoid loosing them when
we cleanup this file.
(hppa_reg_struct_has_addr): New function.
(hppa_inner_than): New function.
(hppa_stack_align): New function.
(hppa_pc_requires_run_before_use): New function.
(hppa_instruction_nullified): New function.
(hppa_register_byte): New function.
(hppa_register_virtual_type): New function.
(hppa_store_struct_return): New function.
(hppa_cannot_store_register): New function.
(hppa_frame_args_address): New function.
(hppa_frame_locals_address): New function.
(hppa_smash_text_address): New function.
(hppa_coerce_float_to_double): New function. Requires the inclusion
of "language.h".
* Makefile.in (hppa-tdep.o): Add dependency on language.h.
* tm-hppa.h (REG_STRUCT_HAS_ADDR): Change the definition of this
gdbarch-eligible macro to a call to the new associated function
created in hppa-tdep.c.
(INNER_THAN): Likewise.
(STACK_ALIGN): Likewise.
(PC_REQUIRES_RUN_BEFORE_USE): Likewise.
(INSTRUCTION_NULLIFIED): Likewise.
(REGISTER_BYTE): Likewise.
(REGISTER_VIRTUAL_TYPE): Likewise.
(STORE_STRUCT_RETURN): Likewise.
(CANNOT_STORE_REGISTER): Likewise.
(FRAME_ARGS_ADDRESS): Likewise.
(FRAME_LOCALS_ADDRESS): Likewise.
(SMASH_TEXT_ADDRESS): Likewise.
(COERCE_FLOAT_TO_DOUBLE): Likewise.
(ABOUT_TO_RETURN): Delete, as no longer used.
2002-11-08 03:35:47 +00:00
Fernando Nasser
83c31e7d1e
* printcmd.c (disassemble_command): Remove obsolete function.
...
(_initialize_printcmd): Do not create disassemble command here.
* cli/cli-cmds.c (disassemble_command): New function. Implements
disassemble command.
(init_cli_cmds): Create disassemble command here instead.
* gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
which explicitly prints the zero offset as "+0".
2002-11-08 03:21:34 +00:00
gdbadmin
ad8f2035df
*** empty log message ***
2002-11-08 00:00:33 +00:00
Andrew Cagney
0ec30a3604
2002-11-07 Andrew Cagney <ac131313@redhat.com>
...
* MAINTAINERS: Add Daniel Jacobowitz to global maintainers list.
2002-11-07 23:28:53 +00:00
Andrew Cagney
e600bd345d
2002-11-07 Andrew Cagney <ac131313@redhat.com>
...
* regcache.h (regcache_cooked_read_using_offset_hack)
(regcache_cooked_write_using_offset_hack): Delete declarations.
(register_changed): Delete declaration.
* regcache.c (regcache_cooked_read_using_offset_hack)
(regcache_cooked_write_using_offset_hack): Delete functions.
(cooked_xfer_using_offset_hack): Delete function.
(register_changed): Delete function.
2002-11-07 21:43:23 +00:00
Jim Blandy
568f87394b
* macroscope.c: #include "complaints.h".
...
(sal_macro_scope): Cope with filenames that appear in the symtabs,
but not in the macro table.
* Makefile.in (macroscope.o): Record dependency.
2002-11-07 20:43:22 +00:00
Joel Brobecker
b0718b7bcb
* PROBLEMS: Document gdb/816 (unable to read core file on alpha-osf).
2002-11-07 18:04:44 +00:00
Andrew Cagney
2b9e5f3fab
2002-11-07 Andrew Cagney <ac131313@redhat.com>
...
* regcache.c (deprecated_registers_fetched): Update.
* regcache.h (deprecated_registers_fetched): Rename
registers_fetched.
* remote-vxsparc.c (vx_read_register): Update.
* remote-vxmips.c (vx_read_register): Update.
* remote-vx68.c (vx_read_register): Update.
* irix5-nat.c (fetch_core_registers): Update.
* mipsm3-nat.c (fetch_inferior_registers): Update.
* sun3-nat.c (fetch_inferior_registers): Update.
* symm-nat.c (fetch_inferior_registers): Update.
* ns32knbsd-nat.c (fetch_inferior_registers): Update.
(fetch_core_registers): Update.
(fetch_kcore_registers): Update.
* mips-nat.c (fetch_inferior_registers): Update.
* corelow.c (get_core_registers): Update.
* a68v-nat.c (fetch_inferior_registers): Update.
2002-11-07 15:31:31 +00:00
Joel Brobecker
e6e68f1f64
Put in place the framework necessary for multiarching the hppa targets.
...
* hppa-tdep.c (hppa_gdbarch_init): New function.
(hppa_dump_tdep): New function.
(_initialize_hppa_tdep): Register the hppa gdbarch init function and
tdep structure dumper.
* config/pa/tm-hppa.h (GDB_MULTI_ARCH): New macro, defined to 0
until the multi-arching conversion has partially been completed.
2002-11-07 07:47:22 +00:00
Andrew Cagney
492254e9db
2002-11-06 Andrew Cagney <ac131313@redhat.com>
...
* valops.c (value_assign): Merge lval_register case into
lval_reg_frame_relative. Use frame_register and
regcache_cooked_write instead of get_saved_register and
write_register_bytes. After flushing the register cache, try to
re-select the selected frame.
2002-11-07 02:45:27 +00:00
Andrew Cagney
8262ee2317
2002-11-06 Andrew Cagney <ac131313@redhat.com>
...
* regcache.h (deprecated_register_valid): Rename register_valid.
* regcache.c: Update.
* ia64-aix-nat.c: Update.
* i386gnu-nat.c: Update.
* alpha-nat.c: Update.
* sparc-nat.c: Update.
* lynx-nat.c: Update.
* remote-mips.c: Update.
2002-11-07 02:40:28 +00:00
Joel Brobecker
4facf7e890
* hppa-tdep.c (_initialize_hppa_tdep): Move function body
...
to end of file, to be more consistent with the pratice followed
by other targets.
2002-11-07 02:19:56 +00:00
Andrew Cagney
f9418c0f19
2002-11-06 Andrew Cagney <ac131313@redhat.com>
...
* infcmd.c: Include "reggroups.h" and <ctype.h>.
(print_float_info): Print registers in float_reggroup.
(print_vector_info): Print registers in vector_reggroup.
(default_print_registers_info): When all, print registers in
all_reggroup. Otherwize, print registers in general_reggroup.
(registers_info): Rewrite. Add support for register groups.
Eliminate a goto.
2002-11-07 01:55:16 +00:00
Jeff Johnston
1bd34ded16
2002-11-06 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-cmd-var.c (mi_cmd_var_create): Change the function used to
parse the frame addr from parse_and_eval_address() to
string_to_core_addr(). This is a fix for PR gdb/494.
2002-11-07 01:43:59 +00:00
gdbadmin
0067822234
*** empty log message ***
2002-11-07 00:00:02 +00:00
Elena Zannoni
3fe235a7a8
2002-11-06 Elena Zannoni <ezannoni@redhat.com>
...
* symtab.c (methods_info): Delete. It has been ifdeffed out for
ages.
(symtab_symbol_info): Remove eons old ifdeffed out code.
(_initialize_symtab): Remove prehistoric disabled 'info methods'
command.
2002-11-06 23:27:58 +00:00
Theodore A. Roth
ef9441350c
* c-exp.y: Add missing semi-colons.
...
* f-exp.y: Add missing semi-colons.
* m2-exp.y: Add missing semi-colons.
* p-exp.y: Add missing semi-colons.
Add empty action to start rule to avoid a type clash error when
building with bison >= 1.50.
2002-11-06 22:48:25 +00:00
Jim Blandy
f8302a5753
* macrotab.h (struct macro_source_file): Doc fix.
2002-11-06 20:57:41 +00:00
gdbadmin
0d52e5365a
*** empty log message ***
2002-11-06 00:00:02 +00:00
Elena Zannoni
7d5b6fdd3b
2002-11-05 Elena Zannoni <ezannoni@redhat.com>
...
From Jim Ingham <jingham@apple.com>:
* event-top.c (gdb_disable_readline): New function.
(_initialize_event_loop): Move comment.
2002-11-05 22:38:11 +00:00
Jeff Johnston
f80a3b5fb4
2002-11-05 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb792.cc: New file to test patch for PR gdb/792.
* gdb792.exp: Ditto.
2002-11-05 22:31:32 +00:00
Jeff Johnston
6e382aa38c
2002-11-05 Jeff Johnston <jjohnstn@redhat.com>
...
* varobj.c (child_exists, cplus_number_of_children): Change
STREQ macro references to strcmp.
(cplus_name_of_child): Change code to handle the fact that
fields are not necessarily contiguous with regards to their
access control. This is a fix for PR gdb/792.
2002-11-05 22:31:00 +00:00
Andrew Cagney
a216a32234
2002-11-05 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh (GET_SAVED_REGISTER): Change to a predicate function.
* gdbarch.h, gdbarch.c: Regnerate.
* frame.h (frame_register): Declare.
* frame.c (frame_register): New function.
(get_saved_register): Test GET_SAVED_REGISTER_P before calling
GET_SAVED_REGISTER, otherwize call
generic_unwind_get_saved_register.
(frame_register_read): Use frame_register instead of
get_saved_register.
2002-11-05 21:44:05 +00:00
Elena Zannoni
b7c642601c
2002-11-05 Elena Zannoni <ezannoni@redhat.com>
...
* event-loop.c (start_event_loop): Add comment.
Update copyright.
2002-11-05 21:17:33 +00:00
Andrew Cagney
c2e1b8f216
2002-11-05 Andrew Cagney <ac131313@redhat.com>
...
* infcmd.c (default_print_registers_info): Do not call
PRINT_REGISTER_HOOK.
2002-11-05 20:52:44 +00:00
Andrew Cagney
87647bb0c7
2002-11-05 Andrew Cagney <ac131313@redhat.com>
...
* sparc-tdep.c (sparc_print_register_hook): Make static.
(sparc_print_registers_info): New function.
(sparc_do_registers_info): New function.
(sparclet_print_registers_info): New function.
(sparclet_do_registers_info): New function.
(do_sparc_print_registers_info): New function.
(sparc_print_registers): New static function, clone of infcmd.c's
default_print_registers_info.
* config/sparc/tm-sparclet.h (PRINT_REGISTER_HOOK): Delete macro.
(sparclet_do_registers_info): Declare.
(DEPRECATED_DO_REGISTERS_INFO): Re-define.
* config/sparc/tm-sparc.h (DEPRECATED_DO_REGISTERS_INFO):
Re-define.
(sparc_do_registers_info): Declare.
(PRINT_REGISTER_HOOK): Delete macro.
(sparc_print_register_hook): Delete declaration.
2002-11-05 20:43:36 +00:00
David Carlton
8155455b32
2002-11-05 David Carlton <carlton@math.stanford.edu>
...
* symtab.c (lookup_symbol_aux): Move chunks of code into separate
functions.
(lookup_symbol_aux_local): New function.
(lookup_symbol_aux_symtabs): New function.
(lookup_symbol_aux_psymtabs): New function.
2002-11-05 20:33:01 +00:00
David Carlton
29924310ab
2002-11-05 David Carlton <carlton@math.stanford.edu>
...
* symtab.c (lookup_symbol_aux): In minsym sections, don't use the
previous values of 'objfile' and 'block'.
2002-11-05 16:59:57 +00:00
Elena Zannoni
6afa27b08c
2002-11-04 Elena Zannoni <ezannoni@redhat.com>
...
* mi-console.exp: Use mi_runto, mi_run_to_main, mi_next_to,
mi_step_to wherever possible. Update copyright notices.
* mi-disassemble.exp: Ditto.
* mi-eval.exp: Ditto.
* mi-read-memory.exp: Ditto.
* mi-regs.exp: Ditto.
* mi-return.exp: Ditto.
* mi-stack.exp: Ditto.
* mi-stepi.exp: Ditto.
* mi-var-block.exp: Ditto.
* mi-var-cmd.exp: Ditto.
* mi-watch.exp: Ditto.
* mi1-console.exp: Ditto.
* mi1-disassemble.exp: Ditto.
* mi1-eval.exp: Ditto.
* mi1-read-memory.exp: Ditto.
* mi1-regs.exp: Ditto.
* mi1-return.exp: Ditto.
* mi1-stack.exp: Ditto.
* mi1-stepi.exp: Ditto.
* mi1-var-block.exp: Ditto.
* mi1-var-cmd.exp: Ditto.
* mi1-watch.exp: Ditto.
2002-11-05 15:43:18 +00:00
Klee Dienes
69266111ec
Correct the ChangeLog entry for 2002-10-11 from:
...
* findvar.c (read_memory_typed_address): New function.
to
* corefile.c (read_memory_typed_address): New function.
2002-11-05 09:20:13 +00:00
Pierre Muller
cc303028fc
2002-10-07 Pierre Muller <muller@ics.u-strasbg.fr>
...
* values.c (value_change_enclosing_type): Set
enclosing_type field correctly also for the case where
more memory needs to be allocated.
2002-11-05 08:25:13 +00:00
gdbadmin
226acd2e46
*** empty log message ***
2002-11-05 00:00:02 +00:00
gdbadmin
299b302755
*** empty log message ***
2002-11-04 00:00:03 +00:00
Mark Kettenis
f16a25aee9
* i387-tdep.c (i387_print_float_info): Call fputs_filtered instead
...
of puts_filtered.
2002-11-03 13:04:47 +00:00
Mark Kettenis
1d70089aec
* i387-tdep.c (i387_print_float_info): Replace calls to
...
register_read and deprecated_read_register_gen with calls to
frame_register_read, and make the necessary adjustments to the
surrounding code.
2002-11-03 12:32:42 +00:00
Andrew Cagney
7e20f3fbea
2002-11-02 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh (register_reggroup_p): Allow default value.
* gdbarch.h, gdbarch.c: Regenerate.
2002-11-03 00:30:33 +00:00
gdbadmin
f9712b716c
*** empty log message ***
2002-11-03 00:00:02 +00:00
Andrew Cagney
192dbe3389
2002-11-02 Andrew Cagney <ac131313@redhat.com>
...
* regcache.h: Add coment indicating replacements for deprecated
functions.
2002-11-02 20:06:56 +00:00
Andrew Cagney
b59ff9d5ff
2002-11-02 Andrew Cagney <cagney@redhat.com>
...
* reggroups.h, reggroups.c: New files.
* regcache.c: Include "reggroups.h".
(enum regcache_dump_what): Add `regcache_dump_groups'.
(regcache_dump): Contract size of the "Type" column. When
specified, dump the register's groups.
(maintenance_print_register_groups): New function.
(_initialize_regcache): Add command `maint print register-groups'.
* Makefile.in (COMMON_OBS): Add reggroups.o
(SFILES): Add reggroups.c.
(reggroups_h): Define.
(regcache.o, gdbarch.o): Update dependencies.
(reggroups.o): Specify dependencies.
* gdbarch.sh (register_reggroup_p): Add pure multi-arch method.
Add opaque declaration for `struct reggroup' in generated .h file.
Include "reggroups.h" in generated .c file.
gdbarch.h, gdbarch.c: Re-generate.
2002-11-02 15:13:34 +00:00
Andrew Cagney
4caf0990c1
2002-11-02 Andrew Cagney <cagney@redhat.com>
...
* regcache.h (deprecated_read_register_gen): Rename
read_register_gen.
(deprecated_write_register_gen): Rename write_register_gen.
* i387-tdep.c: Update.
* x86-64-linux-nat.c: Update
* wince.c: Update.
* thread-db.c: Update.
* win32-nat.c: Update.
* mips-tdep.c: Update.
* d10v-tdep.c: Update.
* cris-tdep.c: Update.
* remote-sim.c: Update.
* remote-rdi.c: Update.
* remote-rdp.c: Update.
* frame.c: Update.
* target.c: Update.
* blockframe.c: Update.
* x86-64-tdep.c: Update.
* xstormy16-tdep.c: Update.
* sh-tdep.c: Update.
* s390-tdep.c: Update.
* rs6000-tdep.c: Update.
* sparc-tdep.c: Update.
* i386-tdep.c: Update.
* dwarf2cfi.c: Update.
* regcache.c: Update.
2002-11-02 14:59:10 +00:00
gdbadmin
8f104e6b1f
*** empty log message ***
2002-11-02 00:00:02 +00:00
Joel Brobecker
7a7adcdf1d
New interix-specific files:
...
* config/i386/nm-interix.h: New file.
* config/i386/interix.mh: New file.
* config/i386/interix.mt: New file.
* i386-interix-nat.c: New file.
* i386-interix-tdep.c: New file.
2002-11-01 22:08:44 +00:00
Andrew Cagney
bdcdd53569
2002-11-01 Andrew Cagney <cagney@redhat.com>
...
* frame.h (deprecated_generic_get_saved_register): Rename
generic_get_saved_register.
* blockframe.c (deprecated_generic_get_saved_register): Update.
* xstormy16-tdep.c (xstormy16_get_saved_register): Update.
(xstormy16_frame_saved_register): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_get_saved_register): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* config/m32r/tm-m32r.h (GET_SAVED_REGISTER): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
2002-11-01 21:21:49 +00:00
gdbadmin
36b3ec1e7f
*** empty log message ***
2002-11-01 00:00:03 +00:00