mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
If no filename is available (because we haven't opened the input file yet),
don't try to print one.
This commit is contained in:
@@ -377,7 +377,7 @@ bump_line_counters ()
|
||||
* If the line_number is -1, we don't change the current logical line
|
||||
* number. If it is -2, we decrement the logical line number (this is
|
||||
* to support the .appfile pseudo-op inserted into the stream by
|
||||
* do_scrub_next_char).
|
||||
* do_scrub_chars).
|
||||
* If the fname is NULL, we don't change the current logical file name.
|
||||
*/
|
||||
void
|
||||
@@ -423,7 +423,7 @@ as_where (namep, linep)
|
||||
}
|
||||
else
|
||||
{
|
||||
*namep = (char *) "*unknown*";
|
||||
*namep = 0;
|
||||
if (linep != NULL)
|
||||
*linep = 0;
|
||||
}
|
||||
@@ -453,7 +453,6 @@ as_howmuch (stream)
|
||||
for (; p <= input_line_pointer; p++)
|
||||
{
|
||||
/* Assume ASCII. EBCDIC & other micro-computer char sets ignored. */
|
||||
/* c = *p & 0xFF; JF unused */
|
||||
as_1_char ((unsigned char) *p, stream);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user