aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/nm-linux.h
AgeCommit message (Collapse)AuthorFilesLines
2017-01-01update copyright year range in GDB filesJoel Brobecker1-1/+1
This applies the second part of GDB's End of Year Procedure, which updates the copyright year range in all of GDB's files. gdb/ChangeLog: Update copyright year range in all GDB files.
2016-01-01GDB copyright headers update after running GDB's copyright.py script.Joel Brobecker1-1/+1
gdb/ChangeLog: Update year range in copyright notice of all files.
2015-01-01Update year range in copyright notice of all files owned by the GDB project.Joel Brobecker1-1/+1
gdb/ChangeLog: Update year range in copyright notice of all files.
2014-01-01Update Copyright year range in all files maintained by GDB.Joel Brobecker1-1/+1
2013-02-12Consistent use of (C) after "Copyright".Pedro Alves1-1/+1
While writing the previous patch, I noticed that we're not consistent with the (C) in the copyright header. The maintainers manual prefers having it, though also says it's optional. We have over 10x more files with (C) than without in gdb's code, so I spent a few minutes grepping and fixing. Funny enough, the testsuite has it backwards. I'll leave that for another time. gdb/ 2013-02-12 Pedro Alves <palves@redhat.com> * amd64-darwin-tdep.c: Add (C) after Copyright. * cli/cli-cmds.h: Ditto. * cli/cli-decode.c: Ditto. * cli/cli-decode.h: Ditto. * cli/cli-dump.c: Ditto. * cli/cli-dump.h: Ditto. * cli/cli-interp.c: Ditto. * cli/cli-logging.c: Ditto. * cli/cli-script.c: Ditto. * cli/cli-script.h: Ditto. * cli/cli-setshow.c: Ditto. * cli/cli-setshow.h: Ditto. * cli/cli-utils.c: Ditto. * cli/cli-utils.h: Ditto. * config/alpha/nm-osf3.h: Ditto. * config/djgpp/djconfig.sh: Ditto. * config/i386/nm-fbsd.h: Ditto. * config/i386/nm-i386gnu.h: Ditto. * config/nm-linux.h: Ditto. * config/nm-nto.h: Ditto. * config/rs6000/nm-rs6000.h: Ditto. * config/sparc/nm-sol2.h: Ditto. * darwin-nat-info.c: Ditto. * dfp.c: Ditto. * dfp.h: Ditto. * gdb-demangle.h: Ditto. * i386-darwin-nat.c: Ditto. * i386-darwin-tdep.c: Ditto. * linux-fork.h: Ditto. * m32c-tdep.c: Ditto. * microblaze-linux-tdep.c: Ditto. * microblaze-rom.c: Ditto. * microblaze-tdep.c: Ditto. * microblaze-tdep.h: Ditto. * mips-linux-tdep.h: Ditto. * ppc-ravenscar-thread.c: Ditto. * ppc-ravenscar-thread.h: Ditto. * prologue-value.c: Ditto. * prologue-value.h: Ditto. * ravenscar-thread.c: Ditto. * ravenscar-thread.h: Ditto. * sparc-ravenscar-thread.c: Ditto. * sparc-ravenscar-thread.h: Ditto. * tilegx-linux-tdep.c: Ditto. * unwind_stop_reasons.def: Ditto. * windows-nat.h: Ditto. * xtensa-linux-tdep.c: Ditto. * xtensa-xtregs.c: Ditto. * regformats/regdat.sh: Ditto. * regformats/regdef.h: Ditto. gdb/gdbserver/ 2013-02-12 Pedro Alves <palves@redhat.com> * linux-xtensa-low.c: Ditto. * xtensa-xtregs.c: Ditto.
2013-01-01Update years in copyright notice for the GDB files.Joel Brobecker1-1/+1
Two modifications: 1. The addition of 2013 to the copyright year range for every file; 2. The use of a single year range, instead of potentially multiple year ranges, as approved by the FSF.
2012-01-04Copyright year update in most files of the GDB Project.Joel Brobecker1-2/+1
gdb/ChangeLog: Copyright year update in most files of the GDB Project.
2011-01-01run copyright.sh for 2011.Joel Brobecker1-1/+1
2010-06-11 * config/nm-linux.h (struct target_ops): Remove forward declaration.Ulrich Weigand1-5/+0
(lin_thread_get_thread_signals): Remove prototype. (GET_THREAD_SIGNALS): Remove. * linux-nat.h (lin_thread_get_thread_signals): Add prototype. * linux-thread-db.c (check_thread_signals): Directly call lin_thread_get_thread_signals; do not check GET_THREAD_SIGNALS.
2010-01-01Update copyright year in most headers.Joel Brobecker1-2/+2
Automatic update by copyright.sh.
2009-01-03 Updated copyright notices for most files.Joel Brobecker1-1/+1
2008-01-01 Updated copyright notices for most files.Daniel Jacobowitz1-1/+1
2007-08-23 Switch the license of all .c files to GPLv3.Joel Brobecker1-4/+2
Switch the license of all .h files to GPLv3. Switch the license of all .cc files to GPLv3.
2007-05-08ChangeLog:Ulrich Weigand1-3/+0
* config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define. * config/mips/nm-irix5.h (USE_PROC_FS): Do not define. * config/nm-linux.h (USE_PROC_FS): Do not undefine. doc/ChangeLog: * gdbint.texinfo (Native Conditionals): Remove USE_PROC_FS.
2007-01-09Copyright updates for 2007.Daniel Jacobowitz1-1/+1
2006-12-31 * linux-nat.c (lin_lwp_attach_lwp): Return a status. Do notDaniel Jacobowitz1-4/+1
add the LWP to our list until we are attached. Warn instead of erroring if the attach fails. * linux-nat.h (lin_lwp_attach_lwp): New prototype. * linux-thread-db.c (attach_thread): Call lin_lwp_attach_lwp directly. Do not add the thread to our list until we are successfully attached. * config/nm-linux.h (lin_lwp_attach_lwp, ATTACH_LWP): Delete.
2006-11-28 * config/nm-linux.h: Do not include <signal.h>.Ulrich Weigand1-10/+0
(REALTIME_LO, REALTIME_HI): Do not define. * signals/signals.c (REALTIME_HI): Fix off-by-one bug.
2006-11-24 * Makefile.in (mips-linux-tdep.o) Add $(solib_h) dependency.Ulrich Weigand1-8/+0
(nto-procfs.o): Likewise. * mips-linux-tdep.c: Include "solib.h". * nto-procfs.c: Likewise. * config/nm-linux.h: Do not include "solib.h". * config/nm-nbsd.h: Likewise. * config/tm-linux.h: Likewise. * config/alpha/nm-osf.h: Likewise. * config/frv/tm-frv.h: Likewise. * config/i386/nm-fbsh.h: Likewise. * config/i386/nm-i386gnu.h: Likewise. * config/i386/nm-i386sco5.h: Likewise. * config/i386/nm-i386sol2.h: Likewise. * config/i386/nm-i386v4.h: Likewise. * config/i386/nm-i386v42mp.h: Likewise. * config/i386/tm-i386sol2.h: Likewise. * config/i386/tm-nto.h: Likewise. * config/mips/nm-irix5.h: Likewise. * config/mips/tm-nbsd.h: Likewise. * config/pa/tm-hppah.h: Likewise. * config/powerpc/tm-ppc-eabi.h: Likewise. * config/rs6000/tm-rs6000.h: Likewise. * config/sh/tm-nbsd.h: Likewise. * config/sparc/nm-sol2.h: Likewise. * config/sparc/tm-sol2.h: Likewise. * config/arm/nbsdaout.mh: Remove NAT_FILE. * config/i386/nbsdaout.mh: Likewise. * config/i386/nbsdelf.mh: Likewise. * config/i386/obsdaout.mh: Likewise. * config/m68k/nbsdaout.mh: Likewise. * config/m68k/obsd.mh: Likewise. * config/sparc/nbsdaout.mh: Likewise. * config/cris/cris.mt: Remove DEPRECATED_TM_FILE. * config/i386/linux64.mt: Likewise. * config/m68k/linux.mt: Likewise. * config/m68k/nbsd.mt: Likewise. * config/sparc/linux.mt: Likewise. * config/sparc/linux64.mt: Likewise. * config/vax/nbsd.mt: Likewise.
2005-09-10 * Makefile.in (ALLDEPFILES): Update.Daniel Jacobowitz1-20/+2
(alpha-linux-nat.o, sparc-linux-nat.o): New rules. (amd64-linux-nat.o, arm-linux-nat.o, hppa-linux-nat.o) (i386-linux-nat.o, ia64-linux-nat.o, linux-nat.o, m32r-linux-nat.o) (m68klinux-nat.o, mips-linux-nat.o, ppc-linux-nat.o, s390-nat.o) (sparc64-linux-nat.o): Update dependencies. * alpha-linux-nat.c, sparc-linux-nat.c: New files. * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Renamed from fetch_inferior_registers and made static. (amd64_linux_store_inferior_registers): Renamed from store_inferior_registers and made static. (amd64_linux_child_post_start_inferior): Renamed from child_post_startup_inferior and made static. Call super_post_startup_inferior. (super_post_startup_inferior): New. (_initialize_amd64_linux_nat): Set it. Call linux_target and add_target. * arm-linux-nat.c (arm_linux_fetch_inferior_registers): Renamed from fetch_inferior_registers and made static. (arm_linux_store_inferior_registers): Renamed from store_inferior_registers and made static. (_initialize_arm_linux_nat): Add a prototype. Use linux_target and add_target. * hppa-linux-nat.c (hppa_linux_fetch_inferior_registers): Renamed from fetch_inferior_registers and made static. (hppa_linux_store_inferior_registers): Renamed from store_inferior_registers and made static. (_initialize_hppa_linux_nat): New function. * i386-linux-nat.c (i386_linux_fetch_inferior_registers): Renamed from fetch_inferior_registers and made static. (i386_linux_store_inferior_registers): Renamed from store_inferior_registers and made static. (i386_linux_resume): Renamed from child_resume and made static. (i386_linux_child_post_start_inferior): Renamed from child_post_startup_inferior and made static. Call super_post_startup_inferior. (super_post_startup_inferior): New. (_initialize_i386_linux_nat): New function. * i386-nat.c: Remove LINUX_CHILD_POST_STARTUP_INFERIOR #ifndef. * ia64-linux-nat.c (ia64_linux_xfer_unwind_table): Remove. (super_xfer_partial): New. (ia64_linux_xfer_partial): New function. Use it. (_initialize_ia64_linux_nat): New function. * ia64-tdep.c (getunwind_table): Revert 2005-06-08 change; use target_read_partial and document the problem. * inf-ptrace.c (inf_ptrace_fetch_register): Use CANNOT_FETCH_REGISTER. Fix some comments. (inf_ptrace_store_register): Use CANNOT_STORE_REGISTER. Fix some comments. * linux-nat.c: Include "inf-ptrace.h" and "auxv.h". (linux_ops, super_xfer_partial): New variables. (linux_child_post_startup_inferior): Make static. (child_post_startup_inferior): Delete. (linux_nat_attach, linux_nat_detach, resume_callback) (linux_nat_resume, linux_nat_wait, linux_nat_create_inferior) (linux_nat_mourn_inferior): Use linux_ops instead of deprecated_child_ops. (child_wait): Do not depend on CHILD_WAIT. (linux_nat_xfer_memory): Remove, replace by ... (linux_nat_xfer_partial): ... this. Use linux_ops->to_xfer_partial instead of linux_proc_xfer_memory and child_xfer_memory. (linux_nat_fetch_registers, linux_nat_store_registers) (linux_nat_child_post_startup_inferior): New functions. (init_linux_nat_ops): Use the new functions. (linux_proc_xfer_memory): Remove, replace by ... (linux_proc_xfer_partial): ... this. Make static. (linux_xfer_partial, linux_register_u_offset, linux_target): New functions. (_initialize_linux_nat): Do not modify deprecated_child_ops. * linux-nat.h (linux_proc_xfer_memory): Remove prototype. (struct mem_attrib, struct target_ops): Remove forward declarations. (linux_child_post_startup_inferior): Remove prototype. (linux_target): Add prototype. * linux-thread-db.c (thread_db_xfer_memory): Remove, replace by ... (thread_db_xfer_partial): ... this. (init_thread_db_ops): Set to_xfer_partial instead of deprecated_xfer_memory. * m32r-linux-nat.c (m32r_linux_fetch_inferior_registers): Renamed from fetch_inferior_registers and made static. (m32r_linux_store_inferior_registers): Renamed from store_inferior_registers and made static. (_initialize_m32r_linux_nat): New function. * m68klinux-nat.c (m68k_linux_fetch_inferior_registers): Renamed from fetch_inferior_registers and made static. (m68k_linux_store_inferior_registers): Renamed from store_inferior_registers and made static. (old_fetch_inferior_registers, old_store_inferior_registers): Made static. (_initialize_m68k_linux_nat): Use linux_target and add_target. * mips-linux-nat.c (_initialize_mips_linux_nat): New function. * ppc-linux-nat.c (ppc_linux_fetch_inferior_registers): Renamed from fetch_inferior_registers and made static. (ppc_linux_store_inferior_registers): Renamed from store_inferior_registers and made static. (_initialize_ppc_linux_nat): New function. * s390-nat.c (s390_linux_fetch_inferior_registers): Renamed from fetch_inferior_registers and made static. (s390_linux_store_inferior_registers): Renamed from store_inferior_registers and made static. (_initialize_s390_nat): New function. * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Use linux_target and add_target. * config/nm-linux.h: Don't include "auxv.h". (struct target_waitstatus, child_wait, CHILD_WAIT) (CHILD_PID_TO_EXEC_FILE, CHILD_INSERT_FORK_CATCHPOINT) (CHILD_INSERT_VFORK_CATCHPOINT, CHILD_INSERT_EXEC_CATCHPOINT) (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH, CHILD_FOLLOW_FORK) (DEPRECATED_KILL_INFERIOR, NATIVE_XFER_AUXV): Delete. * config/alpha/alpha-linux.mh (NATDEPFILES): Replace infptrace.o and inftarg.o with inf-ptrace.o and alpha-linux-nat.o. * config/sparc/linux.mh (NATDEPFILES): Replace infptrace.o and inftarg.o with sparc-linux-nat.o. * config/sparc/linux64.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. * config/arm/linux.mh (NATDEPFILES): Replace infptrace.o and inftarg.o with inf-ptrace.o. * config/i386/linux.mh (NATDEPFILES): Likewise. * config/i386/linux64.mh (NATDEPFILES): Likewise. * config/ia64/linux.mh (NATDEPFILES): Likewise. * config/m32r/linux.mh (NATDEPFILES): Likewise. * config/m68k/linux.mh (NATDEPFILES): Likewise. * config/mips/linux.mh (NATDEPFILES): Likewise. * config/pa/linux.mh (NATDEPFILES): Likewise. * config/powerpc/linux.mh (NATDEPFILES): Likewise. * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise. * config/s390/s390.mh (NATDEPFILES): Likewise. * config/i386/nm-linux.h (DEPRECATED_CHILD_RESUME): Don't define. (LINUX_CHILD_POST_STARTUP_INFERIOR): Don't define. * config/i386/nm-linux64.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Don't define. * config/ia64/nm-linux.h: Don't include "target.h". (NATIVE_XFER_UNWIND_TABLE, ia64_linux_xfer_unwind_table): Remove. * config/djgpp/fnchange.lst: Add alpha-linux-tdep.c, alpha-linux-nat.c, sparc-linux-tdep.c, and sparc-linux-nat.c.
2004-09-202004-09-20 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+1
* config/nm-lynx.h (DEPRECATED_CHILD_RESUME): Deprecate CHILD_RESUME. * config/i386/nm-linux.h (DEPRECATED_CHILD_RESUME): Ditto. * config/nm-linux.h (DEPRECATED_KILL_INFERIOR): Deprecate KILL_INFERIOR. * infptrace.c: Update.
2004-09-03Index: ChangeLogAndrew Cagney1-1/+0
2004-09-03 Andrew Cagney <cagney@gnu.org> * config/m68k/tm-linux.h (SVR4_SHARED_LIBS): Delete. * config/i386/tm-linux64.h (SVR4_SHARED_LIBS): Delete. * config/i386/nm-i386sco5.h (SVR4_SHARED_LIBS): Delete. * config/tm-linux.h (SVR4_SHARED_LIBS): Delete. * config/nm-sysv4.h (SVR4_SHARED_LIBS): Delete. * config/nm-linux.h (SVR4_SHARED_LIBS): Delete. * config/nm-gnu.h (SVR4_SHARED_LIBS): Delete. * sh64-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper. * sh-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper. Index: doc/ChangeLog 2004-09-03 Andrew Cagney <cagney@gnu.org> * gdbint.texinfo (Native Debugging): Delete SVR4_SHARED_LIBS.
2004-08-012004-08-01 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-4/+0
* config/ia64/tm-linux.h (IA64_GNULINUX_TARGET): Delete. * config/alpha/nm-osf2.h (PROCFS_SIGPEND_OFFSET): Delete. * config/nm-gnu.h (NO_CORE_OPS): Delete. * config/pa/nm-hppah.h (MAY_SWITCH_FROM_INFERIOR_PID): Delete. * config/i386/nm-i386v4.h (LOSING_POLL): Delete. * config/alpha/nm-osf2.h (LOSING_POLL): Delete. * config/tm-nto.h (RAW_SIGNAL_LO, RAW_SIGNAL_HI): Delete. * config/m68k/tm-vx68.h (VX_SIZE_FPREGS): Delete. * config/nm-linux.h (USE_THREAD_STEP_NEEDED): Delete. * config/pa/nm-hppah.h (USE_THREAD_STEP_NEEDED): Delete. * config/tm-nto.h (TARGET_SIGNAL_RAW_TABLE) Delete. (TARGET_SIGNAL_RAW_VALUES): Delete. * config/pa/nm-hppah.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete. * config/frv/tm-frv.h (TARGET_HW_BREAK_LIMIT) (TARGET_HW_WATCH_LIMIT): Delete. * Makefile.in (minimon_h, HFILES_NO_SRCDIR): Remove minimon.h. * minimon.h: Delete file.
2004-06-082004-06-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-3/+0
* infptrace.c [ATTACH_DETACH]: Remove #ifdef wrappers. (attach, detach): When neither PT_ATTACH / PT_DETACH nor PTRACE_ATTACH / PTRACE_DETACH available call error. (PT_ATTACH, PT_DETACH): Move definition to attach / detach. * infttrace.c (update_thread_state_after_attach, attach, detach): Remove #ifdef wrappers. * inftarg.c (child_attach, child_detach): Remove #ifdef wrappers. * gnu-nat.c [ATTACH_DETACH]: Remove #ifdef wrappers. * config/nm-bsd.h (ATTACH_DETACH): Delete. * config/nm-sysv4.h (ATTACH_DETACH): Delete. * config/nm-nbsd.h (ATTACH_DETACH): Delete. * config/nm-linux.h (ATTACH_DETACH): Delete. * config/rs6000/nm-rs6000.h (ATTACH_DETACH): Delete. * config/pa/nm-hppah.h (ATTACH_DETACH): Delete. * config/i386/nm-i386sco5.h (ATTACH_DETACH): Delete. * config/i386/nm-i386sco4.h (ATTACH_DETACH): Delete. * config/i386/nm-i386gnu.h (ATTACH_DETACH): Delete. Index: doc/ChangeLog 2004-06-08 Andrew Cagney <cagney@gnu.org> * gdbint.texinfo (Native Debugging): Delete documentation on ATTACH_DETACH.
2004-02-012004-01-28 Roland McGrath <roland@redhat.com>Roland McGrath1-0/+3
* config/nm-linux.h (NATIVE_XFER_AUXV): New macro, uses auxv.c's procfs_xfer_auxv function.
2003-08-17 * Makefile.in (i386-linux-nat.o): Update dependencies.Daniel Jacobowitz1-0/+4
* config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. * config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH) (CHILD_FOLLOW_FORK, KILL_INFERIOR): Define. * i386-linux-nat.c: Include "linux-nat.h". (child_post_startup_inferior): New function. * i386-nat.c (child_post_startup_inferior): Wrap in #ifdef. * infptrace.c (kill_inferior): Wrap in #ifdef. * lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after attaching to each LWP. (child_wait, lin_lwp_wait): Call linux_handle_extended_wait. (init_lin_lwp_ops): Fill in some more operations. * linux-nat.h (linux_enable_event_reporting) (linux_handle_extended_wait, linux_child_post_startup_inferior): New prototypes. * linux-nat.c (linux_enable_event_reporting): New function. (child_post_attach, linux_child_post_startup_inferior) (child_post_startup_inferior, child_follow_fork) (linux_handle_extended_wait, kill_inferior): New functions.
2003-06-192003-06-19 Michael Snyder <msnyder@redhat.com>Michael Snyder1-7/+0
* linux-nat.h: New file. * linux-nat.c: Include linux-nat.h. * lin-lwp.c: Include linux-nat.h. Move struct lwp_info def to linux-nat.h. * linux-proc.c: Include linux-nat.h. (linux_make_note_section): Iterate over lwps instead of threads. (linux_do_thread_registers): Use lwp instead of merged pid. * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h. * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o): Add dependency on linux_nat_h.
2003-06-19 * arch-utils.c (default_prepare_to_proceed): Remove.Daniel Jacobowitz1-3/+0
(generic_prepare_to_proceed): Remove. * arch-utils.h (default_prepare_to_proceed): Remove prototype. (generic_prepare_to_proceed): Remove prototype. * gdbarch.sh (PREPARE_TO_PROCEED): Remove. * gdbarch.c: Regenerate. * gdbarch.h: Regenerate. * hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype. * hppah-nat.c (hppa_switched_threads): Remove. * infrun.c (prepare_to_proceed): New static function, copied from generic_prepare_to_proceed. Remove select_it argument. (proceed): Call prepare_to_proceed. * infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove variables. (ptrace_wait): Don't set the removed variables. (hppa_switched_threads): Remove. * lin-lwp.c (lin_lwp_prepare_to_proceed): Remove. * config/nm-linux.h (PREPARE_TO_PROCEED): Don't define. (lin_lwp_prepare_to_proceed): Remove prototype. * config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine. * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define.
2003-06-18 * config/nm-linux.h (linux_record_stopped_pid): New prototype.Daniel Jacobowitz1-0/+2
* lin-lwp.c (child_wait): Call linux_record_stopped_pid. (lin_lwp_wait): Likewise. Update comments. * linux-nat.c (struct simple_pid_list, add_to_pid_list) (pull_pid_from_list, linux_record_stopped_pid): New.
2003-06-15 * Makefile.in (linux-nat.o): Add rule.Daniel Jacobowitz1-0/+4
* linux-nat.c: New file. * config/nm-linux.h (CHILD_INSERT_FORK_CATCHPOINT): Define. (CHILD_INSERT_VFORK_CATCHPOINT): Define. (CHILD_INSERT_EXEC_CATCHPOINT): Define. * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-nat.o. * config/arm/linux.mh (NATDEPFILES): Likewise. * config/i386/linux.mh (NATDEPFILES): Likewise. * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. * config/ia64/linux.mh (NATDEPFILES): Likewise. * config/m68k/linux.mh (NATDEPFILES): Likewise. * config/mips/linux.mh (NATDEPFILES): Likewise. * config/powerpc/linux.mh (NATDEPFILES): Likewise. * config/s390/s390.mh (NATDEPFILES): Likewise. * config/sparc/linux.mh (NATDEPFILES): Likewise.
2003-04-122003-04-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+2
* gdbarch.sh: Add missing opaque declarations. * gdbarch.h: Regnerate. * symtab.h: Add missing opaque declarations. * value.h, target.h, symfile.h, stabsread.h: Ditto. * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. * cli/cli-setshow.h, cli/cli-script.h: Ditto.
2002-11-26 * acconfig.h (HAVE_PREAD64): Add.Daniel Jacobowitz1-1/+4
* 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-02-24s/Linux/.../Andrew Cagney1-3/+3
Fix PR gdb/378.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+5
* linux-proc.c: New file. Implement child_pid_to_exec_file, so that attaching to a pid will automatically read the process's symbol file and shlibs. * Makefile.in: Add rule for linux-proc.o. * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. * config/arm/linux.mh: Ditto. * config/i386/linux.mh: Ditto. * config/i386/x86-64linux.mh: Ditto. * config/ia64/linux.mh: Ditto. * config/m68k/linux.mh: Ditto. * config/mips/linux.mh: Ditto. * config/powerpc/linux.mh: Ditto. * config/sparc/linux.mh: Ditto.
2001-10-14* config/nm-linux.h (struct objfile): Remove forward declaration.Mark Kettenis1-23/+21
(linuxthreads_new_objfile): Remove prototype. (linuxthreads_pid_to_str): Remove prototype. (PREPARE_TO_PROCEED): Redefine in terms of lin_lwp_prepare_to_proceed. (struct target_waitstatus): Forward declaration. (child_wait): New prototype. (CHILD_WAIT): Define. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Moved here from arch-specific files. * config/alpha/nm-linux.h, config/arm/nm-linux.h, config/ia64/nm-linux.h, config/mips/nm-linux.h, config/powerpc/nm-linux.h: Don't include <signal.h>. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Remove. * config/i386/nm-linux.h: Likewise. (struct target_waitstatus, child_wait, CHILD_WAIT): Remove. * config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES): Remove linux-thread.o. Add proc-service.o, thread-db.o and lin-lwp.o. (LOADLIBES): New variable.
2001-07-11* config/nm-linux.h: Fix comments.Mark Kettenis1-9/+14
2001-07-11* config/tm-linux.h: Do not include <signal.h>. Instead provideMark Kettenis1-1/+11
reasonable defaults for REALTIME_LO and REALTIME_HI if they're not already defined. * config/nm-linux.h: Include <signal.h>. [__SIGRTMIN] (REALTIME_LO, REALTIME_HI): Define to __SIGRTMIN and (__SIGRTMAX + 1) respectively.
2001-05-15Redefine ptid_t to be a struct rather than an int.Kevin Buettner1-8/+0
2001-05-04Phase 1 of the ptid_t changes.Kevin Buettner1-2/+3
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+1
2000-05-28Fix GDB_GREGSET_T, GDB_FPREGSET_T typos.Kevin Buettner1-2/+2
2000-05-28PARAMS removal.Kevin Buettner1-6/+3
2000-05-262000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-0/+5
* gregset.h: New file. Typedefs for gdb_gregset_t and gdb_fpregset_t, prototypes for supply_gregset and friends. * procfs.c: Include gregset.h. Delete local prototypes for supply_gregset etc., and local typedef gdb_gregset_t etc. * sol-thread.c: Include gregset.h, delete local prototypes, add appropriate casts to gdb_gregset_t. * uw-thread.c, lin-thread.c, core-sol2.c, core-regset.c, sparc-tdep.c, ptx4-nat.c, ppc-linux-nat.c, mipsv4-nat.c, m88k-nat.c, m68klinux-nat.c, m68k-tdep.c, irix5-nat.c, irix4-nat.c, ia64-linux-nat.c, i386v4-nat.c, cxux-nat.c, arm-linux-nat.c, alpha-nat.c: Include gregset.h. * config/nm-linux.h: Define GDB_GREGSET_T, GDB_FPREGET_T. * config/sparc/tm-sun4sol2.h: Ditto.
1999-12-22import gdb-1999-12-21 snapshotJason Molenda1-2/+13
1999-12-07import gdb-1999-12-06 snapshotJason Molenda1-0/+50