This is the mail archive of the gdb-prs@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]

[Bug gdb/19712] AT_EXECFN and trimmed "Core was generated by"


https://sourceware.org/bugzilla/show_bug.cgi?id=19712

--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
Diffing two test directories I noticed:

 -PASS: gdb.base/corefile.exp: args: -core=corefile.core 
 -PASS: gdb.base/corefile.exp: args: execfile -core=corefile.core 
 -PASS: gdb.base/corefile.exp: core-file command 
 +PASS: gdb.base/corefile.exp: args: -core=corefile.core (with bad program
name) 
 +PASS: gdb.base/corefile.exp: args: execfile -core=corefile.core (with bad
program name) 
 +PASS: gdb.base/corefile.exp: core-file command (with bad program name) 

The reason for that was exactly a too-long filename:

 -Core was generated by
`/home/pedro/brno/pedro/gdb/mygit/build/gdb/testsuite/outputs/gdb.base/corefile/'.
 +[New LWP 21803]
 +Core was generated by
`/home/pedro/brno/pedro/gdb/mygit/cxx-convertion/build-gcc-5.3.1-cxx11/gdb/tests'.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]