summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/serdbg (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libmisc/serdbg: Remove obsolete serial debugJoel Sherrill2023-02-094-748/+0
| | | | Closes #2828.
* cpukit/libmisc/serdbg: Change license to BSD-2Joel Sherrill2022-03-223-9/+66
| | | | Updates #3053.
* cpukit: Automated IMD header file clean upChristian Mauderer2022-03-103-3/+3
| | | | | | Use the same form of IMD in all copyright lines Update #4625.
* bsps and cpukit: Manual file header clean upChristian Mauderer2022-03-101-18/+15
| | | | Updates #4625.
* libmisc/serdbg: Manual header clean upJoel Sherrill2022-03-102-45/+29
| | | | Updates #4625.
* Remove make preinstallChris Johns2018-01-254-424/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
* libio: Avoid direct use of rtems_libio_iopsSebastian Huber2017-09-142-2/+2
| | | | Update #3132.
* serdbg: Fix warningSebastian Huber2017-09-121-1/+0
| | | | Update #3122.
* Simplify and unify BSP_output_charSebastian Huber2017-09-121-3/+0
| | | | | | | | The BSP_output_char should output a char and not mingle with high level processing, e.g. '\n' to '\r\n' translation. Move this translation to rtems_putc(). Remove it from all the BSP_output_char implementations. Close #3122.
* basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber2015-10-261-1/+1
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-212-2/+2
|
* Header File Doxygen Enhancement Task #2Mathew Kallada2012-12-282-0/+12
|
* Remove CVS Id Strings (manual edits after script)Joel Sherrill2012-05-112-6/+0
| | | | | | These modifications were required by hand after running the script. In some cases, the file names did not match patterns. In others, the format of the file did not match any common patterns.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-116-19/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-062-1/+3
| | | | | | * libmisc/serdbg/serdbg.h: Add serdbg_init_dbg. * libmisc/serdbg/serdbgcnf.h: Remove conditional serdbg_init_dbg prototype.
* 2011-10-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-091-36/+0
| | | | | * libmisc/serdbg/serdbg.h (putDebugChar, getDebugChar): Remove duplicate decls.
* Add __attribute__((unused)) to unused function args.Ralf Corsepius2009-01-021-1/+5
|
* 2008-12-18 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2008-12-182-2/+2
| | | | | | | | | | | | | | | | | | | | | | * libmisc/serdbg/termios_printk.c, libmisc/serdbg/termios_printk.h: Fixed incompatible return value. * libmisc/cpuuse/cpuusagereport.c: Changed output format. * libmisc/Makefile.am, libmisc/monitor/mon-editor.c: New file. * libmisc/capture/capture-cli.c, libmisc/monitor/mon-command.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-symbols.c, libmisc/monitor/monitor.h, libmisc/shell/cat_file.c, libmisc/shell/cmds.c, libmisc/shell/internal.h, libmisc/shell/main_help.c, libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/shell/shell_cmdset.c, libmisc/shell/shell_getchar.c, libmisc/shell/str2int.c: Various global data is now read only. Added 'const' qualifier to many pointer parameters. It is no longer possible to remove monitor commands. Moved monitor line editor into a separate file to avoid unnecessary dependencies.
* Convert to using "bool".Ralf Corsepius2008-09-015-17/+18
|
* 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-08-182-2/+5
| | | | | | | | * libcsupport/include/rtems/libcsupport.h, libcsupport/src/scandir.c, libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-monitor.c, libmisc/serdbg/serdbg.c, libmisc/serdbg/serdbg.h, libnetworking/netinet/in_cksum_powerpc.h, shttpd/compat_rtems.h: Fix warnings.
* 2004-09-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-09-174-0/+32
| | | | | | | | | PR 677/misc * libmisc/dumpbuf/dumpbuf.h, libmisc/fsmount/fsmount.h, libmisc/rtmonuse/rtmonuse.h, libmisc/serdbg/serdbg.h, libmisc/serdbg/serdbgcnf.h, libmisc/serdbg/termios_printk.h, libmisc/serdbg/termios_printk_cnf.h, libmisc/untar/untar.h: Add extern C wrappers.
* Remove stray white spaces.Ralf Corsepius2004-04-167-35/+35
|
* Remove stray white spaces.Ralf Corsepius2004-04-152-2/+0
|
* 2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-04-012-2/+2
| | | | | | | * libmisc/serdbg/serdbgcnf.h: Include <rtems/serdbg.h> instead of <serdbg.h> * libmisc/serdbg/termios_printk_cnf.h: Include <rtems/termios_printk.h> instead of <termios_printk.h>.
* 2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-04-013-3/+3
| | | | | | | | | | | * libmisc/Makefile.am: Install serdbg.h, serdbgcnf.h, termios_printk.h, termios_printk_cnf.h to $(includedir)/rtems. * libmisc/serdbg/serdbg.c: Include <rtems/serdbg.h> instead of <serdbg.h>. * libmisc/serdbg/serdbgio.c: Include <rtems/serdbg.h> instead of <serdbg.h>. * libmisc/serdbg/termios_printk.c: Include <rtems/termios_printk.h> instead of <termios_printk.h>.
* 2004-03-26 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-264-8/+8
| | | | | | | | | | | | | | | | | | * libmisc/capture/capture-cli.c, libmisc/capture/capture.c, libmisc/capture/capture.h, libmisc/cpuuse/cpuuse.c, libmisc/devnull/devnull.c, libmisc/fsmount/fsmount.h, libmisc/monitor/mon-config.c, libmisc/monitor/mon-dname.c, libmisc/monitor/mon-driver.c, libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-queue.c, libmisc/monitor/mon-server.c, libmisc/monitor/mon-symbols.c, libmisc/monitor/monitor.h, libmisc/monitor/symbols.h, libmisc/mw-fb/mw_uid.c, libmisc/rtmonuse/rtmonuse.c, libmisc/serdbg/serdbg.h, libmisc/serdbg/serdbgio.c, libmisc/serdbg/termios_printk.c, libmisc/serdbg/termios_printk.h, libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/stackchk/check.c, libmisc/stackchk/internal.h: Convert to using c99 fixed size types.
* Unused.Ralf Corsepius2004-03-081-2/+0
|
* 2003-11-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-11-281-47/+0
| | | | | | | | | | | | | | | | | * capture/Makefile.am: Remove. * cpuuse/Makefile.am: Remove. * devnull/Makefile.am: Remove. * dummy/Makefile.am: Remove. * dumpbuf/Makefile.am: Remove. * fsmount/Makefile.am: Remove. * monitor/Makefile.am: Remove. * mw-fb/Makefile.am: Remove. * rtmonuse/Makefile.am: Remove. * serdbg/Makefile.am: Remove. * shell/Makefile.am: Remove. * stackchk/Makefile.am: Remove. * untar/Makefile.am: Remove. * Makefile.am: Merge-in the Makefile.ams above.
* 2003-11-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-11-202-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * capture/config.h: Remove. * capture/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * cpuuse/config.h: Remove. * cpuuse/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * devnull/config.h: Remove. * devnull/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * dummy/config.h: Remove. * dummy/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * dumpbuf/config.h: Remove. * dumpbuf/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * monitor/config.h: Remove. * monitor/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * mw-fb/config.h: Remove. * mw-fb/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * rtmonuse/config.h: Remove. * rtmonuse/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * serdbg/config.h: Remove. * serdbg/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * shell/config.h: Remove. * shell/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * stackchk/config.h: Remove. * stackchk/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * untar/config.h: Remove. * untar/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir).
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-042-2/+2
| | | | | | | | | * cpuuse/cpuuse.c, cpuuse/cpuuse.h, devnull/devnull.c, devnull/devnull.h, dummy/dummy.c, dumpbuf/dumpbuf.c, dumpbuf/dumpbuf.h, fsmount/fsmount.c, fsmount/fsmount.h, serdbg/serdbgio.c, serdbg/termios_printk.c, stackchk/check.c, stackchk/internal.h, stackchk/stackchk.h, untar/untar.c, untar/untar.h: URL for license changed.
* 2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-07-082-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Remove (Merged into ../configure.ac). * Makefile.am: Reflect having merged configure.ac into ../configure.ac. * capture/config.h: New. * capture/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * cpuuse/config.h: New. * cpuuse/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * devnull/config.h: New. * devnull/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * dummy/config.h: New. * dummy/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * dumpbuf/config.h: New. * dumpbuf/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * monitor/config.h: New. * monitor/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * mw-fb/config.h: New. * mw-fb/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * rtmonuse/config.h: New. * rtmonuse/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * serdbg/config.h: New. * serdbg/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * shell/config.h: New. * shell/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * stackchk/config.h: New. * stackchk/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * untar/config.h: New. * untar/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * wrapup/Makefile.am: Reflect having merged configure.ac into ../configure.ac.
* 2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-07-083-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * capture/capture-cli.c: Add config-header support. * capture/capture.c: Add config-header support. * cpuuse/cpuuse.c: Add config-header support. * devnull/devnull.c: Add config-header support. * dummy/dummy.c: Add config-header support. * dumpbuf/dumpbuf.c: Add config-header support. * monitor/mon-command.c: Add config-header support. * monitor/mon-config.c: Add config-header support. * monitor/mon-dname.c: Add config-header support. * monitor/mon-driver.c: Add config-header support. * monitor/mon-extension.c: Add config-header support. * monitor/mon-itask.c: Add config-header support. * monitor/mon-manager.c: Add config-header support. * monitor/mon-monitor.c: Add config-header support. * monitor/mon-mpci.c: Add config-header support. * monitor/mon-object.c: Add config-header support. * monitor/mon-prmisc.c: Add config-header support. * monitor/mon-queue.c: Add config-header support. * monitor/mon-server.c: Add config-header support. * monitor/mon-symbols.c: Add config-header support. * monitor/mon-task.c: Add config-header support. * mw-fb/mw_fb.c: Add config-header support. * mw-fb/mw_uid.c: Add config-header support. * rtmonuse/rtmonuse.c: Add config-header support. * serdbg/serdbg.c: Add config-header support. * serdbg/serdbgio.c: Add config-header support. * serdbg/termios_printk.c: Add config-header support. * shell/cmds.c: Add config-header support. * stackchk/check.c: Add config-header support. * untar/untar.c: Add config-header support.
* 2002-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-01-241-1/+5
| | | | | | | | | | | | | | | | | | | | | * configure.ac: Add check for weak function attribute. Remove AM_CONDITIONAL([RTEMS_LIBSHELL]. Add AM_CONDITIONAL(LIBSHELL), AM_CONDITIONAL(LIBSERDBG). * capture/Makefile.am: Use *.a instead of *-tmp.a. * cpuuse/Makefile.am: Use *.a instead of *-tmp.a. * devnull/Makefile.am: Use *.a instead of *-tmp.a. * dummy/Makefile.am: Use *.a instead of *-tmp.a. * dumpbuf/Makefile.am: Use *.a instead of *-tmp.a. * monitor/Makefile.am: Use *.a instead of *-tmp.a. * mw-fb/Makefile.am: Use *.a instead of *-tmp.a. * rtmonuse/Makefile.am: Use *.a instead of *-tmp.a. * serdbg/Makefile.am: Use *.a instead of *-tmp.a. Build iff LIBSERDBG is true. * shell/Makefile.am: Use *.a instead of *-tmp.a. Build iff LIBSHELL is true. * stackchk/Makefile.am: Use *.a instead of *-tmp.a. * untar/Makefile.am: Use *.a instead of *-tmp.a. * wrapup/Makefile.am: Reflect changes above.
* 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-121-3/+1
| | | | | | | | | | | | | | | | | * configure.ac: Require autoconf-2.57+automake-1.7.2. * capture/Makefile.am: Eliminate C_O_FILES. * cpuuse/Makefile.am: Ditto. * devnull/Makefile.am: Ditto. * dummy/Makefile.am: Ditto. * dumpbuf/Makefile.am: Ditto. * monitor/Makefile.am: Ditto. * rtmonuse/Makefile.am: Ditto. * serdbg/Makefile.am: Ditto. * shell/Makefile.am: Ditto. * stackchk/Makefile.am: Ditto. * untar/Makefile.am: Ditto. * mw-fb/Makefile.am: Eliminate C_O_FILES. Eliminate SRCS.
* 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | Moving libmisc from rtems/c/src to rtems/cpukit. * Makefile.am: Reflect new path. * configure.ac: Reflect new path. Use RTEMS_ENV_RTEMSCPU instead of RTEMS_ENV_RTEMSBSP. Remove RTEMS_PROJECT_ROOT. * capture/Makefile.am: Reflect new path. Remove OBJS from all-local. * cpuuse/Makefile.am: Ditto. * devnull/Makefile.am: Ditto. * dummy/Makefile.am: Ditto. * dumpbuf/Makefile.am: Ditto. * monitor/Makefile.am: Ditto. * mw-fb/Makefile.am: Ditto. * rtmonuse/Makefile.am: Ditto. * serdbg/Makefile.am: Ditto. * shell/Makefile.am: Ditto. * stackchk/Makefile.am: Ditto. * untar/Makefile.am: Ditto. * wrapup/Makefile.am: Reflect new path.
* 2002-12-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-101-1/+0
| | | | | | | | | | | | | | | | * capture/Makefile.am: Don't include @RTEMS_BSP@.cfg. * cpuuse/Makefile.am: Don't include @RTEMS_BSP@.cfg. * devnull/Makefile.am: Don't include @RTEMS_BSP@.cfg. * dummy/Makefile.am: Don't include @RTEMS_BSP@.cfg. * dumpbuf/Makefile.am: Don't include @RTEMS_BSP@.cfg. * monitor/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mw-fb/Makefile.am: Don't include @RTEMS_BSP@.cfg. * rtmonuse/Makefile.am: Don't include @RTEMS_BSP@.cfg. * serdbg/Makefile.am: Don't include @RTEMS_BSP@.cfg. * shell/Makefile.am: Don't include @RTEMS_BSP@.cfg. * stackchk/Makefile.am: Don't include @RTEMS_BSP@.cfg. * untar/Makefile.am: Don't include @RTEMS_BSP@.cfg. * wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* 2002-11-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-11-142-2/+1
| | | | | | | | | | * capture/Makefile.am: Remove AUTOMAKE_OPTIONS. * serdbg/Makefile.am: Remove AUTOMAKE_OPTIONS. * serdbg/serdbgio.c: Add #include <unistd.h>. * shell/Makefile.am: Add RTEMS_LIBSHELL conditional. * wrapup/Makefile.am: Add RTEMS_LIBSHELL conditional. * configure.ac: Check for stdio assignments. Add RTEMS_LIBSHELL conditional.
* 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-08-111-1/+1
| | | | | | | | | | | | | | | * capture/Makefile.am: Use .$(OBJEXT) instead of .o. * cpuuse/Makefile.am: Use .$(OBJEXT) instead of .o. * devnull/Makefile.am: Use .$(OBJEXT) instead of .o. * dummy/Makefile.am: Use .$(OBJEXT) instead of .o. * dumpbuf/Makefile.am: Use .$(OBJEXT) instead of .o. * monitor/Makefile.am: Use .$(OBJEXT) instead of .o. * mw-fb/Makefile.am: Use .$(OBJEXT) instead of .o. * rtmonuse/Makefile.am: Use .$(OBJEXT) instead of .o. * serdbg/Makefile.am: Use .$(OBJEXT) instead of .o. * shell/Makefile.am: Use .$(OBJEXT) instead of .o. * stackchk/Makefile.am: Use .$(OBJEXT) instead of .o. * untar/Makefile.am: Use .$(OBJEXT) instead of .o.
* 2002-06-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>Joel Sherrill2002-06-2710-0/+1182
* With the addition of serdbg, the standard polled I/O functions for gdbstub and/or printk are optionally routed to any termios-aware device driver, that supports polled mode. See libmisc/serdbg/README. * serdbg/Makefile.am, serdbg/README, serdbg/serdbg.c, serdbg/serdbg.h, serdbg/serdbgcnf.h, serdbg/serdbgio.c, serdbg/termios_printk.c, serdbg/termios_printk.h, serdbg/termios_printk_cnf.h, serdbg/.cvsignore: New files. * configure.ac, Makefile.am, wrapup/Makefile.am: Modified to reflect addition.