mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
2012-12-13 Pedro Alves <palves@redhat.com>
* gdbarch.sh (do_read): Set IFS to blank.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2012-12-13 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
* gdbarch.sh (do_read): Set IFS to blank.
|
||||||
|
|
||||||
2012-12-12 Mircea Gherzan <mircea.gherzan@intel.com>
|
2012-12-12 Mircea Gherzan <mircea.gherzan@intel.com>
|
||||||
|
|
||||||
* NEWS: Mention the -catch-load/-catch-unload MI commands.
|
* NEWS: Mention the -catch-load/-catch-unload MI commands.
|
||||||
|
@ -47,7 +47,10 @@ do_read ()
|
|||||||
{
|
{
|
||||||
comment=""
|
comment=""
|
||||||
class=""
|
class=""
|
||||||
while read line
|
# On some SH's, 'read' trims leading and trailing whitespace by
|
||||||
|
# default (e.g., bash), while on others (e.g., dash), it doesn't.
|
||||||
|
# Set IFS to empty to disable the trimming everywhere.
|
||||||
|
while IFS='' read line
|
||||||
do
|
do
|
||||||
if test "${line}" = ""
|
if test "${line}" = ""
|
||||||
then
|
then
|
||||||
|
Reference in New Issue
Block a user