aboutsummaryrefslogtreecommitdiff
path: root/gdb/partial-stab.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1996-10-24 17:31:45 +0000
committerStu Grossman <grossman@cygnus>1996-10-24 17:31:45 +0000
commit139e2c0f92e06fcca01a815614c46a53e93a2f55 (patch)
tree6318f9da44ac4db47a0cf4bed71ee6b03e82d545 /gdb/partial-stab.h
parentb9dfd325cd8d0f5da5a9a899094e7a93dfc061e4 (diff)
downloadgdb-139e2c0f92e06fcca01a815614c46a53e93a2f55.zip
gdb-139e2c0f92e06fcca01a815614c46a53e93a2f55.tar.gz
gdb-139e2c0f92e06fcca01a815614c46a53e93a2f55.tar.bz2
* dbxread.c: Don't swap symbols in place, since internal and
external forms may have different sizes. Don't assume that an internal_nlist has the same layout as an external_nlist. Create symbol for n_strx element so to hide specifics of nlist from partial-stab.h. * partial-stab.h: Don't reference dbxread symbols directly. Use CUR_SYMBOL_STRX instead. * config/i386/xm-windows.h: Define SIGQUIT and SIGTRAP. * config/v850/tm-v850.h: Define PS_REGNUM and TARGET_V850 for MSVC builds. * mswin/gdbwin.c (reg_order): Define register order for V850. * mswin/gui.cpp (CGuiApp::InitInstance): Define target name for V850. * mswin/regdoc.h: Define MAXREGS for V850.
Diffstat (limited to 'gdb/partial-stab.h')
-rw-r--r--gdb/partial-stab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h
index 551ee71..24ff492 100644
--- a/gdb/partial-stab.h
+++ b/gdb/partial-stab.h
@@ -145,7 +145,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
case N_UNDF:
#ifdef DBXREAD_ONLY
- if (processing_acc_compilation && bufp->n_strx == 1) {
+ if (processing_acc_compilation && CUR_SYMBOL_STRX == 1) {
/* Deal with relative offsets in the string table
used in ELF+STAB under Solaris. If we want to use the
n_strx field, which contains the name of the file,
@@ -154,7 +154,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
past_first_source_file = 1;
file_string_table_offset = next_file_string_table_offset;
next_file_string_table_offset =
- file_string_table_offset + bufp->n_value;
+ file_string_table_offset + CUR_SYMBOL_VALUE;
if (next_file_string_table_offset < file_string_table_offset)
error ("string table offset backs up at %d", symnum);
/* FIXME -- replace error() with complaint. */