gdb: move baud_rate and serial_parity declarations to serial.h
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 12 Jan 2021 19:19:49 +0000 (14:19 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 12 Jan 2021 19:19:49 +0000 (14:19 -0500)
commit16e9019ef738c251ecfbed512c6835f0f0a424f7
treec01b11eb7ad1f8bd4817a773eaa9c52853899dde
parent3f94e588596cdca710de71735127560788fd8770
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
gdb/ChangeLog
gdb/main.c
gdb/serial.c
gdb/serial.h
gdb/target.h