summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-04-30Makefile: Bump version number for fixesHEADmasterJason Wessel1-1/+1
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2018-04-30agent-proxy-rs232: add missing baud ratesHeinrich Schuchardt1-0/+33
Add more baud rates defined in termios.h. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2018-04-30agent-proxy: improve error handlingHeinrich Schuchardt2-10/+25
If the baud rate cannot be set provide an error message and abort. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2014-12-11kgdb: kdmx agent-proxy: add status file featureFrank Rowand1-1/+1
Update kdmx version Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2014-12-11kgdb: kdmx agent-proxy: add status file featureFrank Rowand1-1/+108
Add status file feature so tools that use the slave pty paths can be automated. An example of using this feature can be found in the section 'example 2(automate paths of gdb pty and terminal emulator pty)' at http://elinux.org/Kdmx Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2014-12-11kgdb: kdmx agent-proxy: fix incorrect use of ptsname()Frank Rowand1-18/+49
Clean up and fix some areas that will be impacted by patches later in the series - testing for changed pty name was incorrect because ptsname() returns a global string, change to use ptsname_r() - change to ptsname_r() universally in preparation for adding status files Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2014-12-11kgdb: kdmx agent-proxy: use max path length from header fileFrank Rowand1-5/+5
replace SERIAL_PORT_PATHLEN with MAXPATHLEN Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2014-12-11kgdb: kdmx agent-proxy: clean up error messagesFrank Rowand1-23/+28
Clean up some areas that will be impacted by patches later in the series - replace mis-used perror() with pr_err() - clean up perror() strings, for consistency and brevity - ensure all error and warning strings are unique - correct one word in usage() Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2014-10-23kdmx fails when 0xff is read from serial portFrank Rowand1-4/+6
kdmx incorrectly detects a 0xff character read from the serial port as a read error. The false read error results in kdmx terminating. Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2014-09-11kgdb: agent-proxy: initial version of kdmx makefileFrank Rowand1-0/+21
Initial version of kdmx makefile Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2014-09-11kgdb: agent-proxy: initial version of kdmx READMEFrank Rowand1-0/+13
Initial version of kdmx README Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2014-09-11kgdb: agent-proxy: Initial version of kdmx.cFrank Rowand1-0/+937
Initial version of kdmx.c kdmx is a program designed to split GDB packets and other trafic coming from a target on a serial line into 2 separate pseudo-ttys. Author: Tom Rini <trini@mvista.com> Significant update by: Frank Rowand <frank.rowand@sonymobile.com> Updates include: - Fix issues that prevented use of serial USB port. - Detect and handle I/O errors. - Add additional error checking. - Detect and handle disconnect by gdb and terminal emulator. - Add ability to send BREAK to serial port. - Replace do_read() and do_write() debug mode. - Expand usage text. - Allow terminal emulator to send the null character to the serial port. - Restructure and change to Linux kernel coding style. - General clean up. Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com> Acked-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2012-07-07Makefile: Move AGENT_VER to out of CC= for simple cross compileagent-proxy-1.96Jason Wessel1-7/+7
When using a system such as bitbake, it provides its own CC= and we should not assume they will also force set the version of the agent-proxy. Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2012-07-07agent-proxy: Squelch compile warningsJason Wessel1-4/+4
agent-proxy.c: In function ‘writeScriptClients’: agent-proxy.c:806:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] agent-proxy.c: In function ‘main’: agent-proxy.c:1460:6: warning: variable ‘latency’ set but not used [-Wunused-but-set-variable] agent-proxy.c:1459:6: warning: variable ‘baud’ set but not used [-Wunused-but-set-variable] The ret warning just needs to have the variable deleted. For the latency and baud, they are for a seldom used feature that is #if def'ed and these variables should be behind the #if USE_LATENCY option. Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2011-03-03Add support for a using a fifo for console muxingJason Wessel2-5/+116
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2010-08-12Update to version 1.95agent-proxy-1.95Jason Wessel1-1/+1
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2010-08-12fix the buffer overflow with gdbArr[MAX_GDB_BUF]Dongdong Deng1-1/+1
Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2010-08-04Initial contribution of the agent-proxy 1.94 to GPLv2 Open Source.agent-proxy-1.94Jason Wessel7-0/+2491
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>