Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nathanw_sa]: src/gnu/usr.bin/gdb Build glue for thread debugging.



details:   https://anonhg.NetBSD.org/src/rev/9fa9f675c363
branches:  nathanw_sa
changeset: 506188:9fa9f675c363
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Wed Aug 28 00:15:55 2002 +0000

description:
Build glue for thread debugging.

diffstat:

 gnu/usr.bin/gdb/arch/i386/defs.mk    |    8 +
 gnu/usr.bin/gdb/arch/i386/init.c     |  150 +++++++++++++++++++++++++++++++++++
 gnu/usr.bin/gdb/arch/powerpc/defs.mk |    8 +
 gnu/usr.bin/gdb/arch/powerpc/init.c  |  150 +++++++++++++++++++++++++++++++++++
 gnu/usr.bin/gdb/gdb.new/Makefile     |   58 +++++++++++++
 5 files changed, 374 insertions(+), 0 deletions(-)

diffs (truncated from 394 to 300 lines):

diff -r a82cf46e796c -r 9fa9f675c363 gnu/usr.bin/gdb/arch/i386/defs.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/usr.bin/gdb/arch/i386/defs.mk Wed Aug 28 00:15:55 2002 +0000
@@ -0,0 +1,8 @@
+# This file is automatically generated.  DO NOT EDIT!
+# Generated from:      NetBSD: toolchain2netbsd,v 1.14 2002/01/22 13:13:00 mrg Exp 
+#
+G_INTERNAL_CFLAGS=-g -O2     -I. -I${DIST}/gdb -I${DIST}/gdb/config -DHAVE_CONFIG_H -I${DIST}/gdb/../include/opcode -I${DIST}/gdb/../readline/..  -I../bfd -I${DIST}/gdb/../bfd  
-I${DIST}/gdb/../include  -I../intl -I${DIST}/gdb/../intl -I${DIST}/gdb/tui   -DUSE_INCLUDED_REGEX  
+G_LIBGDB_OBS=version.o blockframe.o breakpoint.o findvar.o stack.o thread.o  source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o  symtab.o symfile.o symmisc.o infcmd.o infrun.o 
command.o  expprint.o environ.o  event-loop.o event-top.o inf-loop.o  gdbarch.o arch-utils.o gdbtypes.o copying.o i386-tdep.o i387-tdep.o i386nbsd-tdep.o ser-tcp.o ser-unix.o ser-pipe.o fork-child.o 
infptrace.o inftarg.o corelow.o i386nbsd-nat.o kcore-nbsd.o solib.o  remote.o dcache.o remote-utils.o tracepoint.o ax-general.o ax-gdb.o    mem-break.o target.o parse.o language.o c-exp.tab.o  
jv-exp.tab.o  f-exp.tab.o m2-exp.tab.o buildsym.o  kod.o kod-cisco.o  gdb-events.o  exec.o bcache.o objfiles.o minsyms.o maint.o demangle.o  dbxread.o coffread.o elfread.o  dwarfread.o dwarf2read.o 
mipsread.o stabsread.o corefile.o  c-lang.o ch-exp.o ch-lang.o f-lang.o  ui-out.o cli-out.o  varobj.o wrapper.o  jv-lang.o jv-valprint.o jv-typeprint.o  m2-lang.o  scm-exp.o scm-lang.o scm-valprint.o 
complaints.o typeprint.o  c-typeprint.o ch-typeprint.o f-typeprint.o m2-typeprint.o  c-valprint.o cp-valprint.o ch-valprint.o f-valprint.o m2-valprint.o  nlmread.o serial.o mdebugread.o os9kread.o 
top.o utils.o  ui-file.o tui-file.o annotate.o inflow.o gnu-regex.o  nbsd-thread.o  init.o
+G_SIM_OBJS=
+G_CCFLAGS=-DHAVE_CONFIG_H   -I. -I${DIST}/readline -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O2
+G_OBJECTS=readline.o vi_mode.o funmap.o keymaps.o parens.o search.o  rltty.o complete.o bind.o isearch.o display.o signals.o  util.o kill.o undo.o macro.o input.o callback.o terminal.o  nls.o 
xmalloc.o history.o histexpand.o histfile.o histsearch.o shell.o tilde.o
diff -r a82cf46e796c -r 9fa9f675c363 gnu/usr.bin/gdb/arch/i386/init.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/usr.bin/gdb/arch/i386/init.c  Wed Aug 28 00:15:55 2002 +0000
@@ -0,0 +1,150 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from:     NetBSD: toolchain2netbsd,v 1.14 2002/01/22 13:13:00 mrg Exp  */
+
+/* Do not modify this file.  */
+/* It is created automatically by the Makefile.  */
+#include "defs.h"
+#include "call-cmds.h"
+extern initialize_file_ftype _initialize_blockframe;
+extern initialize_file_ftype _initialize_breakpoint;
+extern initialize_file_ftype _initialize_findvar;
+extern initialize_file_ftype _initialize_stack;
+extern initialize_file_ftype _initialize_thread;
+extern initialize_file_ftype _initialize_source;
+extern initialize_file_ftype _initialize_values;
+extern initialize_file_ftype _initialize_valops;
+extern initialize_file_ftype _initialize_valarith;
+extern initialize_file_ftype _initialize_valprint;
+extern initialize_file_ftype _initialize_printcmd;
+extern initialize_file_ftype _initialize_symtab;
+extern initialize_file_ftype _initialize_symfile;
+extern initialize_file_ftype _initialize_symmisc;
+extern initialize_file_ftype _initialize_infcmd;
+extern initialize_file_ftype _initialize_infrun;
+extern initialize_file_ftype _initialize_command;
+extern initialize_file_ftype _initialize_event_loop;
+extern initialize_file_ftype _initialize_gdbarch;
+extern initialize_file_ftype _initialize_gdbtypes;
+extern initialize_file_ftype _initialize_copying;
+extern initialize_file_ftype _initialize_i386_tdep;
+extern initialize_file_ftype _initialize_ser_tcp;
+extern initialize_file_ftype _initialize_ser_hardwire;
+extern initialize_file_ftype _initialize_ser_pipe;
+extern initialize_file_ftype _initialize_kernel_u_addr;
+extern initialize_file_ftype _initialize_infptrace;
+extern initialize_file_ftype _initialize_inftarg;
+extern initialize_file_ftype _initialize_corelow;
+extern initialize_file_ftype _initialize_i386nbsd_nat;
+extern initialize_file_ftype _initialize_kcore_nbsd;
+extern initialize_file_ftype _initialize_solib;
+extern initialize_file_ftype _initialize_remote;
+extern initialize_file_ftype _initialize_dcache;
+extern initialize_file_ftype _initialize_sr_support;
+extern initialize_file_ftype _initialize_tracepoint;
+extern initialize_file_ftype _initialize_ax_gdb;
+extern initialize_file_ftype _initialize_parse;
+extern initialize_file_ftype _initialize_language;
+extern initialize_file_ftype _initialize_kod;
+extern initialize_file_ftype _initialize_gdb_events;
+extern initialize_file_ftype _initialize_exec;
+extern initialize_file_ftype _initialize_maint_cmds;
+extern initialize_file_ftype _initialize_demangler;
+extern initialize_file_ftype _initialize_dbxread;
+extern initialize_file_ftype _initialize_coffread;
+extern initialize_file_ftype _initialize_elfread;
+extern initialize_file_ftype _initialize_mipsread;
+extern initialize_file_ftype _initialize_stabsread;
+extern initialize_file_ftype _initialize_core;
+extern initialize_file_ftype _initialize_c_language;
+extern initialize_file_ftype _initialize_chill_language;
+extern initialize_file_ftype _initialize_f_language;
+extern initialize_file_ftype _initialize_ui_out;
+extern initialize_file_ftype _initialize_cli_out;
+extern initialize_file_ftype _initialize_varobj;
+extern initialize_file_ftype _initialize_java_language;
+extern initialize_file_ftype _initialize_m2_language;
+extern initialize_file_ftype _initialize_scheme_language;
+extern initialize_file_ftype _initialize_complaints;
+extern initialize_file_ftype _initialize_typeprint;
+extern initialize_file_ftype _initialize_cp_valprint;
+extern initialize_file_ftype _initialize_f_valprint;
+extern initialize_file_ftype _initialize_nlmread;
+extern initialize_file_ftype _initialize_serial;
+extern initialize_file_ftype _initialize_mdebugread;
+extern initialize_file_ftype _initialize_os9kread;
+extern initialize_file_ftype _initialize_annotate;
+extern initialize_file_ftype _initialize_inflow;
+void
+initialize_all_files (void)
+{
+  _initialize_blockframe ();
+  _initialize_breakpoint ();
+  _initialize_findvar ();
+  _initialize_stack ();
+  _initialize_thread ();
+  _initialize_source ();
+  _initialize_values ();
+  _initialize_valops ();
+  _initialize_valarith ();
+  _initialize_valprint ();
+  _initialize_printcmd ();
+  _initialize_symtab ();
+  _initialize_symfile ();
+  _initialize_symmisc ();
+  _initialize_infcmd ();
+  _initialize_infrun ();
+  _initialize_command ();
+  _initialize_event_loop ();
+  _initialize_gdbarch ();
+  _initialize_gdbtypes ();
+  _initialize_copying ();
+  _initialize_i386_tdep ();
+  _initialize_ser_tcp ();
+  _initialize_ser_hardwire ();
+  _initialize_ser_pipe ();
+  _initialize_kernel_u_addr ();
+  _initialize_infptrace ();
+  _initialize_inftarg ();
+  _initialize_corelow ();
+  _initialize_i386nbsd_nat ();
+  _initialize_kcore_nbsd ();
+  _initialize_solib ();
+  _initialize_remote ();
+  _initialize_dcache ();
+  _initialize_sr_support ();
+  _initialize_tracepoint ();
+  _initialize_ax_gdb ();
+  _initialize_parse ();
+  _initialize_language ();
+  _initialize_kod ();
+  _initialize_gdb_events ();
+  _initialize_exec ();
+  _initialize_maint_cmds ();
+  _initialize_demangler ();
+  _initialize_dbxread ();
+  _initialize_coffread ();
+  _initialize_elfread ();
+  _initialize_mipsread ();
+  _initialize_stabsread ();
+  _initialize_core ();
+  _initialize_c_language ();
+  _initialize_chill_language ();
+  _initialize_f_language ();
+  _initialize_ui_out ();
+  _initialize_cli_out ();
+  _initialize_varobj ();
+  _initialize_java_language ();
+  _initialize_m2_language ();
+  _initialize_scheme_language ();
+  _initialize_complaints ();
+  _initialize_typeprint ();
+  _initialize_cp_valprint ();
+  _initialize_f_valprint ();
+  _initialize_nlmread ();
+  _initialize_serial ();
+  _initialize_mdebugread ();
+  _initialize_os9kread ();
+  _initialize_annotate ();
+  _initialize_inflow ();
+  _initialize_nbsd_thread ();
+}
diff -r a82cf46e796c -r 9fa9f675c363 gnu/usr.bin/gdb/arch/powerpc/defs.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/usr.bin/gdb/arch/powerpc/defs.mk      Wed Aug 28 00:15:55 2002 +0000
@@ -0,0 +1,8 @@
+# This file is automatically generated.  DO NOT EDIT!
+# Generated from:      NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp 
+#
+G_INTERNAL_CFLAGS=-g -O2     -I. -I${DIST}/gdb -I${DIST}/gdb/config -DHAVE_CONFIG_H -I${DIST}/gdb/../include/opcode -I${DIST}/gdb/../readline/..  -I../bfd -I${DIST}/gdb/../bfd  
-I${DIST}/gdb/../include  -I../intl -I${DIST}/gdb/../intl -I${DIST}/gdb/tui   -DUSE_INCLUDED_REGEX  
+G_LIBGDB_OBS=version.o blockframe.o breakpoint.o findvar.o stack.o thread.o  source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o  symtab.o symfile.o symmisc.o infcmd.o infrun.o 
command.o  expprint.o environ.o  event-loop.o event-top.o inf-loop.o  gdbarch.o arch-utils.o gdbtypes.o copying.o rs6000-tdep.o solib.o ser-tcp.o ser-unix.o ser-pipe.o infptrace.o inftarg.o 
fork-child.o corelow.o kcore-nbsd.o ppcnbsd-nat.o  remote.o dcache.o remote-utils.o tracepoint.o ax-general.o ax-gdb.o    mem-break.o target.o parse.o language.o c-exp.tab.o  jv-exp.tab.o  
f-exp.tab.o m2-exp.tab.o buildsym.o  kod.o kod-cisco.o  gdb-events.o  exec.o bcache.o objfiles.o minsyms.o maint.o demangle.o  dbxread.o coffread.o elfread.o  dwarfread.o dwarf2read.o mipsread.o 
stabsread.o corefile.o  c-lang.o ch-exp.o ch-lang.o f-lang.o  ui-out.o cli-out.o  varobj.o wrapper.o  jv-lang.o jv-valprint.o jv-typeprint.o  m2-lang.o  scm-exp.o scm-lang.o scm-valprint.o 
complaints.o typeprint.o  c-typeprint.o ch-typeprint.o f-typeprint.o m2-typeprint.o  c-valprint.o cp-valprint.o ch-valprint.o f-valprint.o m2-valprint.o  nlmread.o serial.o mdebugread.o os9kread.o 
top.o utils.o  ui-file.o tui-file.o annotate.o inflow.o gnu-regex.o nbsd-thread.o    init.o
+G_SIM_OBS = remote-sim.o
+G_CCFLAGS=-DHAVE_CONFIG_H   -I. -I${DIST}/readline -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O2
+G_OBJECTS=readline.o vi_mode.o funmap.o keymaps.o parens.o search.o  rltty.o complete.o bind.o isearch.o display.o signals.o  util.o kill.o undo.o macro.o input.o callback.o terminal.o  nls.o 
xmalloc.o history.o histexpand.o histfile.o histsearch.o shell.o tilde.o
diff -r a82cf46e796c -r 9fa9f675c363 gnu/usr.bin/gdb/arch/powerpc/init.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/usr.bin/gdb/arch/powerpc/init.c       Wed Aug 28 00:15:55 2002 +0000
@@ -0,0 +1,150 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from:     NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp  */
+
+/* Do not modify this file.  */
+/* It is created automatically by the Makefile.  */
+#include "defs.h"
+#include "call-cmds.h"
+extern initialize_file_ftype _initialize_blockframe;
+extern initialize_file_ftype _initialize_breakpoint;
+extern initialize_file_ftype _initialize_findvar;
+extern initialize_file_ftype _initialize_stack;
+extern initialize_file_ftype _initialize_thread;
+extern initialize_file_ftype _initialize_source;
+extern initialize_file_ftype _initialize_values;
+extern initialize_file_ftype _initialize_valops;
+extern initialize_file_ftype _initialize_valarith;
+extern initialize_file_ftype _initialize_valprint;
+extern initialize_file_ftype _initialize_printcmd;
+extern initialize_file_ftype _initialize_symtab;
+extern initialize_file_ftype _initialize_symfile;
+extern initialize_file_ftype _initialize_symmisc;
+extern initialize_file_ftype _initialize_infcmd;
+extern initialize_file_ftype _initialize_infrun;
+extern initialize_file_ftype _initialize_command;
+extern initialize_file_ftype _initialize_event_loop;
+extern initialize_file_ftype _initialize_gdbarch;
+extern initialize_file_ftype _initialize_gdbtypes;
+extern initialize_file_ftype _initialize_copying;
+extern initialize_file_ftype _initialize_rs6000_tdep;
+extern initialize_file_ftype _initialize_solib;
+extern initialize_file_ftype _initialize_ser_tcp;
+extern initialize_file_ftype _initialize_ser_hardwire;
+extern initialize_file_ftype _initialize_ser_pipe;
+extern initialize_file_ftype _initialize_kernel_u_addr;
+extern initialize_file_ftype _initialize_infptrace;
+extern initialize_file_ftype _initialize_inftarg;
+extern initialize_file_ftype _initialize_corelow;
+extern initialize_file_ftype _initialize_kcore_nbsd;
+extern initialize_file_ftype _initialize_core_ppcnbsd;
+extern initialize_file_ftype _initialize_remote;
+extern initialize_file_ftype _initialize_dcache;
+extern initialize_file_ftype _initialize_sr_support;
+extern initialize_file_ftype _initialize_tracepoint;
+extern initialize_file_ftype _initialize_ax_gdb;
+extern initialize_file_ftype _initialize_parse;
+extern initialize_file_ftype _initialize_language;
+extern initialize_file_ftype _initialize_kod;
+extern initialize_file_ftype _initialize_gdb_events;
+extern initialize_file_ftype _initialize_exec;
+extern initialize_file_ftype _initialize_maint_cmds;
+extern initialize_file_ftype _initialize_demangler;
+extern initialize_file_ftype _initialize_dbxread;
+extern initialize_file_ftype _initialize_coffread;
+extern initialize_file_ftype _initialize_elfread;
+extern initialize_file_ftype _initialize_mipsread;
+extern initialize_file_ftype _initialize_stabsread;
+extern initialize_file_ftype _initialize_core;
+extern initialize_file_ftype _initialize_c_language;
+extern initialize_file_ftype _initialize_chill_language;
+extern initialize_file_ftype _initialize_f_language;
+extern initialize_file_ftype _initialize_ui_out;
+extern initialize_file_ftype _initialize_cli_out;
+extern initialize_file_ftype _initialize_varobj;
+extern initialize_file_ftype _initialize_java_language;
+extern initialize_file_ftype _initialize_m2_language;
+extern initialize_file_ftype _initialize_scheme_language;
+extern initialize_file_ftype _initialize_complaints;
+extern initialize_file_ftype _initialize_typeprint;
+extern initialize_file_ftype _initialize_cp_valprint;
+extern initialize_file_ftype _initialize_f_valprint;
+extern initialize_file_ftype _initialize_nlmread;
+extern initialize_file_ftype _initialize_serial;
+extern initialize_file_ftype _initialize_mdebugread;
+extern initialize_file_ftype _initialize_os9kread;
+extern initialize_file_ftype _initialize_annotate;
+extern initialize_file_ftype _initialize_inflow;
+void
+initialize_all_files (void)
+{
+  _initialize_blockframe ();
+  _initialize_breakpoint ();
+  _initialize_findvar ();
+  _initialize_stack ();
+  _initialize_thread ();
+  _initialize_source ();
+  _initialize_values ();
+  _initialize_valops ();
+  _initialize_valarith ();
+  _initialize_valprint ();
+  _initialize_printcmd ();
+  _initialize_symtab ();
+  _initialize_symfile ();
+  _initialize_symmisc ();
+  _initialize_infcmd ();
+  _initialize_infrun ();
+  _initialize_command ();
+  _initialize_event_loop ();
+  _initialize_gdbarch ();
+  _initialize_gdbtypes ();
+  _initialize_copying ();
+  _initialize_rs6000_tdep ();
+  _initialize_solib ();
+  _initialize_ser_tcp ();
+  _initialize_ser_hardwire ();
+  _initialize_ser_pipe ();
+  _initialize_kernel_u_addr ();
+  _initialize_infptrace ();
+  _initialize_inftarg ();
+  _initialize_corelow ();
+  _initialize_kcore_nbsd ();
+  _initialize_core_ppcnbsd ();
+  _initialize_remote ();
+  _initialize_dcache ();
+  _initialize_sr_support ();
+  _initialize_tracepoint ();
+  _initialize_ax_gdb ();
+  _initialize_parse ();
+  _initialize_language ();



Home | Main Index | Thread Index | Old Index