aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1993-12-30 * section.c (bfd_get_section_contents): Return zero filled bufferPeter Schauer2-27/+38
if section has no contents.
1993-12-30 * infrun.c (wait_for_inferior): Enable code which assumes that ifJim Kingdon2-10/+22
we jump into the prologue from another function, then it was a subroutine call. #if 0 AT_FUNCTION_START; the above code should take care of this case.
1993-12-30Revert last change. It loses.Jeff Law1-5/+0
1993-12-30 * valprint.c (val_print_string): Change chunksize from 200Jim Kingdon1-0/+3
to 8.
1993-12-29 * symfile.c (generic_load): If no arguments, get file nameJim Kingdon1-0/+3
from get_exec_file.
1993-12-29* write.h (struct fix): Field tc_fix_data should be type PTR, not void*, forKen Raeburn1-0/+6
compatibility with non-ANSI compilers. Added single-bit field "fx_done".
1993-12-29put a breakpoint in as_bad_where tooKen Raeburn1-0/+1
1993-12-29 * c-exp.y: Revert Kung's change. "..." is not a type, and theJim Kingdon3-4/+13
change caused "p (...)0" to dump core. * gdbtypes.c (check_stub_method): Don't pass "..." to parse_and_eval_type. This should fix the bug which Kung was trying to fix.
1993-12-29 * gas/hppa/more.parse/labelbug.s: Add more colonless labelJeff Law3-0/+48
tests.
1993-12-29 * app.c (do_scrub_next_char): Fix more bugs dealing withJeff Law2-6/+30
labels without colons (For HPPA and MRI).
1993-12-29 * stabsread.c (define_symbol): If we choose not to combineJim Kingdon2-9/+15
two symbols, don't just ignore the second (LOC_REGISTER) one. * printcmd.c (print_frame_args): If we have a LOC_ARG and a LOC_REGISTER, use the LOC_ARG not the LOC_REGISTER.
1993-12-29 * stabs.texinfo (Cross-References): `::' is for nested types onlyJim Kingdon2-2/+18
within <>. (Structures): Document static members.
1993-12-28 * solib.c (DEBUG_BASE): Remove macro and all references.Fred Fish1-0/+8
* solib.c (debug_base_symbols): Add array of symbols to lookup. * solib.c (IGNORE_FIRST_LINK_MAP_ENTRY): Add macro. * solib.c (look_for_base, locate_base): Use debug_base_symbols. * solib.c (find_solib): Use IGNORE_FIRST_LINK_MAP_ENTRY.
1993-12-28CVS:Kung Hsu2-0/+5
Modified Files: ChangeLog c-exp.y * c-exp.y : fix grammar to parse ellipsis (...) (fix pr4218)
1993-12-28 * elf.c (bfd_elf_generic_reloc): If this is not an inplace reloc,Ian Lance Taylor2-21/+21
then skip bfd_perform_relocation even if the addend is non-zero.
1993-12-28Modified Files:Kung Hsu2-2/+12
ChangeLog stabsread.c * stabsread.c (read_type): fix problem when reading static member of a class. caused by change to allow :: inside template instantiated name.
1993-12-27 * config/i386-linux.mt: delete ".sh" from genscripts argumentMark Eichin1-1/+1
(change made to genscripts on July 21...) This is all it took for linux-native ld to build. It isn't necessarily useful, particularly as gcc is still configured to pass -m486 and -dll-verbose, which this ld doesn't parse...
1993-12-27* stabs.texinfo: Document S type attribute.Jim Kingdon2-4/+21
1993-12-27 * gdbtypes.h: Expand on comments for TYPE_CODE_BITSTRING andJim Kingdon2-2/+13
TYPE_CODE_STRING a bit.
1993-12-27 * m68k-tdep.c (m68k_skip_prologue, m68k_find_saved_regs):Jim Kingdon1-0/+4
Allow pea %fp; move.l %sp, %fp instead of link instruction to set up the new frame.
1993-12-27 * main.c (init_main): Change "set remotedebug" back to var_zintegerJim Kingdon2-5/+81
from var_boolean.
1993-12-27 * minsyms.c (prim_record_minimal_symbol): CallJim Kingdon1-1/+2
prim_record_minimal_symbol_and_info rather than duplicating code.
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-26Making HPPA assembler case sensitive where it should be, and speeding it upTorbjorn Granlund1-0/+19
a factor of 2.
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-26No longer needed.Jeff Law1-17/+0
1993-12-26 * configure.in: Nuke hacks which were used to get a specialJeff Law1-11/+0
version of GAS for HPPA configurations.
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-23Various entries.Ian Lance Taylor1-0/+38
1993-12-23 gcc -Wall lint:Ian Lance Taylor1-94/+90
* ar.c (main): Put parens around assignment used as truth value. * objdump.c (display_bfd): Declare return value as void. (stab_print): Use "" instead of 0 to initialize array. (dump_stabs_1): Print vma using printf_vma. (display_info): Put parens around assignment used as truth value. * strings.c (print_strings): Cast printf arguments.
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-21Add TODO list item from observing Solaris assembler.Ken Raeburn1-0/+6
1993-12-21changes so farKen Raeburn1-0/+20