On Sat, 29 Jan 2022 at 02:44, Chan Kim wrote:
>
> Oh, I found it was -gdb tcp::1235. (I had tried only -gdb tcp:1235)
>
> I think the manual should better have this information there.
The syntax for that is given as one of the examples in the
-gdb option description in the "Invocation" section
Oh, I found it was -gdb tcp::1235. (I had tried only -gdb tcp:1235)
I think the manual should better have this information there.
From: Chan Kim
Sent: Saturday, January 29, 2022 11:38 AM
To: 'qemu-discuss'
Subject: How can I use different tcp port other than 1234 to use gdb for
Hi all!
I think I knew this but can't remember now..
To connect qemu with gdb, we give -s -S option.
According to manual(https://qemu.readthedocs.io/en/latest/system/gdb.html),
this -s option makes qemu wait for incoming gdb connection at tcp port 1234.
And it says :
"If you want to specify