* RFA: check for error result from gdbsocket_startup.
@ 2004-10-07 16:10 Jim Blandy
2004-10-07 16:17 ` Kevin Buettner
0 siblings, 1 reply; 3+ messages in thread
From: Jim Blandy @ 2004-10-07 16:10 UTC (permalink / raw)
To: rda
rda/unix/ChangeLog:
2004-10-07 Jim Blandy <jimb@redhat.com>
* server.c (main): Check for an error return from
gdbsocket_startup.
Index: rda/unix/server.c
===================================================================
RCS file: /cvs/src/src/rda/unix/server.c,v
retrieving revision 1.7
diff -c -p -r1.7 server.c
*** rda/unix/server.c 20 Jul 2004 00:42:45 -0000 1.7
--- rda/unix/server.c 7 Oct 2004 16:03:08 -0000
*************** main (int argc, char **argv)
*** 389,395 ****
if (portno != 0)
{
! gdbsocket_startup (portno, gdbserver.attach, process);
if (process->debug_informational)
fprintf (stderr, "Started listening socket on port %d.\n", portno);
}
--- 389,400 ----
if (portno != 0)
{
! if (gdbsocket_startup (portno, gdbserver.attach, process) < 0)
! {
! fprintf (stderr, "Error listening on port %d: %s\n",
! portno, strerror (errno));
! return 2;
! }
if (process->debug_informational)
fprintf (stderr, "Started listening socket on port %d.\n", portno);
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: RFA: check for error result from gdbsocket_startup.
2004-10-07 16:10 RFA: check for error result from gdbsocket_startup Jim Blandy
@ 2004-10-07 16:17 ` Kevin Buettner
2004-10-07 19:16 ` Jim Blandy
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Buettner @ 2004-10-07 16:17 UTC (permalink / raw)
To: Jim Blandy; +Cc: rda
On 07 Oct 2004 11:10:20 -0500
Jim Blandy <jimb@redhat.com> wrote:
> rda/unix/ChangeLog:
> 2004-10-07 Jim Blandy <jimb@redhat.com>
>
> * server.c (main): Check for an error return from
> gdbsocket_startup.
Okay.
Kevin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: RFA: check for error result from gdbsocket_startup.
2004-10-07 16:17 ` Kevin Buettner
@ 2004-10-07 19:16 ` Jim Blandy
0 siblings, 0 replies; 3+ messages in thread
From: Jim Blandy @ 2004-10-07 19:16 UTC (permalink / raw)
To: Kevin Buettner; +Cc: rda
Kevin Buettner <kevinb@redhat.com> writes:
> On 07 Oct 2004 11:10:20 -0500
> Jim Blandy <jimb@redhat.com> wrote:
>
> > rda/unix/ChangeLog:
> > 2004-10-07 Jim Blandy <jimb@redhat.com>
> >
> > * server.c (main): Check for an error return from
> > gdbsocket_startup.
>
> Okay.
Committed, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-10-07 19:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-07 16:10 RFA: check for error result from gdbsocket_startup Jim Blandy
2004-10-07 16:17 ` Kevin Buettner
2004-10-07 19:16 ` Jim Blandy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).