From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7771 invoked by alias); 9 Jan 2002 09:14:04 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 7448 invoked from network); 9 Jan 2002 09:13:54 -0000 Received: from unknown (HELO cerbere.u-strasbg.fr) (130.79.112.7) by sources.redhat.com with SMTP; 9 Jan 2002 09:13:54 -0000 Received: from laocoon (laocoon.u-strasbg.fr [130.79.112.72]) by cerbere.u-strasbg.fr (8.9.3/8.8.7) with ESMTP id KAA18342; Wed, 9 Jan 2002 10:13:46 +0100 Message-Id: <4.2.0.58.20020109100614.01ac2088@ics.u-strasbg.fr> X-Sender: muller@ics.u-strasbg.fr X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Wed, 09 Jan 2002 01:14:00 -0000 To: Michael Snyder From: Pierre Muller Subject: Re: [PATCH] Add command 'generate-core-file' Cc: gdb-patches@sources.redhat.com In-Reply-To: <200201090036.g090a1931472@reddwarf.cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-SW-Source: 2002-01/txt/msg00163.txt.bz2 At 01:36 09/01/2002 , vous avez écrit: >OK, after moving the gcore functionality from linux-gcore.c to >linux-proc.c, I'm going to commit this. Here is the patch as >committed. Hopefully I haven't left anything out. Michael, your patch causes win32-nat compilation failure: muller@LAOCOON ~/gdb/build/gdb $ make rm -f gdb.exe gcc -g -O2 -o gdb.exe \ main.o libgdb.a cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-utils.o m i-out.o mi-console.o mi-cmds.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd -disas.o mi-main.o mi-parse.o mi-getopt.o ../bfd/libbfd.a ../readline/libread line.a ../opcodes/libopcodes.a ./../intl/libintl.a ../libiberty/libiberty.a `if test -r ../libtermcap/libtermcap.a; then echo ../libtermcap/libtermcap.a; else e cho -ltermcap; fi` -lm ../libiberty/libiberty.a -luser32 -limagehlp\ libgdb.a(exec.o): In function `exec_make_note_section': /home/muller/gdb/build/gdb/../../src/gdb/exec.c:792: undefined reference to `elf core_write_prpsinfo' collect2: ld returned 1 exit status make: *** [gdb.exe] Error 1 This comes from the fact that elfcore_write_prpsinfo is not compiled #if defined (HAVE_PRPSINFO_T) || defined (HAVE_PSINFO_T) char * elfcore_write_prpsinfo (abfd, buf, bufsiz, fname, psargs) So something needs to be done .... Pierre Muller Institut Charles Sadron 6,rue Boussingault F 67083 STRASBOURG CEDEX (France) mailto:muller@ics.u-strasbg.fr Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99