RE: How to run gdbserver and gdb in two different windows?

Anatoly Varakin <anatoly.varakin-7VL/QDZpFe3Rtq0lzs/[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <DM2PR0101MB0832D39C0A1239A2B6837DBEE4570@DM2PR0101MB0832.prod.exchangelabs.com>
Hi Jenia,

Please find my comment at https://stackoverflow.com/questions/1628204/how-to-run-a-command-in-background-using-ssh-and-detach-the-session/26296408#26296408 .

Regards,
Anatoly Varakin

-----Original Message-----
From: screen-users-bounces+anatoly.varakin=adotube.com-mXXj517/[email protected] [mailto:screen-users-bounces+anatoly.varakin=adotube.com-mXXj517/[email protected]] On Behalf Of jenia.ivlev
Sent: Monday, December 22, 2014 2:46 AM
To: screen-users-mXXj517/[email protected]
Subject: How to run gdbserver and gdb in two different windows?

Hello.
How do I write a script for screen that will do the following:

1. create two screen windows (ctrl-c).
2. execute the following command in the first screeen session:
    gdbserver port:1234 editor text-input-for-editor 3. execute the second command in the second screen session:
    gdn editor

Can someone please give me an example?

Thanks in advance for your kind help.


_______________________________________________
screen-users mailing list
screen-users-mXXj517/[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.