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 remote/20398] File-IO write always outputs QUIT.


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

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com
   Target Milestone|---                         |7.12

--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
Thanks for reporting.

I can reproduce this locally.  Thanks for the reproducer.  It helps a lot that
Fedora has all the arm-none-eabi toolchain bits necessary in the main repo.

Here's the gdb backtrace:

(top-gdb) bt
#0  quit () at /home/pedro/gdb/mygit/src/gdb/utils.c:1050
#1  0x000000000045bc1d in remote_fileio_quit_handler () at
/home/pedro/gdb/mygit/src/gdb/remote-fileio.c:311
#2  0x00000000006f40ce in maybe_quit () at
/home/pedro/gdb/mygit/src/gdb/utils.c:1081
#3  0x000000000060f8c4 in target_write_with_progress (ops=0xcf07e0
<remote_ops>, object=TARGET_OBJECT_MEMORY, annex=0x0, buf=0x7fffffffcd30 "",
offset=134217184, len=64, 
    progress=0x0, baton=0x0) at /home/pedro/gdb/mygit/src/gdb/target.c:1952
#4  0x000000000060f917 in target_write (ops=0xcf07e0 <remote_ops>,
object=TARGET_OBJECT_MEMORY, annex=0x0, buf=0x7fffffffcd30 "",
offset=134217184, len=64)
    at /home/pedro/gdb/mygit/src/gdb/target.c:1966
#5  0x000000000060ee5f in target_write_memory (memaddr=134217184,
myaddr=0x7fffffffcd30 "", len=64) at
/home/pedro/gdb/mygit/src/gdb/target.c:1538
#6  0x000000000045cd8c in remote_fileio_func_fstat (
    buf=0x15dd938 "00000000208000000001000003e8000003e8", '0' <repeats 37
times>, "2", '0' <repeats 18 times>, "57a20efd57a20efd57a20efd")
    at /home/pedro/gdb/mygit/src/gdb/remote-fileio.c:975
#7  0x000000000045d12e in do_remote_fileio_request (uiout=0x155a990,
buf_arg=0x15dd920) at /home/pedro/gdb/mygit/src/gdb/remote-fileio.c:1139
#8  0x00000000005c7b90 in catch_exceptions_with_msg (func_uiout=0x155a990,
func=0x45d041 <do_remote_fileio_request(ui_out*, void*)>, func_args=0x15dd920,
gdberrmsg=0x0, 
    mask=RETURN_MASK_ALL) at /home/pedro/gdb/mygit/src/gdb/exceptions.c:183
#9  0x00000000005c7b13 in catch_exceptions (uiout=0x155a990, func=0x45d041
<do_remote_fileio_request(ui_out*, void*)>, func_args=0x15dd920,
mask=RETURN_MASK_ALL)
    at /home/pedro/gdb/mygit/src/gdb/exceptions.c:163
#10 0x000000000045d208 in remote_fileio_request (buf=0x15dd920 "OK",
ctrlc_pending_p=0) at /home/pedro/gdb/mygit/src/gdb/remote-fileio.c:1192
#11 0x000000000043bae4 in remote_wait_as (ptid=..., status=0x7fffffffd2b0,
options=1) at /home/pedro/gdb/mygit/src/gdb/remote.c:6947
#12 0x000000000043bde8 in remote_wait (ops=0xcf07e0 <remote_ops>, ptid=...,
status=0x7fffffffd2b0, options=1) at
/home/pedro/gdb/mygit/src/gdb/remote.c:7030
#13 0x00000000005fdfc4 in delegate_wait (self=0xcf07e0 <remote_ops>, arg1=...,
arg2=0x7fffffffd2b0, arg3=1) at
/home/pedro/gdb/mygit/src/gdb/target-delegates.c:116
#14 0x0000000000610044 in target_wait (ptid=..., status=0x7fffffffd2b0,
options=1) at /home/pedro/gdb/mygit/src/gdb/target.c:2299

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