From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6195 invoked by alias); 15 Aug 2002 04:33:11 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 6188 invoked from network); 15 Aug 2002 04:33:10 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 15 Aug 2002 04:33:10 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 728123CA9; Thu, 15 Aug 2002 00:33:09 -0400 (EDT) Message-ID: <3D5B2F05.3000300@ges.redhat.com> Date: Wed, 14 Aug 2002 21:33:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020810 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: Simon Posnjak , gdb@sources.redhat.com Subject: Re: ARM/Linux OSABI problems (was Re: breakpoints not working in gdbserver) References: <1029277842.6335.42.camel@klada.dyndns.org> <20020814131001.GA32550@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00156.txt.bz2 > > > ... wait! I know what's wrong. Does uClibc provide a .note.ABI-tag > section, like glibc does? If not, that needs to be corrected, or GDB > needs to find some other way to recognize uClibc binaries. > > (I should also test kernel debugging using an arm-linux GDB at some > point. It used to work, which means that kgdb also expects the linux > ABI breakpoint, but the kernel certainly doesn't (and shouldn't) have > a .note.ABI-tag marking indicating it is a Linux userland binary.) I'll also bug report: (gdb) set architecture the user should be able to force the so that they can extract themselves from situtations such as this. Andrew