Build question

Tom Tromey tromey@redhat.com
Wed Sep 9 19:57:00 GMT 2009


>>>>> "Danny" == Danny Backx <danny.backx@scarlet.be> writes:

Danny> Two almost identical remote debugging sessions showing the functionality
Danny> are below. It is a bit awkward, but this change influences the place
Danny> where the DLL names are read, which is when connecting to the target.

That seems unfortunate.

I don't mind having a user setting as a fallback, but it seems like
ordinarily GDB could detect the target's filesystem type, via a new
target method perhaps.

Danny> Index: bfd/archive.c

Changes to BFD need approval from the binutils maintainers.

Do you need most of these changes?  I thought perhaps you would only
need a change in the one place where the DLL name is searched for on the
host filesystem.

Danny> Index: gdb/top.c
Danny> +/* Filesystem type */
Danny> +int have_dos_based_file_system = 0;

Danny> Index: include/filenames.h

include is part of libiberty, so you'll need approval from the libiberty
maintainers.

Given that more programs than gdb use BFD and libiberty, you will at the
very least need to put have_dos_based_file_system elsewhere (i.e., in
libiberty).

Tom



More information about the Gdb-patches mailing list