projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git]
/
gdb
/
coff-pe-read.c
diff --git
a/gdb/coff-pe-read.c
b/gdb/coff-pe-read.c
index b7f7b81ca88251e5b6dce444527b286abe5509f3..9253cb115f63c0adcc1b7bdf38eea0a749f20447 100644
(file)
--- a/
gdb/coff-pe-read.c
+++ b/
gdb/coff-pe-read.c
@@
-266,7
+266,7
@@
add_pe_forwarded_sym (minimal_symbol_reader &reader,
really be relocated properly, but nevertheless we make a stab at
it, choosing an approach consistent with the history of this
code. */
really be relocated properly, but nevertheless we make a stab at
it, choosing an approach consistent with the history of this
code. */
- baseaddr = objfile->
section_offsets[SECT_OFF_TEXT (objfile)]
;
+ baseaddr = objfile->
text_section_offset ()
;
reader.record_with_info (qualified_name.c_str (), vma - baseaddr, msymtype,
section);
reader.record_with_info (qualified_name.c_str (), vma - baseaddr, msymtype,
section);
@@
-342,7
+342,7
@@
read_pe_exported_syms (minimal_symbol_reader &reader,
unsigned long exp_funcbase;
unsigned char *expdata, *erva;
unsigned long name_rvas, ordinals, nexp, ordbase;
unsigned long exp_funcbase;
unsigned char *expdata, *erva;
unsigned long name_rvas, ordinals, nexp, ordbase;
- char *dll_name = (char *)
dll->filename
;
+ char *dll_name = (char *)
bfd_get_filename (dll)
;
int otherix = PE_SECTION_TABLE_SIZE;
int is_pe64 = 0;
int is_pe32 = 0;
int otherix = PE_SECTION_TABLE_SIZE;
int is_pe64 = 0;
int is_pe32 = 0;
@@
-691,8
+691,9
@@
show_debug_coff_pe_read (struct ui_file *file, int from_tty,
/* Adds "Set/show debug coff_pe_read" commands. */
/* Adds "Set/show debug coff_pe_read" commands. */
+void _initialize_coff_pe_read ();
void
void
-_initialize_coff_pe_read (
void
)
+_initialize_coff_pe_read ()
{
add_setshow_zuinteger_cmd ("coff-pe-read", class_maintenance,
&debug_coff_pe_read,
{
add_setshow_zuinteger_cmd ("coff-pe-read", class_maintenance,
&debug_coff_pe_read,
This page took
0.023263 seconds
and
4
git commands to generate.