This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Record objfile->original_name as an absolute path
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Doug Evans <dje at google dot com>, gdb-patches at sourceware dot org
- Date: Fri, 27 Sep 2013 13:37:35 -0600
- Subject: Re: [RFC] Record objfile->original_name as an absolute path
- Authentication-results: sourceware.org; auth=none
- References: <yjt2zjr09xqr dot fsf at ruffy dot mtv dot corp dot google dot com> <20130926084713 dot GA11031 at host2 dot jankratochvil dot net>
Jan> Maybe that gdb_abspath should be rather done by the caller as there is also
Jan> objfile = allocate_objfile (NULL, "<< JIT compiled code >>", 0);
Jan> and calling gdb_abspath ("<< JIT compiled code >>") does not seem great.
I've wanted an objfile flag for a while that would indicate whether the
underlying BFD corresponds to a file or some other thing.
Right now I think you can see lookups of bogusly-named files coming from
the Python auto-loader.
Tom