This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Joel,So... it may be an issue with my compiler handling of #line?
Not quite sure from the dump what exactly causes the change of behavior, I would need to look at the code more precisely, and I'm a little rush right now.
But since I believe that printing the full name is perfectly valid (in fact, I later verified that this is what happens with Ada files as well, even though the debug info looks similar to what we get with step-line.c), it's fine to commit your patch.
Indeed, as mentioned before, my compiler generates the following file table: Entry Dir Time Size Name 1 1 0 0 step-line.c 2 2 0 0 step-line.inp
while GCC generates: Entry Dir Time Size Name 1 1 0 0 step-line.c 2 0 0 0 step-line.c 3 0 0 0 step-line.inp (and uses the 2nd entry for the #line directives).
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |