diff options
author | Alexandra Hájková <ahajkova@redhat.com> | 2024-10-16 13:25:41 +0200 |
---|---|---|
committer | Alexandra Hájková <ahajkova@redhat.com> | 2024-10-21 16:38:18 +0200 |
commit | 0cb7f3a837c238cc94f6868eb0344ded34942af4 (patch) | |
tree | a9b499e2be08e6bd98ef654aad62c7baf282a3dc /gdb/objc-lang.h | |
parent | 32ffcd0737a703398646f7e0b62bd5de348319e1 (diff) | |
download | gdb-0cb7f3a837c238cc94f6868eb0344ded34942af4.zip gdb-0cb7f3a837c238cc94f6868eb0344ded34942af4.tar.gz gdb-0cb7f3a837c238cc94f6868eb0344ded34942af4.tar.bz2 |
gdbreplay: Add --debug-logging option
As gdbreplay communicates with GDB, it outputs all the remote
protocol communication it reads from the remotelogfile to stderr.
This patch disables this behavior by default but adds the new
--debug-logging option which turns printing the packets
to stderr on again.
The motivation for this change is to make it possible to use
gdbreplay with TCL tests. Printing the whole remotelog file out
seems to overflow the expect cache wich causes gdbreplay to not
to get the packet its expects and results in going out of sync
with GDB. Other motivation is making communication between GDB
and gdbreplay faster as printing bigger remotelogfile takes
considerable amount of time.
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/objc-lang.h')
0 files changed, 0 insertions, 0 deletions