Skip to contentSkip to conversation

multiple gdbserver

Qemu-devel Peter Cheung 2 participants 5 messages Nov 15, 2012

lore
Share & tools
lore
#0 lore raw

Hi all I just rad the qemu source code, when it allows us to start multiple gdbserver? what is the reason doing that?

Thanksfrom Peter

#1 lore raw
Quoted 1 line · Peter Cheung

Hi all I just rad the qemu source code, when it allows us to start multiple gdbserver? what is the reason doing that?

I think you misread the code: There can only be a single instance of the gdbserver. There is also only a single instance of gdbserver_state.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
#2 lore raw

OK, thanks, then my question would be:
why one gdbserver hosting two tcp ports? not useful, right?

Thanksfrom Peter

Quoted 17 lines

Date: Thu, 15 Nov 2012 09:29:20 +0100
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: multiple gdbserver

Quoted 1 line · Peter Cheung

Hi all I just rad the qemu source code, when it allows us to start multiple gdbserver? what is the reason doing that?

I think you misread the code: There can only be a single instance of the gdbserver. There is also only a single instance of gdbserver_state.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
#3 lore raw
Quoted 3 lines · Peter Cheung

OK, thanks, then my question would be:

why one gdbserver hosting two tcp ports? not useful, right?

And therefore it's not the case.

What are you referring to?

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
#4 lore raw

sorry, i misunderstood.
when i specifed two port to gdbserver, althought the code will loop them all, but only the last one will be used.

Thanksfrom Peter

Quoted 20 lines

Date: Thu, 15 Nov 2012 09:37:31 +0100
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: multiple gdbserver

Quoted 3 lines · Peter Cheung

OK, thanks, then my question would be:

why one gdbserver hosting two tcp ports? not useful, right?

And therefore it's not the case.

What are you referring to?

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux