gdb: move baud_rate and serial_parity declarations to serial.h

They are currently in target.h, it would make more sense to have them in
serial.h, since they are defined in serial.c.

gdb/ChangeLog:

	* target.h (baud_rate, serial_parity): Move declarations...
	* serial.h: ... here.
	* main.c: Include serial.h.
	* serial.c (baud_rate, serial_parity): Update doc.

Change-Id: Idc983c154c80ccc29b07ce68df3483cefe03fb71
This commit is contained in:
Simon Marchi 2021-01-12 14:19:49 -05:00
parent 3f94e58859
commit 16e9019ef7
5 changed files with 18 additions and 11 deletions

View file

@ -54,6 +54,7 @@
#endif
#include "gdbsupport/alt-stack.h"
#include "observable.h"
#include "serial.h"
/* The selected interpreter. This will be used as a set command
variable, so it should always be malloc'ed - since