Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redox-os
binutils-gdb
Commits
f2870fb6
Commit
f2870fb6
authored
Jun 25, 2020
by
Jeremy Soller
Browse files
Merge branch 'gdb' into 'redox'
Fix compilation of GDB for Redox See merge request
!3
parents
5a5f6e16
cf524b11
Changes
3
Hide whitespace changes
Inline
Side-by-side
configure
View file @
f2870fb6
...
...
@@ -3884,7 +3884,7 @@ case "${target}" in
noconfigdirs
=
"
$noconfigdirs
ld"
;;
*
-
*
-redox
)
noconfigdirs
=
"
$noconfigdirs
readline gdb
"
noconfigdirs
=
"
$noconfigdirs
"
;;
esac
...
...
gdb/configure.tgt
View file @
f2870fb6
...
...
@@ -732,6 +732,11 @@ x86_64-*-openbsd*)
x86_64-*-rtems*)
gdb_target_obs="${amd64_tobjs} ${i386_tobjs} i386-bsd-tdep.o"
;;
x86_64-*-redox*)
# Target: Redox x86-64
gdb_target_obs="${amd64_tobjs}"
build_gdbserver=no
;;
xtensa*-*-linux*)
# Target: GNU/Linux Xtensa
gdb_target_obs="xtensa-linux-tdep.o symfile-mem.o linux-tdep.o"
...
...
gdb/dwarf-index-write.c
View file @
f2870fb6
...
...
@@ -705,7 +705,7 @@ public:
gdb_assert
(
m_abbrev_table
.
empty
());
const
size_t
name_count
=
m_name_to_value_set
.
size
();
m_bucket_table
.
resize
(
std
::
pow
(
2
,
std
::
ceil
(
std
::
log2
(
name_count
*
4
/
3
))));
(
std
::
pow
(
2
,
std
::
ceil
(
log2
(
name_count
*
4
/
3
))));
m_hash_table
.
reserve
(
name_count
);
m_name_table_string_offs
.
reserve
(
name_count
);
m_name_table_entry_offs
.
reserve
(
name_count
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment