aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-12-112002-12-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-37/+54
* 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-11Convert complain() to complaint().Kevin Buettner2-195/+179
2002-12-112002-12-11 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-17/+27
* 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 * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_TO_NAME)Kevin Buettner7-11/+22
(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-112002-12-11 David Carlton <carlton@math.stanford.edu>David Carlton3-7/+35
* 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* i386-tdep.c: Include "dummy-frame.h".Mark Kettenis2-4/+10
(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 * configure: Fix bug put in by gremlins.Nathanael Nerode2-1/+3
2002-12-112002-12-10 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode4-41/+21
* Makefile.tpl: Substitute more autoconfily. * configure: Substitute more autoconfily. * Makefile.in: Regenerate.
2002-12-11Fix date on changelog entry :-/Andrew Cagney1-1/+1
2002-12-112002-12-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney38-95/+246
* 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 * config/pa/nm-hppah.h (CHILD_POST_FOLLOW_VFORK): Change toDaniel Jacobowitz10-253/+254
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 * hppah-nat.c (saved_child_execd_pathname, saved_vfork_state): New.Daniel Jacobowitz4-49/+113
(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 * hppah-nat.c (child_wait): Return TARGET_WAITKIND_IGNOREDaniel Jacobowitz4-32/+37
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*** empty log message ***gdbadmin1-1/+1
2002-12-10daily updateAlan Modra1-1/+1
2002-12-102002-12-10 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-10/+2
* PROBLEMS: Delete reference to PR gdb/725.
2002-12-102002-12-10 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+5
* MAINTAINERS (gdb.c++): Add David Carlton.
2002-12-10fix spelling typoNick Clifton1-1/+1
2002-12-10Add support for displaying extension to DWARF2 used by Unified Parallel CNick Clifton5-6/+38
compiler.
2002-12-10Allow an otherwise unrepresentable read-only section that lies after .textNick Clifton3-36/+76
and before .data to be written into the output file and included in a_text.
2002-12-10* lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets.Jason Thorpe2-0/+17
2002-12-10 * emultempl/elf32.em (struct orphan_save): Add os_tail field.Alan Modra2-0/+28
(gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement list too.
2002-12-102002-12-09 Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez3-4/+10
* gas/ppc/booke.d: Fix msync and mbar to reflect reality. * gas/ppc/e500.d: Fix m[tf]pmr to reflect reality.
2002-12-102002-12-09 David Carlton <carlton@math.stanford.edu>David Carlton3-2/+7
* cli/cli-setshow.c: #include <readline/tilde.h> after defs.h. * cli/cli-cmds.c: Ditto.
2002-12-10*** empty log message ***gdbadmin1-1/+1
2002-12-09daily updateAlan Modra1-1/+1
2002-12-09* gdbarch.sh (gdbarch_dump): Wrap function addresses in <>.Andrew Cagney3-89/+90
2002-12-092002-12-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-3/+8
* gdbarch.sh (gdbarch_dump): Print NAME_OF_MALLOC using %s. * gdbarch.c: Re-generate.
2002-12-092002-12-09 David Carlton <carlton@math.stanford.edu>David Carlton2-5/+9
* p-exp.y: Rename TRUE and FALSE to TRUEKEYWORD and FALSEKEYWORD.
2002-12-092002-12-09 David Carlton <carlton@math.stanford.edu>David Carlton2-33/+62
* linespec.c (symtab_from_filename): New function. (decode_line_1): Move code into symtab_from_filename.
2002-12-09 * lin-lwp.c (strsignal): Make extern declaration match that of glibc.Kevin Buettner2-1/+5
2002-12-092002-12-07 Andrew Cagney <ac131313@redhat.com>Andrew Cagney12-65/+95
* 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-092002-12-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-1/+11
* 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-092002-12-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney20-75/+98
* 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-092002-12-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney8-36/+57
* 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-092002-12-08 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-14/+37
* 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-092002-12-08 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni11-12/+40
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-092002-12-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-16/+28
* 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*** empty log message ***gdbadmin1-1/+1
2002-12-08daily updateAlan Modra1-1/+1
2002-12-08* Makefile.tpl (all-sim): Depend on maybe-configure-gdb.DJ Delorie3-2/+7
* Makefile.in (all-sim): Ditto.
2002-12-082002-12-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-1/+5
* config/mn10200/tm-mn10200.h (DEPRECATED_PC_IN_CALL_DUMMY): Delete redundant definition.
2002-12-08Import of readline 4.3.Elena Zannoni99-8885/+23412
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-082002-12-08 H.J. Lu <hjl@gnu.org>H.J. Lu2-10/+5
* config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack copied from tc-i386.c.
2002-12-08 * gas/m68hc11/m68hc11.exp (gas_m68hc11_error): New function;Stephane Carrez2-0/+147
(gas_m68hc11_warning): New function. (gas_m68hc11_message): New function. (top): New tests for assembler errors. (gas_m68hc11_opcode_list): New function. (top): New tests for opcode list.
2002-12-08Fix date...Elena Zannoni1-1/+1
2002-12-082002-12-06 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+11
* Makefile.in (thread-db.o): Add explicit rule to ignore the use of -Werror on this file.
2002-12-08 * gas/m68hc11/bug-1825.s: Add some tests.Stephane Carrez5-64/+78
* gas/m68hc11/bug-1825.d: Update. * gas/m68hc11/opers12.d: Update. * gas/m68hc11/opers12-dwarf2.d: Update.
2002-12-08 * m68hc11-dis.c (print_indexed_operand): Fix PC-relative addressStephane Carrez2-0/+7
for 9 and 16-bit PC-relative addressing mode.
2002-12-082002-12-07 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-6/+13
* gdbarch.sh (TARGET_FLOAT_FORMAT): Use the macro when printing the format name. (TARGET_DOUBLE_FORMAT, TARGET_LONG_DOUBLE_FORMAT): Ditto. * gdbarch.c: Regenerate.