projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5e9113
)
Remove use of __CYGNUSCLIB__
author
Tom Tromey
<tom@tromey.com>
Sun, 3 May 2020 21:58:27 +0000
(15:58 -0600)
committer
Tom Tromey
<tom@tromey.com>
Mon, 13 Sep 2021 23:53:58 +0000
(17:53 -0600)
I found a check of __CYGNUSCLIB__ in dbxread.c. I think this is dead
code. This patch removes it.
gdb/dbxread.c
patch
|
blob
|
history
diff --git
a/gdb/dbxread.c
b/gdb/dbxread.c
index cf35880b509b48735804a9e861ad3d9232037717..4d846990a56b37e172af9bf9dc5b55fcf4c16a09 100644
(file)
--- a/
gdb/dbxread.c
+++ b/
gdb/dbxread.c
@@
-31,10
+31,6
@@
for real. dbx_psymtab_to_symtab() is the function that does this */
#include "defs.h"
-#if defined(__CYGNUSCLIB__)
-#include <sys/types.h>
-#include <fcntl.h>
-#endif
#include "gdb_obstack.h"
#include <sys/stat.h>