aboutsummaryrefslogtreecommitdiff
path: root/gdb/corelow.c
AgeCommit message (Collapse)AuthorFilesLines
2005-05-012005-05-01 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-2/+2
* gdbarch.sh (deprecated_extract_return_value) (breakpoint_from_pc, deprecated_store_return_value) (memory_insert_breakpoint, memory_remove_breakpoint): Change type of buffer to a bfd_byte pointer. * gdbarch.h, gdbarch.c: Re-generate. * mem-break.c (memory_insert_breakpoint) (memory_remove_breakpoint, default_memory_insert_breakpoint) (default_memory_remove_breakpoint): Update. * target.h (memory_insert_breakpoint) (memory_remove_breakpoint, default_memory_insert_breakpoint) (default_memory_remove_breakpoint): Update declarations. (struct target_ops): Update to_insert_breakpoint and to_remove_breakpoint. * target.c (debug_to_remove_breakpoint) (debug_to_insert_breakpoint): Update. * remote-m32r-sdi.c (m32r_remove_breakpoint) (m32r_insert_breakpoint): Update. * m32r-tdep.c (m32r_memory_insert_breakpoint) (m32r_memory_remove_breakpoint): Update. * remote-e7000.c (e7000_insert_breakpoint) (e7000_remove_breakpoint): Update. * remote-rdi.c (arm_rdi_insert_breakpoint) (arm_rdi_remove_breakpoint): Update. * remote-sim.c (gdbsim_insert_breakpoint) (gdbsim_remove_breakpoint): Update. * exec.c (ignore): Update. * rs6000-tdep.c (rs6000_extract_return_value): Update. * ia64-tdep.c (ia64_memory_insert_breakpoint) (ia64_memory_remove_breakpoint): Update. * remote-rdp.c (remote_rdp_insert_breakpoint) (remote_rdp_remove_breakpoint): Update.
2005-03-17* corelow.c (get_core_register_section): Replace usage of sprintfMark Kettenis1-3/+4
and strcpy with xstrprintf and xstrdup.
2005-02-122005-02-11 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-3/+3
Mark up some of printf_filtered and printf_unfiltered. * ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update. * corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update. * demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update. * event-loop.c, event-top.c, exec.c, f-valprint.c: Update. * gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update. * infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update. * linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update. * mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update. * ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update. * remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update. * stack.c, symfile.c, symmisc.c, target.c, thread.c: Update. * top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update. * cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update. * tui/tui-regs.c, tui/tui-win.c: Update.
2005-02-112005-02-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-14/+15
Mark up all error and warning messages. * ada-lang.c, amd64-tdep.c, arch-utils.c, breakpoint.c: Update. * bsd-kvm.c, bsd-uthread.c, coff-solib.h, coffread.c: Update. * core-aout.c, core-regset.c, corefile.c, corelow.c: Update. * cp-abi.c, cp-support.c, cp-valprint.c, cris-tdep.c: Update. * dbxread.c, demangle.c, doublest.c, dsrec.c: Update. * dve3900-rom.c, dwarf2expr.c, dwarf2loc.c: Update. * dwarf2read.c, dwarfread.c, elfread.c, eval.c: Update. * event-top.c, exec.c, expprint.c, f-lang.c: Update. * f-typeprint.c, f-valprint.c, fbsd-nat.c, findvar.c: Update. * frame.c, frv-linux-tdep.c, gcore.c, gdbtypes.c: Update. * gnu-nat.c, gnu-v2-abi.c, gnu-v3-abi.c, go32-nat.c: Update. * hpacc-abi.c, hppa-hpux-nat.c, hppa-hpux-tdep.c: Update. * hppa-linux-nat.c, hppa-linux-tdep.c, hppa-tdep.c: Update. * hpread.c, hpux-thread.c, i386-linux-nat.c: Update. * i386-linux-tdep.c, i386-tdep.c, i386bsd-nat.c: Update. * i386gnu-nat.c, i387-tdep.c, ia64-linux-nat.c: Update. * ia64-tdep.c, inf-child.c, inf-ptrace.c, inf-ttrace.c: Update. * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update. * inftarg.c, interps.c, irix5-nat.c, jv-lang.c: Update. * kod-cisco.c, kod.c, language.c, libunwind-frame.c: Update. * linespec.c, linux-nat.c, linux-thread-db.c, m2-lang.c: Update. * m32r-rom.c, m68hc11-tdep.c, m68k-tdep.c: Update. * m68klinux-nat.c, macrocmd.c, macroexp.c, main.c: Update. * maint.c, mdebugread.c, mem-break.c, memattr.c: Update. * mips-linux-tdep.c, mips-tdep.c, mipsread.c, monitor.c: Update. * nlmread.c, nto-procfs.c, objc-lang.c, objfiles.c: Update. * observer.c, ocd.c, p-lang.c, p-typeprint.c: Update. * p-valprint.c, pa64solib.c, parse.c, ppc-linux-tdep.c: Update. * ppcnbsd-tdep.c, printcmd.c, procfs.c, remote-e7000.c: Update. * remote-fileio.c, remote-m32r-sdi.c, remote-rdi.c: Update. * remote-rdp.c, remote-sim.c, remote-st.c: Update. * remote-utils.c, remote-utils.h, remote.c: Update. * rom68k-rom.c, rs6000-nat.c, s390-tdep.c, scm-lang.c: Update. * ser-e7kpc.c, ser-tcp.c, ser-unix.c, sh-tdep.c: Update. * sh3-rom.c, shnbsd-tdep.c, sol-thread.c, solib-aix5.c: Update. * solib-frv.c, solib-irix.c, solib-osf.c, solib-pa64.c: Update. * solib-som.c, solib-sunos.c, solib-svr4.c, solib.c: Update. * somread.c, somsolib.c, source.c, stabsread.c: Update. * stack.c, std-regs.c, symfile-mem.c, symfile.c: Update. * symmisc.c, symtab.c, target.c, thread.c, top.c: Update. * tracepoint.c, trad-frame.c, typeprint.c, utils.c: Update. * uw-thread.c, valarith.c, valops.c, valprint.c: Update. * value.c, varobj.c, version.in, win32-nat.c, wince.c: Update. * xcoffread.c, xcoffsolib.c, cli/cli-cmds.c: Update. * cli/cli-decode.c, cli/cli-dump.c, cli/cli-logging.c: Update. * cli/cli-script.c, cli/cli-setshow.c, mi/mi-cmd-break.c: Update. * mi/mi-cmd-disas.c, mi/mi-cmd-env.c, mi/mi-cmd-file.c: Update. * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-getopt.c: Update. * mi/mi-symbol-cmds.c, tui/tui-layout.c, tui/tui-stack.c: Update. * tui/tui-win.c: Update.
2005-01-122005-01-12 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-0/+1
* exceptions.h (enum return_reason, RETURN_MASK) (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL) (return_mask, throw_exception, catch_exceptions_ftype) (catch_exceptions_with_msg, catch_errors_ftype, catch_errors) (catch_command_errors_ftype, catch_command_errors): Move to exceptions.h. * exceptions.c, exceptions.h: New files. * top.c: Do not include <setjmp.h>. (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return) (throw_exception, catcher, catch_exceptions) (catch_exceptions_with_msg, struct catch_errors_args) (do_catch_errors, catch_errors, struct captured_command_args) (do_captured_command, catch_command_errors): Move to exceptions.c. * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h". * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto. * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto. * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto. * remote-e7000.c, objc-lang.c, ocd.c: Ditto. * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto. * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto. * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto. * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto. * ada-valprint.c, ada-lang.c: Ditto. * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and exceptions.o. Update all dependencies.
2004-10-292004-10-29 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+1
* frame.h (get_selected_frame): Add message parameter. * frame.c (get_selected_frame): Add and use message parameter. * stack.c (current_frame_command, return_command, locals_info) (catch_info, args_info, up_silently_base, down_silently_base): Use get_selected_frame with an explicit message. * thread.c, stack.c, sh-tdep.c, sh64-tdep.c: Update. * remote-rdp.c, remote-mips.c, remote-e7000.c: Update. * ocd.c, mi/mi-main.c, mi/mi-cmd-stack.c: Update. * infrun.c, inflow.c, infcmd.c, frame.c: Update. * findvar.c, eval.c, corelow.c, bsd-kvm.c: Update. * breakpoint.c: Update.
2004-10-082004-10-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-5/+5
* target.h (struct target_ops): Rename to_xfer_memory to deprecated_xfer_memory. * target.c: Update. (deprecated_debug_xfer_memory): Rename debug_to_xfer_memory. * wince.c: Update. * win32-nat.c: Update. * v850ice.c: Update. * uw-thread.c: Update. * thread-db.c: Update. * sol-thread.c: Update. * remote.c: Update. * remote-vx.c: Update. * remote-st.c: Update. * remote-sim.c: Update. * remote-sds.c: Update. * remote-rdp.c: Update. * remote-rdi.c: Update. * remote-mips.c: Update. * remote-m32r-sdi.c: Update. * remote-e7000.c: Update. * procfs.c: Update. * ppc-bdm.c: Update. * nto-procfs.c: Update. * monitor.c: Update. * linux-nat.c: Update. * inftarg.c: Update. * hpux-thread.c: Update. * go32-nat.c: Update. * gnu-nat.c: Update. * exec.c: Update. * corelow.c: Update. * bsd-kvm.c: Update. * aix-thread.c: Update.
2004-07-062004-07-06 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+11
Patch from Bart Robinson. * corelow.c (core_open): Add variable "flags", or in O_LARGEFILE. (O_LARGEFILE): Define to 0, if not defined.
2004-05-252004-05-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+5
* inftarg.c: Include "observer.h". (child_attach, child_create_inferior): Notify inferior_created. * corelow.c: Include "observer.h". (core_open): Notify inferior_created. * Makefile.in (inftarg.o, corelow.o): Update dependencies.
2004-04-282004-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-2/+1
* stack.c (print_stack_frame_stub): Delete declaration. (struct print_stack_frame_args, print_stack_frame) (print_frame_info, print_frame): Replace "source" with print what. Replace "print" with "print_level". Replace "args" with "print_args". * frame.h (show_and_print_stack_frame, print_stack_frame) (print_frame_info): Update declarations. * stack.c (select_and_print_frame, frame_command) (current_frame_command, up_command, down_command): Update calls - use get_selected_frame, pass "enum print_what" for source, do not call frame_relative_level. * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto. * remote-rdp.c (remote_rdp_open): Ditto. * remote-mips.c (common_open): Ditto. * remote-e7000.c (e7000_start_remote): Ditto. * ocd.c (ocd_start_remote): Ditto. * mi/mi-main.c (mi_cmd_exec_return): Ditto. * infrun.c (normal_stop): Ditto. * inflow.c (kill_command): Ditto. * infcmd.c (finish_command): Ditto. * corelow.c (core_open): Ditto. * tracepoint.c (finish_tfind_command): Ditto. * thread.c (info_threads_command, info_threads_command) (restore_current_thread, do_captured_thread_select): Ditto. * ada-tasks.c (task_command): Ditto.
2004-04-212004-04-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-4/+4
* gdbcore.h: Update copyright. (deprecated_add_core_fns): Rename add_core_fns. * win32-nat.c (_initialize_core_win32): Update. * sun3-nat.c (_initialize_core_sun3): Update. * shnbsd-tdep.c (_initialize_shnbsd_tdep): Update. * rs6000-nat.c (_initialize_core_rs6000): Update. * ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Update. * nto-tdep.c (_initialize_nto_tdep): Update. * ns32knbsd-nat.c (_initialize_ns32knbsd_nat): Update. * mipsnbsd-tdep.c (_initialize_mipsnbsd_tdep): Update. * mips-nat.c (_initialize_core_mips): Update. * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update. * m68knbsd-nat.c (_initialize_m68knbsd_nat): Update. * m68klinux-nat.c (_initialize_m68k_linux_nat): Update. * lynx-nat.c (_initialize_core_lynx): Update. * irix5-nat.c (_initialize_core_irix5): Update. * i386-interix-nat.c (_initialize_core_interix): Update. * cris-tdep.c (_initialize_cris_tdep): Update. * corelow.c (deprecated_add_core_fns): Update. * core-regset.c (_initialize_core_regset): Update. * core-aout.c (_initialize_core_aout): Update. * armnbsd-nat.c (_initialize_arm_netbsd_nat): Update. * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Update. * alpha-nat.c (_initialize_core_alpha): Update.
2004-04-10* corelow.c (core_xfer_partial): Fix coding standards violation.Mark Kettenis1-3/+35
Add support for TARGET_OBJECT_WCOOKIE.
2004-02-282004-02-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-1/+1
* utils.c: Use "", instead of <>, to include readline. tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto. * tracepoint.c, top.c, symmisc.c, symfile.c: Ditto. * source.c, solib.c, exec.c, event-top.c: Ditto. * corelow.c, completer.c, cli/cli-setshow.c: Ditto. * cli/cli-dump.c, cli/cli-cmds.c: Ditto. * Makefile.in: Update all dependencies. (readline_tilde_h, readline_history_h): Define. (readline_headers): Delete.
2004-02-142004-02-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-2/+3
* corelow.c (core_xfer_partial): Use "struct bfd_section". * config/sparc/nm-nbsd.h (struct target_ops): Declare, update copyright. * mips-linux-tdep.c: Use "GNU/Linux", update copyright.
2004-02-012004-01-28 Roland McGrath <roland@redhat.com>Roland McGrath1-1/+59
* corelow.c (core_xfer_partial): New function. (init_core_ops): Use it for core_ops.to_xfer_partial.
2003-11-062003-11-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-1/+1
* xcoffread.c (find_linenos): Replace "sec_ptr" and "bfd" with "struct bfd_section" and "struct bfd". * target.h (struct section_table): Ditto. * rs6000-nat.c (xcoff_relocate_core): Ditto. * solib-svr4.c (elf_locate_base): Ditto. * pa64solib.c (dld_cache_t): Ditto. * objfiles.h (struct obj_section): Ditto. * objfiles.c (add_to_objfile_sections): Ditto. * exec.c (bfdsec_to_vmap): Ditto. (add_to_section_table): Ditto. (build_section_table): Ditto. * corelow.c (get_core_register_section): Ditto. * coffread.c (find_linenos): Ditto. * elfread.c (elf_interpreter): Delete #if0'd function. * mips-tdep.c (mips_dump_tdep): Delete code prinint VX_NUM_REGS. * config/sparc/tm-vxsparc.h (VX_NUM_REGS): Delete macro. * config/mips/tm-vxmips.h (VX_NUM_REGS): Delete macro. * config/m68k/tm-vx68.h (VX_NUM_REGS): Delete macro. * arch-utils.h (generic_cannot_extract_struct_value_address): Delete declaration. * wince.c (_initialize_wince): Fix multi-line string. * ia64-tdep.c (floatformat_valid): Convert to ISO C.
2003-10-29* corelow.c: Include "arch-utils.h", "regset.h" andMark Kettenis1-2/+42
"gdb_assert.h". (core_gdbarch): New variable. (sniff_core_bfd): Don't sniff if we have support for register sets in CORE_GDBARCH. (core_close): Reset CORE_GDBARCH. (core_open): Initialize CORE_GDBARCH. (get_core_register_section): Use register sets if they are supported by CORE_GDBARCH. (get_core_registers): Don't print error message if we have support for register sets in CORE_GDBARCH.
2003-10-232003-10-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-3/+4
* exec.h: New file. * win32-nat.c: Include "exec.h". * solib.c: Include "exec.h". * target.h (build_section_table): Delete declaration. * somsolib.c: Include "exec.h". (exec_ops): Delete extern declaration. * rs6000-nat.c: Update copyright. Include "exec.h". (exec_ops): Delete extern declaration. * pa64solib.c: Update copyright. Include "exec.h". (exec_ops): Delete extern declaration. * exec.c: Update copyright. Include "exec.h". * corelow.c: Update dependencies. Include "exec.h". * Makefile.in (exec_h): Define. (exec.o, somsolib.o): Update dependencies. (pa64solib.o, corelow.o): Update dependencies.
2003-09-212003-09-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-2/+0
* breakpoint.c: Eliminate ARGSUSED. * buildsym.c, cli/cli-cmds.c, cli/cli-script.c: Ditto. * coffread.c, corelow.c, dwarf2read.c, event-top.c: Ditto. * exec.c, gcore.c, hpux-thread.c, infcmd.c, inflow.c: Ditto. * infrun.c, inftarg.c, maint.c, ocd.c, printcmd.c: Ditto. * procfs.c, regcache.c, remote-rdi.c, remote-sds.c: Ditto. * remote.c, sol-thread.c, source.c, stabsread.c: Ditto. * stack.c, symfile.c, target.c, top.c, typeprint.c: Ditto. * utils.c, v850ice.c, valprint.c, values.c, win32-nat.c: Ditto. * wince.c, remote-vx.c: Ditto.
2003-01-182003-01-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-4/+4
* ada-valprint.c: Eliminate PTR. * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
2002-12-12 * corelow.c (init_core_ops): Delete references to to_require_attachDaniel Jacobowitz1-2/+0
and to_require_detach. * exec.c (init_exec_ops): Likewise. * hppah-nat.c (child_follow_fork): Call hppa_require_attach and hppa_require_detach directly. * inferior.h (REQUIRE_ATTACH, REQUIRE_DETACH): Delete. * inftarg.c (child_detach): Remove. (child_detach_from_process): Rename to child_detach, remove after_fork argument. (child_attach): Remove. (child_attach_to_process): Rename to child_attach, remove after_fork argument. (init_child_ops): Delete references to to_require_attach and to_require_detach. * infttrace.c (hppa_require_attach): Update comment. * target.c (cleanup_target, update_current_target) (init_dummy_target, setup_target_debug): Delete references to to_require_attach and to_require_detach. (find_default_require_detach, find_default_require_attach) (debug_to_require_attach, debug_to_require_detach): Remove functions. * target.h (struct target_ops): Remove to_require_attach and to_require_detach. (target_require_attach, target_require_detach): Delete macros. (find_default_require_detach, find_default_require_attach): Delete prototypes. * config/pa/nm-hppah.h (REQUIRE_ATTACH, REQUIRE_DETACH): Delete.
2002-12-092002-12-08 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+1
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-11-302002-11-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-2/+2
* 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-292002-11-29 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-2/+2
* 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-16 * config/pa/nm-hppah.h (CHILD_POST_FOLLOW_INFERIOR_BY_CLONE): Don'tDaniel Jacobowitz1-1/+0
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-072002-11-07 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-1/+1
* 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-05-17* corelow.c (core_open): Only call set_gdbarch_from_file ifMark Kettenis1-1/+6
exec_bfd is NULL.
2002-05-05* frame.h (select_frame): Delete level parameter.Andrew Cagney1-1/+1
* stack.c (select_frame): Update. Use frame_relative_level to obtain the frame's level. (select_and_print_frame): Update call. (select_frame_command): Ditto. (up_silently_base): Ditto. (down_silently_base): Ditto. * ocd.c (ocd_start_remote): Ditto. * remote-rdp.c (remote_rdp_open): Ditto. * remote-mips.c (mips_initialize): Ditto. (common_open): Ditto. * remote-e7000.c (e7000_start_remote): Ditto. * m3-nat.c (select_thread): Ditto. * hppa-tdep.c (child_get_current_exception_event): Ditto. (child_get_current_exception_event): Ditto. * varobj.c (varobj_create): Ditto. (varobj_update): Ditto. (c_value_of_root): Ditto. * tracepoint.c (finish_tfind_command): Ditto. * corelow.c (core_open): Ditto. * arch-utils.c (generic_prepare_to_proceed): Ditto. * thread.c (info_threads_command): Ditto. (switch_to_thread): Ditto. * infrun.c (normal_stop): Ditto. (restore_selected_frame): Ditto. (restore_inferior_status): Ditto. * breakpoint.c (insert_breakpoints): Ditto. (watchpoint_check): Ditto. (bpstat_stop_status): Ditto. (do_enable_breakpoint): Ditto. * blockframe.c (flush_cached_frames): Ditto. (reinit_frame_cache): Ditto.
2002-04-21* frame.h (selected_frame_level): Document as deprecated.Andrew Cagney1-1/+2
(frame_relative_level): Declare. * stack.c (frame_relative_level): New function. (selected_frame_level): Document as deprecated. (select_frame): Do not set the selected_frame_level. * stack.c (frame_info, record_selected_frame): Update. (frame_command, current_frame_command): Update. (up_silently_base, up_command, down_silently_base): Update. (down_command): Update. * inflow.c (kill_command): Update. * tracepoint.c (finish_tfind_command): Update. * corelow.c (core_open): Update. * thread.c (info_threads_command): Update. (do_captured_thread_select): Update. * infcmd.c (finish_command): Update. * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update.
2002-02-27* memattr.c (mem_command): Eliminate ``true'' and ``false''.Andrew Cagney1-2/+2
* osfsolib.c (solib_map_sections): Ditto. * irix5-nat.c (solib_map_sections): Ditto. * corelow.c (gdb_check_format): Ditto. * symfile.c (symfile_bfd_open): Ditto. * solib.c (solib_map_sections): Ditto. Partially fix PR gdb/354.
2001-11-01Approved by kev@cygnus.comFred Fish1-1/+2
ChangeLog entry: 2001-11-01 Fred Fish <fnf@redhat.com> * coff-solib.c (coff_solib_add): Add new readsyms arg. * irix5-nat.c (solib_add): Ditto. * osfsolib.c (solib_add): Ditto. * pa64solib.c (pa64_solib_add): Ditto. * pa64solib.c (add_to_solist): Ditto. * pa64solib.c (read_dld_descriptor): Ditto. * solib.c (solib_add): Ditto. * somsolib.c (som_solib_add): Ditto. * win32-nat.c (child_solib_add): Ditto. * xcoffsolib.c (solib_add): Ditto. * coff-solib.h (coff_solib_add): Add new readsyms arg to prototype. * pa64solib.c (add_to_solist): Ditto. * pa64solib.c (read_dld_descriptor): Ditto. * pa64solib.h (pa64_solib_add): Ditto. * solib.h (solib_add): Ditto. * somsolib.h (som_solib_add): Ditto. * config/i386/tm-cygwin.h (child_solib_add): Ditto. * coff-solib.c (coff_solib_add): If readsyms is zero don't read symbols but do any other needed work for shared libs. * irix5-nat.c: Ditto. * osfsolib.c (solib_add): Ditto. * solib.c (solib_add): Ditto. * win32-nat.c (child_solib_add): Ditto. * xcoffsolib.c (solib_add): Ditto. * irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to solib_add to force reading of shared library symbols. * osfsolib.c (sharedlibrary_command;): Ditto. * pa64solib.c (pa64_solib_sharedlibrary_command): Ditto. * solib.c (sharedlibrary_command): Ditto. * somsolib.c (som_solib_sharedlibrary_command): Ditto. * xcoffsolib.c (sharedlibrary_command): Ditto. * coff-solib.c (coff_solib_create_inferior_hook): Call solib_add unconditionally with auto_solib_add. * irix5-nat.c (solib_create_inferior_hook): Ditto. * osfsolib.c (solib_create_inferior_hook): Ditto. * solib.c (solib_create_inferior_hook): Ditto. * solib-osf.c (osf_solib_create_inferior_hook): Ditto. * solib-svr4.c (enable_break): Ditto. * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. * corelow.c (solib_add_stub): Add auto_solib_add to args passed via SOLIB_ADD. * sol-thread.c (sol_thread_attach): Ditto. * config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto. * infcmd.c (attach_command): Remove auto_solib_add decl. Call SOLIB_ADD directly with auto_solib_add. * infrun.c (handle_inferior_event): Ditto. * coff-solib.h (SOLIB_ADD): Add readsyms arg. * pa64solib.h (SOLIB_ADD): Ditto. * solib.h (SOLIB_ADD): Ditto. * somsolib.h (SOLIB_ADD): Ditto. * config/i386/tm-cygwin.h (SOLIB_ADD): Ditto. * fork-child.c (clone_and_follow_inferior): Remove unused auto_solib_add decl. * pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms. (read_dld_descriptor): Ditto. (pa64_solib_add): Call read_dld_descriptor with readsyms. (pa64_solib_in_dynamic_linker): Ditto. * corelow.c (symfile.h): Need this for auto_solib_add declaration. * sol-thread.c (symfile.h): Ditto. Approved by eliz@is.elta.co.il doc/ChangeLog entry: 2001-11-01 Fred Fish <fnf@redhat.com> * gdbint.texinfo (SOLIB_ADD): Document additional new "readsyms" arg.
2001-05-15Redefine ptid_t to be a struct rather than an int.Kevin Buettner1-15/+0
2001-05-04Phase 1 of the ptid_t changes.Kevin Buettner1-10/+25
2001-04-14* target.h (target_ops): Removed to_core_file_to_sym_file vectorJ.T. Conklin1-65/+0
function. * corelow.c (core_ops): Updated for above change. * gnu-nat.c (core_ops): Likewise. * inftarg.c (child_ops): Likewise. * monitor.c (monitor_ops): Likewise. * ppc-bdm.c (bdm_ppc_ops): Likewise. * remote-adapt.c (adapt_ops): Likewise. * remote-bug.c (bug_ops): Likewise. * remote-e7000.c (e7000_ops): Likewise. * remote-eb.c (eb_ops): Likewise. * remote-es.c (es1800_ops, es1800_child_ops): Likewise. * remote-mm.c (mm_ops): Likewise. * remote-nindy.c (nindy_ops): Likewise. * remote-nrom.c (nrom_ops): Likewise. * remote-os9k.c (rombug_ops): Likewise. * remote-rdp.c (remote_rdp_ops): Likewise. * remote-sim.c (gdbsim_ops): Likewise. * remote-st.c (st2000_ops): Likewise. * v850ice.c (v850ice_ops): Likewise. * target.c (cleanup_target): Likewise (update_current_target): Likewise. (setup_target_debug): Likewise (debug_to_core_file_to_sym_file): Removed. * corefile.c (core_file_command) [HPUXHPPA]: Removed code that sets symbol file from information obtained from the core file. * corelow.c (core_file_to_sym_file): Removed.
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+2
2001-03-01Create new file regcache.h. Update all uses.Andrew Cagney1-0/+1
2001-02-14 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.Michael Sokolov1-1/+4
* configure, config.in: Regenerate. * corelow.c: Include <sys/file.h> if present.
2000-12-15Replace free() with xfree().Kevin Buettner1-4/+4
2000-10-23Corrected spelling errors in commentsDavid Anderson1-1/+1
2000-09-01Spelling correction: of->if in comment.David Anderson1-1/+1
2000-08-27* win32-nat.c (dll_symbol_command): Tack a .dll on the end of a suppliedChristopher Faylor1-1/+5
argument if it is missing an extension. * corelow.c: Define O_BINARY if it isn't defined. (core_open): Open core file in binary mode. * config/i386/tm-cygwin.h (child_clear_solibs): Rename from child_clear_solib. * config/i386/cygwin.mh: Add dependency from corelow.o. * win32-nat.c (register_loaded_dll): New function. Add dll to the list of currently loaded dlls. (handle_load_dll): Use register_loaded_dll. (child_solib_add): Distinguish between active process and core targets. (solib_symbols_add): Load symbols from loaded dll. (core_dll_symbols_add): New function. Load symbols from dll referenced in core. (core_section_load_dll_symbols): New function. (dll_code_sections_add): New function. (map_single_dll_code_section): New function. (fetch_elf_core_registers): New function. (_initialize_core_win32): New function.
2000-07-30Protoization.Kevin Buettner1-38/+17
2000-06-04Eliminate safe_strsignal().Andrew Cagney1-2/+6
2000-05-28PARAMS removal.Kevin Buettner1-14/+14
2000-05-22Purge (almost) make_cleanup_func.Andrew Cagney1-1/+9
2000-05-16Cleanup bfd_close() cleanups.Andrew Cagney1-2/+2
2000-04-272000-04-27 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-0/+2
* jv-valprint.c (java_val_print): Add arg declaration, fix compiler warning. * corelow.c (core_open): Call set_gdbarch_from_file so that gdbarch becomes aware of the architecture encoded in the corefile. * findvar.c (write_register_gen): Export this useful interface. * value.h (write_register_gen): Declare.
1999-12-08import gdb-1999-12-07 snapshotJason Molenda1-53/+62
1999-10-05import gdb-1999-10-04 snapshotJason Molenda1-25/+103
1999-08-31import gdb-1999-08-30 snapshotJason Molenda1-1/+0