Re: New list command oddity

Keith Seitz <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 08/08/2013 02:43 AM, Pierre Muller wrote:
> Did I miss something, is there a simple intuitive way to
> force selection of the file without path?

You can still use compilation directory information:

(top-gdb) list init.c:1
file: "../../gdb/bfd/init.c", line number: 1
file: "init.c", line number: 1
(top-gdb) list bfd/init.c:1
1	/* bfd initialization stuff
2	   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 2003, 2005, 2007
3	   Free Software Foundation, Inc.
(top-gdb) list gdb/init.c:1
1	/* Do not modify this file.  */
2	/* It is created automatically by the Makefile.  */
3	#include "defs.h"      /* For initialize_file_ftype.  */

Keith
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.