From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20646 invoked by alias); 16 Nov 2004 19:18:38 -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 20414 invoked from network); 16 Nov 2004 19:18:09 -0000 Received: from unknown (HELO walton.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org with SMTP; 16 Nov 2004 19:18:09 -0000 Received: from elgar.sibelius.xs4all.nl (elgar.sibelius.xs4all.nl [192.168.0.2]) by walton.sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id iAGJHrxS028058; Tue, 16 Nov 2004 20:17:53 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (localhost [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6) with ESMTP id iAGJHqeK000705; Tue, 16 Nov 2004 20:17:52 +0100 (CET) (envelope-from kettenis@elgar.sibelius.xs4all.nl) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6/Submit) id iAGJHqO8000702; Tue, 16 Nov 2004 20:17:52 +0100 (CET) Date: Tue, 16 Nov 2004 19:18:00 -0000 Message-Id: <200411161917.iAGJHqO8000702@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: cagney@gnu.org CC: eliz@gnu.org, joseph@codesourcery.com, kevinb@redhat.com, gdb-patches@sources.redhat.com In-reply-to: <419A2742.8070804@gnu.org> (message from Andrew Cagney on Tue, 16 Nov 2004 11:13:54 -0500) Subject: Re: Assume solib.h References: <4193BFA0.3060607@gnu.org> <200411112005.iABK5FrV098628@elgar.sibelius.xs4all.nl> <4193DDCE.7060205@gnu.org> <200411112224.iABMODmo099121@elgar.sibelius.xs4all.nl> <4194DBEB.6010304@gnu.org> <01c4c8db$Blat.v2.2.2$377f5020@zahav.net.il> <419942CB.4000905@gnu.org> <01c4cb98$Blat.v2.2.2$fc133040@zahav.net.il> <419A2742.8070804@gnu.org> X-SW-Source: 2004-11/txt/msg00341.txt.bz2 Date: Tue, 16 Nov 2004 11:13:54 -0500 From: Andrew Cagney >>and how my change breaks it? > > > This part I don't know the details about. Mark said that it does > break, and I spoke on the assumption that you agree with the fact of > breakage, Unfortunatly your assumption is wrong. As I stated to Mark, and contrary to his assertion, powerpc-elf passes this sniff test: $ gcc -g -static src/gdb/testsuite/gdb.base/break{,1}.c cagney@to-dhcp51$ ./X-powerpc-elf/gdb/gdb ./a.out warning: A handler for the OS ABI "GNU/Linux" is not built into this configuration of GDB. Attempting to continue with the default powerpc:common settings. (gdb) target sim Connected to the simulator. (gdb) load (gdb) run Starting program: /home/scratch/PENDING/YYYY-MM-DD-solib/a.out do_call() unimplemented call settimeofday (gdb) disassemble No frame selected. (gdb) x/i $pc 0x10008a10 : sc Yup, I'm wrong. Not *every* embedded target will break. Some of them include solib-svr4.o or some other solib-xxx.o; powerpc-elf is one of them. I'm also wrong that it breaks vax-dec-openbsd* for pretty much the same reason. However, there are plenty of embedded targets for which I'm pretty certain that my analysis is true: arm-elf, mips-elf, i386-elf are among them. Mark