From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 396 invoked by alias); 23 Mar 2002 07:47:02 -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 382 invoked from network); 23 Mar 2002 07:47:00 -0000 Received: from unknown (HELO rwcrmhc51.attbi.com) (204.127.198.38) by 209.249.29.67 with SMTP; 23 Mar 2002 07:47:00 -0000 Received: from ocean.lucon.org ([12.234.143.38]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020323074649.HMOP2626.rwcrmhc51.attbi.com@ocean.lucon.org> for ; Sat, 23 Mar 2002 07:46:49 +0000 Received: by ocean.lucon.org (Postfix, from userid 1000) id 7E462125C7; Fri, 22 Mar 2002 23:46:48 -0800 (PST) Date: Fri, 22 Mar 2002 23:47:00 -0000 From: "H . J . Lu" To: GDB Subject: gdb doesn't work well with DSO on Linux/mips Message-ID: <20020322234648.A24693@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-SW-Source: 2002-03/txt/msg00206.txt.bz2 # gdb /lib/ld-2.2.4.so (gdb) b _dl_start Breakpoint 1 at 0xfe4: file rtld.c, line 181. (gdb) r Starting program: /lib/ld-2.2.4.so Breakpoint 1 at 0x55550fe4: file rtld.c, line 181. warning: shared library handler failed to enable breakpoint The problem is the entry point for SVR4/MIPS is __start. But bkpt_names in solib-svr4.c only checks _start. Should I add __start to bkpt_names or define SOLIB_BKPT_NAME to __start for Linux/MIPS? H.J.