aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1993-12-27 * minsyms.c, symtab.h (prim_record_minimal_symbol{,_and_info}),Jim Kingdon8-28/+39
coffread.c (record_minimal_symbol), xcoffread.c (RECORD_MINIMAL_SYMBOL), callers: Add objfile parameter.
1993-12-27* c-exp.y (yylex): Don't try to deal with nested types.Jim Kingdon2-0/+11
1993-12-27 * cp-valprint.c (cplus_print_value): Call check_stub_type onJim Kingdon2-1/+7
TYPE_BASECLASS (type, i) before we look at its name.
1993-12-27 * dbxread.c: Move default definition of GCC_COMPILED_FLAG_SYMBOLJim Kingdon4-52/+44
from here . . . * symtab.h: . . . to here. * dbxread.c (record_minimal_symbol): Move check for gcc{,2}_compiled. and __gnu_compiled* from here . . . * minsyms.c (prim_record_minimal_symbol_and_info): . . . to here. * minsyms.c (prim_record_minimal_symbol): Call prim_record_minimal_symbol_and_info rather than duplicating code.
1993-12-27Add comment about breakpoint vector usage.Jeff Law1-1/+4
1993-12-27 * stabs.texinfo: Add notes about stabs-in-som where appropriate.Jeff Law2-9/+14
1993-12-27 * dbxread.c (process_one_symbol): Handle stabs-in-som just likeJeff Law3-38/+62
stabs-in-elf. (pastab_build_psymtabs): Likewise. * hppa-tdep.c: Change all comments to reference %r3 or frame pointer rather than %r4. (frame_chain, skip_prologue, dig_rp_from_stack): Handle %r3 as the frame pointer. * config/pa/tm-hppa.h (FP_REGNUM): Define as %r3. (FIND_FRAME_SAVED_REGS): Handle %r3 as frame pointer. (CALL_DUMMY): Likewise.
1993-12-26 * exec.c (exec_file_command): If error occurs after we have openedJim Kingdon2-16/+41
exec_bfd but before we call push_target, make sure to close exec_bfd.
1993-12-26Sun Dec 26 16:59:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)Jim Kingdon2-23/+58
* infrun.c (wait_for_inferior): Remove confusing and inaccurate stuff about subroutine calls, return, etc., from comment which says "We've wandered out of the step range.". Sun Dec 26 09:18:10 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * infrun.c (wait_for_inferior): When checking whether the line has changed, check the symtab as well.
1993-12-26 * gdbtypes.c (force_to_range_type): Use switch statement.Jim Kingdon2-28/+42
complain() not warning() if the TYPE_CODE isn't one we know how to deal with gracefully. Use builtin_type_int not lookup_fundamental_type (the objfile we passed to lookup_fundamental_type was sometimes NULL).
1993-12-26 * valops.c (call_function_by_hand, push_word), defs.h (push_word),Jim Kingdon31-105/+185
convex-xdep.c, m88k-nat.c, i386m3-nat.c, mips-tdep.c, mipsm3-nat.c, ns32km3-nat.c, remote-bug.c, m88k-tdep.c, remote-hms.c, remote-mips.c, config/gould/tm-np1.h, hppa-tdep.c (hppa_fix_call_dummy), remote-vx.c: Use REGISTER_SIZE, unsigned LONGEST, and {store,extract}_unsigned_integer, instead of sizeof (REGISTER_TYPE) and REGISTER_TYPE. * All tm.h files: Change REGISTER_TYPE to REGISTER_SIZE. * hppa-tdep.c (pa_print_fp_reg): Remove unused variable val. * Makefile.in (ALLDEPFILES): Remove i386ly-nat.c and m68kly-nat.c. Add lynx-nat.c.
1993-12-26 * hppa-tdep.c (init_extra_frame_info): Correctly adjust the baseJeff Law2-10/+36
of the current frame when "fromleaf" is true. Do not adjust the frame base of the innermost frame if it is a leaf function.
1993-12-25 * stabsread.c (define_symbol): Only combine a p/r pair into aJim Kingdon2-7/+23
LOC_REGPARM if REG_STRUCT_HAS_ADDR.
1993-12-25Sat Dec 25 09:50:29 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)Jim Kingdon2-2/+7
* valops.c (value_struct_elt): Check for (value)-1 return from search_struct_method.
1993-12-25 * defs.h: Move definitions of TARGET_*_BIT after include of tm.h.Jim Kingdon6-134/+170
The old way (using #undef in tm.h) was ugly and asking for trouble, because it makes it possible for some file to use the wrong definition. Move definition of HOST_CHAR_BIT after definition of TARGET_CHAR_BIT. * config/alpha/tm-alpha.h, config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, config/z8k/tm-z8k.h: Don't undef TARGET_*_BIT before defining them.
1993-12-25 * mdebugread.c: Change the builtin_type_* in this file toJim Kingdon2-20/+36
mdebug_type_* and make them static. Use TYPE_CODE_ERROR for complex and float decimal.
1993-12-25 * printcmd.c (disassemble_command): Call wrap_here between printingJim Kingdon2-23/+30
address and printing instruction.
1993-12-24 * stabsread.c (read_type): Don't fall through 'S' case (the case itJim Kingdon2-0/+9
was falling though happened to do the thing thing ("break;") but that is hardly a good thing to assume).
1993-12-24remove stray <<<<< from CVSJim Kingdon1-1/+0
1993-12-21 * valops.c (value_coerce_array): Handle STRINGs as well as ARRAYs.Per Bothner1-2/+15
1993-12-21 * ch-exp.y (match_dollar_tokens): Fix off-by-one bug.Per Bothner9-55/+189
* ch-lang.c (chill_is_varying_struct), ch-lang.h: New function. * ch-lang.c (chill_printstr): Use double quotes, not single quotes. * ch-typeprint.c (chill_type_print_base): Handle TYPE_CODE_BITSTRING. Improve printing of TYPE_CODE_STRING, TYPE_CODE_SET, and TYPE_CODE_STRUCT (including checking chill_is_varying_struct). Print TYPE_DUMMY_RANGE by printing its TYPE_TARGET_TYPE. Handle TYPE_CODE_ENUM. * ch-valprint.c (chill_val_print): Handle TYPE_CODE_BITSTRING. For TYPE_CODE_STRING, never print address. Handle VARYING strings. * gdbtypes.c (force_to_range_type): New. * gdbtypes.c (create_set_type): Make work, following Chill layout. * gdbtypes.h (TYPE_LOW_BOUND, TYPE_HIGH_BOUND, TYPE_DUMMY_RANGE): New. * stabsread.c (read_type): Distinguish string and bitstring from char-array and set. * valarith.c (value_subscript), valops.c (value_coerce_array): Handle STRINGs as well as ARRAYs. * valarith.c (value_bit_index): Fix think. Use new macros.
1993-12-17Modified Files:Kung Hsu1-3/+3
ChangeLog symtab.c c-valprint.c * symtab (decode_line_1): fix a bug when position char is not set correctly. * c-valprint (c_val_print): handle vtbl printing when vtbl is not set up yet.
1993-12-16 * mips-tdep.c (read_next_frame_reg): If SIGFRAME_REG_SIZE is notIan Lance Taylor1-0/+5
defined, define it as 4.
1993-12-16 * config/m68k/nm-hp300bsd.h: Correctly identify 4.3BSD vs 4.4BSD.Jeff Law4-3/+20
* config/m68k/tm-hp300bsd.h (REMOTE_BPT_VECTOR): Define. * config/m68k/tm-m68k.h (REMOTE_BPT_VECTOR): Allow targets to override. (REMOTE_BREAKPOINT): Likewise.
1993-12-14 Implement support for Chill POWERSETs.Per Bothner7-2/+108
* ch-exp.y (operand_2): Implement 'Element IN PowerSet'. * ch-typeprint.c (chill_type_print_base): Handle POWERSETs. * ch-valprint.c (chill_val_print): Handle TYPE_CODE_SET. * eval.c (evaluate_subexp): Implement BINOP_IN. * expression.h (enum exp_opcode): Added BINOP_IN. * gdbtypes.c (create_set_type), gdbtypes.h: New function. * stabsread.c (read_type): If 'S', create a set type. * valarith.c (value_bit_index, value_in), value.h: New functions, for indexing in SETs.
1993-12-13 * paread.c (pa_symfile_init): Check for the existance of stabsFred Fish2-5/+11
after DBX_TEXT_SECT has been initialized.
1993-12-12 * config/h8300/tm-h8300.h (BREAKPOINT): Insn changed to sleep.Steve Chamberlain1-0/+8
(DECP_PC_AFTER_BREAK): Now is 0. * config/h8500/tm-h8500.h (REGISTER_BYTES, REGISTER_BYTE, REGISTER_NAMES): update to new view. (INIT_EXTRA_FRAME_INFO): No extra frame info now. * config/sh/sh.h (NOP): Define NOP insn. * config/z8k/tm-z8k.h (BIG): is now sim_z8001_mode. * config/z8k/z8ksim.mt (TDEPFILES): Add remote-sim.o to list.
1993-12-12 * config/z8k/tm-z8k.h (BIG): is now sim_z8001_mode.Steve Chamberlain2-3/+3
* config/z8k/z8ksim.mt (TDEPFILES): Add remote-sim.o to list.
1993-12-12 * config/sh/sh.h (NOP): Define NOP insn.Steve Chamberlain1-0/+1
1993-12-12 * config/h8500/tm-h8500.h (REGISTER_BYTES, REGISTER_BYTE,Steve Chamberlain1-16/+32
REGISTER_NAMES): update to new view. (INIT_EXTRA_FRAME_INFO): No extra frame info now.
1993-12-12 * config/h8300/tm-h8300.h (BREAKPOINT): Insn changed to sleep.Steve Chamberlain1-4/+5
(DECP_PC_AFTER_BREAK): Now is 0.
1993-12-12 * ser-go32.c: Lint. (strncasecmp): Removed, now in libiberty.Steve Chamberlain5-299/+156
(go32_readchar): Special handling for faster polling. (async structure): Volatile. * h8300-tdep.c (print_register_hook): Allocate and use the right number bytes for the raw register. * h8500-tdep.c (regoff, frame_find_saved_reg, examine_prologue): deleted. (h8500_register_size, h8500_register_virtual_type, ): Use new way of counting registers. * remote-e7000.c (echo_index): deleted. (expect): Better handling of user interrupts. (expect_prompt): Remove never used log file support. (want, want_nopc): Add support for H8/300H. (fetch_regs_from_dump): Treat \r and \n as whitespace. (e7000_drain): Send an "end" command before waiting for output to stop. (e7000_wait): Cope with H8/300H, better handling of user interrupts. (why_stop, expect_n, sub2_from_pc): New function. * remote-utils.c (gr_load_image): call fflush and QUIT more regularly. * utils.c (notice_quit): New function for polling for user interrupts.
1993-12-11 * stabsread.c (read_array_type): Allow negative array bounds,Fred Fish4-8/+74
without interpreting that to mean "adjustable." * ch-valprint.c (chill_val_print): Handle RANGE types. * ch-typeprint.c (chill_type_print_base): Handle BOOL. Handle variant records. Handle RANGE types.
1993-12-08Change remite-e7000.c to remote-e7000.c.Ian Lance Taylor1-1/+1
1993-12-08TypoIan Lance Taylor1-1/+1
1993-12-08 * config/mips/idt.mt: Use tm-idt.h instead of tm-bigmips.h.Ian Lance Taylor6-2/+59
* config/mips/idtl.mt: Use tm-idtl.h instead of tm-mips.h. * config/mipos/tm-idt.h, config/mips/tm-idtl.h: New files; use different BREAKPOINT value for IDT.
1993-12-07 * mipsread.c: Include bfd.h and coff/sym.h.Ian Lance Taylor1-0/+4
1993-12-07set the other three terminal state pieces for systems that HAVE_SGTTYK. Richard Pixley2-0/+11
1993-12-06 * configure.in: Recognize mips* for all mips targets.Ian Lance Taylor2-11/+17
(mips*el-*-elf*, mips*-*-elf*): New targets; use idt and idtl.
1993-12-06 Added Irix 5 support.Ian Lance Taylor6-3637/+203
* configure.in (mips-sgi-irix5*): New host and target. Use irix5 for both. * config/mips/irix5.mh, config/mips/irix5.mt, config/mips/xm-irix5.h, config/mips/nm-irix5.h, config/mips/tm-irix5.h, irix5-nat.c: New files for Irix 5 support. * mdebugread.c: New file, split out of mipsread.c. Added elfmdebug_build_psymtabs routine. Added some checks on external symbols. Changed code to keep ecoff_debug_info and ecoff_debug_swap structs in the psymtab and in global pointers rather than retrieving them from the bfd. Also changed to keep the pending list with the psymtab rather than the objfile (each psymtab for a single objfile points to the same pending list). * mipsread.c: Bulk of file moved into mdebugread.c, leaving just the sym_fns. * Makefile.in (SFILES): Added mdebugread.c. (OBS): Added mdebugread.o. (mdebugread.o): New target. * symfile.h: Declare mdebug_build_psymtabs and elfmdebug_build_psymtabs. * elfread.c (struct elfinfo): Added mdebugsect field. (elf_locate_sections): Remember location of .mdebug section. (elf_symfile_read): Call elfmdebug_build_psymtabs on .mdebug section. * infrun.c (AT_FUNCTION_START): Set to 0 if not already defined. (wait_for_inferior): Use AT_FUNCTION_START if it is defined to see if PC is at the start of a function. * mips-tdep.c (read_next_frame_reg): Use SIGFRAME_REG_SIZE, and give it a default definition. (mips_skip_prologue): Skip instructions which initialize $gp register. (in_sigtramp): New procedure, moved in from mipsread.c. * config/mips/tm-mips.h: Declare in_sigtramp.
1993-12-06 * serial.h (serial_fdopen): Make parameter const to matchIan Lance Taylor1-1/+1
function definition.
1993-12-06New files for Irix 5 support.Ian Lance Taylor8-0/+4849
1993-12-06Unsnarl xref for h8 config (while making sure it still works for "all" config)Roland Pesch1-4/+7
1993-12-04Fix a few typos.John Gilmore1-0/+4
1993-12-03 * config/mips/irix4.mh: Enable ser-tcp.o.Stu Grossman1-1/+1
1993-12-02 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadwordJeff Law1-0/+14
stores. * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword stores. (fpu_short_memory_tests): Likewise.
1993-11-30 * Makefile.in (check): Do not use subdir_do, so thatIan Lance Taylor1-0/+5
TARGET_FLAGS_TO_PASS is used correctly.
1993-11-30 * i386-nlmstub.c: Undo I/O redirection changes by Tom Lord.Stu Grossman2-14/+19
These definitely won't work under Netware.
1993-11-29Modified Files:Kung Hsu2-1/+6
ChangeLog stabsread.c * stabsread.c(read_struct_field): Fix the check when getting to member functions. (fix pr4000).
1993-11-29 gcc -Wall -O lint:Ian Lance Taylor1-0/+10
* mips-tdep.c (heuristic_proc_desc): Initialize reg30 to avoid warning. Unnest comment. (init_extra_frame_info): Remove unused variable mask. (MASK): Fully parenthesize. (mips_push_dummy_frame): Remove unused variable val. (mips_skip_prologue): Remove unused variables f and b.