From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28075 invoked by alias); 29 Jul 2004 23:15:01 -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 28037 invoked from network); 29 Jul 2004 23:15:00 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (213.93.77.109) by sourceware.org with SMTP; 29 Jul 2004 23:15:00 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id i6TNEtJ8018563; Fri, 30 Jul 2004 01:14:55 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id i6TNEtMA024529; Fri, 30 Jul 2004 01:14:55 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6/Submit) id i6TNEqwV024526; Fri, 30 Jul 2004 01:14:52 +0200 (CEST) Date: Thu, 29 Jul 2004 23:15:00 -0000 Message-Id: <200407292314.i6TNEqwV024526@elgar.kettenis.dyndns.org> From: Mark Kettenis To: ica2_ts@csv.ica.uni-stuttgart.de CC: brobecker@gnat.com, binutils@sources.redhat.com, gdb-patches@sources.redhat.com In-reply-to: <20040729221904.GT965@rembrandt.csv.ica.uni-stuttgart.de> (message from Thiemo Seufer on Fri, 30 Jul 2004 00:19:04 +0200) Subject: Re: [RFA] MIPS_TEXT symbols should be associated to .text section? References: <20040721204604.GN1278@gnat.com> <20040729220156.GK1167@gnat.com> <20040729221904.GT965@rembrandt.csv.ica.uni-stuttgart.de> X-SW-Source: 2004-07/txt/msg00470.txt.bz2 From: Thiemo Seufer Date: Fri, 30 Jul 2004 00:19:04 +0200 Joel Brobecker wrote: > Hello BFD maintainers, > > Ping? This patch is only 8 days old, and I wouldn't send a reminder > just a week after sending it, but GDB is completely broken without > this patch (ie "break main; run" doesn't work)... Would somebody mind > having a look at it and tell me if it is good or not? Joel, I'm seeing similar problems on NetBSD/mips (NetBSD/pmax 1.6.2 to be precise). [snip] > > #if 0 /* for SGI_COMPAT */ > > case SHN_MIPS_TEXT: > > asym->section = mips_elf_text_section_ptr; The last three lines in this patch suggest AFAICS to use mips_elf_text_section_ptr instead of bfd_get_section_by_name, and to make the test conditional on SGI_COMPAT. The SHN_MIPS_DATA below should probably get handled similiarily. Well, mips_elf_text_section_ptr doesn't really exist. Mark