checking. Fix overflow check to use unsigned LONGEST, not
unsigned int.
* c-exp.y (parse_number): Make it so that integer constants are
builtin_type_long_long if builtin_type_long isn't big enough or if
an "LL" suffix is used. Properly handle "UL" or "LU" suffixes.
is on, call find_pc_function rather than relying just on the minimal
symbols (probably only matters for symbol readers which don't put
statics in the minimal symbols, but changing this strikes me as
not conservative enough).
Initialize name_location in all cases.
If no symbol and no msymbol, don't print anything symbolic.
symtabs for variables as well as functions. Add `set print
fast-symbolic-addr' and default it to fast (the old way).
Print line numbers for data items as well as functions.
* symtab.c (find_addr_symbol): Return the symtab and the symbol
address, if a symbol is found (take two more args pointing to
where to store these results).
* symtab.h (find_addr_symbol): Add prototype.
compiler generated tag names.
* mdebugread.c (parse_type): Handle cross references to qualified
aggregate types.
* valops.c (value_struct_elt): Improve error message if the
address of a method is requested from an object instance.
* valops.c (search_struct_method): Make name_matched non-static
to get it initialized correctly.
partial_symbol): Shrink the storage sizes of symbols, by making
enums into 1-byte bitfields when compiled __GNUC__, moving all the
enums and small ints to the end of each struct to improve
alignment, and switching the section number from int to unsigned short.
to [0,0] rather than [0, end of first source file]. This avoids
problems with other parts of GDB looking for linetables in the
_globals_ symtab. Eliminate variables num_object_files and
first_object_file_end.
Fixes PR gdb/4072.
(pop_frame): Restore PC2 and LR0 from dummy frames.
(push_dummy_frame): Save PC2 and LR0 into dummy frames.
(setup_arbitrary_frame): Handle 3 args and set up real frames.
* config/a29k/tm-a29k.h (FRAME_NUM_ARGS): Update comments.
(DUMMY_FRAME_RSIZE): Add 2 longwords for PC2 and LR0.
(SETUP_ARBITRARY_FRAME): Define.
there.]
* sparc-tdep.c (sparc_pop_frame): Pop the fsr and csr (float and
coprocessor status regs) when popping a frame. This fixes
float exceptions that occur after calling inferior functions.
* sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
Read and write the fsr (float status register) to/from the child
process along with the float regs. Remove Peter Schauer's change
of May 24 '93, which has higher overhead and doesn't solve the
real problem (which was that FSR wasn't being set).
Read and write the fsr (float status register) to/from the child
process. This avoids random float exceptions when running under
GDB, and probably obsoletes Peter Schauer's change of May 24 '93
(which remains for safety).
stack overflow check isn't right after the register stack
adjustment instruction. Metaware R2.3u compiler moves other
things in front of it. This fix isn't perfect but is what's
running.
config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET): Define.
* mdebugread.c (parse_symbol): Handle enum sh.type produced by
DEC c89.
* mdebugread.c (add_line): Handle zero linenos produced by DEC c89.
watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
* gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
have to be typeless.