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/18208] Fails in gdb.base/coredump-filter.exp in remote testing


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

--- Comment #6 from Pedro Alves <palves at redhat dot com> ---
> remote_exec target "sh -c \"echo $filter_flag > /proc/$ipid/coredump_filter\""
>
> I dump the /proc/$ipid/coredump_filter via cat, and it becomes 00000000, which is a surprise to me.  Dejagnu does remote_exec on build like this,

> $ ssh -l yaoqi01 linaro-junor1-1 sh -c 'echo 0x7e > /proc/6160/coredump_filter'

Did you try the exact above manually?  Because 00000000 is what would happen if 
$filter_flag was lost along the way somewhere, resulting in:

   echo > /proc/6160/coredump_filter

-- 
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]