aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-02-01 17:26:01 +0000
committerIan Lance Taylor <ian@airs.com>1994-02-01 17:26:01 +0000
commitbf8d9d28c65e93fa4a58d9477eb4a52b455a803e (patch)
tree3444255a9ee10ca0073c1dc9c87a1d4d40670e28 /gdb/xcoffread.c
parent9cbf9e57c226122f094bab591322df5cbe081921 (diff)
downloadgdb-bf8d9d28c65e93fa4a58d9477eb4a52b455a803e.zip
gdb-bf8d9d28c65e93fa4a58d9477eb4a52b455a803e.tar.gz
gdb-bf8d9d28c65e93fa4a58d9477eb4a52b455a803e.tar.bz2
* coffread.c (read_one_sym): bfd_coff_swap_aux_in now takes
additional arguments. * xcoffread.c (read_xcoff_symtab, read_symbol_lineno): Likewise.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index aac5524..e024636 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -1128,7 +1128,7 @@ read_xcoff_symtab (objfile, nsyms)
/* if explicitly specified as a function, treat is as one. */
if (ISFCN(cs->c_type) && cs->c_sclass != C_TPDEF) {
bfd_coff_swap_aux_in (abfd, raw_auxptr, cs->c_type, cs->c_sclass,
- &main_aux);
+ 0, cs->c_naux, &main_aux);
goto function_entry_point;
}
@@ -1144,7 +1144,7 @@ read_xcoff_symtab (objfile, nsyms)
/* Convert the auxent to something we can access. */
bfd_coff_swap_aux_in (abfd, raw_auxptr, cs->c_type, cs->c_sclass,
- &main_aux);
+ 0, cs->c_naux, &main_aux);
switch (CSECT_SMTYP (&main_aux)) {
@@ -1410,7 +1410,7 @@ function_entry_point:
if (STREQ (cs->c_name, ".bf")) {
bfd_coff_swap_aux_in (abfd, raw_auxptr, cs->c_type, cs->c_sclass,
- &main_aux);
+ 0, cs->c_naux, &main_aux);
within_function = 1;
@@ -1426,7 +1426,7 @@ function_entry_point:
else if (STREQ (cs->c_name, ".ef")) {
bfd_coff_swap_aux_in (abfd, raw_auxptr, cs->c_type, cs->c_sclass,
- &main_aux);
+ 0, cs->c_naux, &main_aux);
/* the value of .ef is the address of epilogue code;
not useful for gdb */
@@ -1784,7 +1784,8 @@ gotit:
/* take aux entry and return its lineno */
symno++;
bfd_coff_swap_aux_in (symfile_bfd, symtbl+(symno*local_symesz),
- symbol->n_type, symbol->n_sclass, main_aux);
+ symbol->n_type, symbol->n_sclass,
+ 0, symbol->n_numaux, main_aux);
return main_aux->x_sym.x_misc.x_lnsz.x_lnno;
}