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]

[PATCH] The gcore command hangs without a terminal


Hi,

The function `attach_command' sets up the terminal by calling
target_terminal_inferior ().  This makes gcore(1) to lock up when being run
without its controlling terminal.

I do not find a reason for this terminal setup as GDB does not share its
input/output with the application in the mode of external attached program.

Provided a testcase for `gdb_gcore.sh' at all.


Regards,
Jan


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=229517

Attachment: gdb-gcore-detached.patch
Description: Text document


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