aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1992-05-06formatting improvements (already in progressive)Roland Pesch1-10/+12
1992-05-05Fix typo in M4 macro name (prevented TeX formatting).Roland Pesch1-1/+1
1992-05-05gm4 -> m4K. Richard Pixley2-1/+5
1992-05-05 * Makefile.in (DEMANGLER): Define and default to cplus-dem.Fred Fish7-137/+195
Allows selection of C++ demangler to be a configuration option until multiple demanglers are supported. * demangle.h: New include file for extended demangler support. * breakpoint.c, gdbtypes.c, printcmd.c, stack.c, symtab.c, utils.c, valprint.c: Include "demangle.h" and change all calls to cplus_demangle() or fputs_demangled() to use individual demangling options. * valprint.c (type_print_1): Change options to cplus_demangle to print demangled function args. Still broken, but now less so. * cplus-dem.c: Include demangle.h, reorganize and update some comments to reflect reality. * cplus-dem.c (cplus_demangle, cplus_mangle_opname): Change second arg from fixed integer to bit based multiple options. * cplus-dem.c (optable): Reformat and replace ansi members with bit based options. * cplus-dem.c (do_type): Fix bug with parsing missing return type.
1992-05-05* values.c (set_internalvar): Force evaluation of lazy values.John Gilmore2-0/+10
Bug reported by RMS.
1992-05-03Remove entries for signame.c and signame.h, files that went away someFred Fish1-2/+0
time ago...
1992-05-03 * config/ncr3000.mt: New target config file.Fred Fish2-0/+12
1992-05-03 * Makefile.in (VERSION): Bump to 4.5.2.Fred Fish6-19/+92
* Makefile.in (DEMANGLE_OPTS): Add, default to -Dnounderscore. * configure.in: Simplify ncr3000 gdb_host logic, add gdb_target. * dwarfread.c (struct_type): Apply fix from Peggy Fieland for proper handling of bit fields. * gdbtypes.h (struct type): Clarify use of field.bitpos. * symtab.h: Fix couple of misspellings in comments. * value.h (struct value): Clarify use of bitpos. * value.h (unpack_field_as_long): Change prototype, returns LONGEST. * values.c (unpack_field_as_long): Change return type to LONGEST, sign extend unpacked fields that are signed, other rewriting. * config/ncr3000.mt: New target config file.
1992-05-01One more try...John Gilmore2-10/+2
1992-05-01* utils.c (printchar): Print 0x7F and 0x80-0x9F in \nnn notationJohn Gilmore2-1/+16
even when printing 8-bit characters.
1992-05-01* gdbtypes.c (make_{reference,pointer,function}_type): NewJohn Gilmore6-183/+254
functions which handle overwriting of forward-referenced types for stabs file reading. (lookup_{reference,pointer,function}_type): These just call the make_*_type functions with a null storage alloc parameter. * gdbtypes.h (make_{reference,pointer,function}_type): Declare. * xcoffread.c (smash_to_pointer_type): Remove, no longer used. * buildsym.c (dbx_lookup_type): Zero result for (-1,-1) arg. (dbx_alloc_type): Make it easier to understand. No funct change. (define_symbol: 't'): Don't put the typedef name into the name of the struct, union, or enum. Bugfix. (read_type: '*', '&', 'f'): Add comments. Use make_XXX_type routines to properly handle overwriting preallocated types so that forward references will work. (read_enum_type): Force enum values to file scope, due to bug in Sun compiler output. FIXME, fix later. Remove unused header_file_prev_index mechanism. It was already obsolete in gdb-3.5. These comments appeared in 3.5: /* This code was used before I knew about the instance codes. My first hypothesis is that it is not necessary now that instance codes are handled. */ * dbxread.c (add_new_header_file): Remove header_file_prev_index. * buildsym.h: Remove it and prev_index that saves it. * buildsym.c (push_subfile, pop_subfile, start_symtab): Remove it. * solib.c (special_symbol_handling): When called from core files, must set up debug_addr. Don't print error messages, just return. * symmisc.c (print_symbol): Less ascii diarrhea for enums, please.
1992-04-29Various fixes to cplus_demangle(); see ChangeLog.Per Bothner2-57/+105
1992-04-24* Makefile.in (make-proto-gdb-1): 1st cut at packagingStu Grossman2-2/+7
29k-share/* subdirs...
1992-04-24* remote-udi.c (udi_insert/remove_breakpoint): CompletelyStu Grossman2-45/+37
rewrite, only leave out the bugs.
1992-04-2429k/UDI add stragglers.Stu Grossman1-0/+1
1992-04-24* Makefile.in: Add 29k/UDI support. Improve depend.Stu Grossman6-12/+71
* .Sanitize, alldeps.mak, configure.in, depend: Add 29k/UDI support.
1992-04-24* am29k-tdep.c: Update to use new calling conventions, and miscStu Grossman2-5/+8
symbol elements.
1992-04-24* m68k-pinsn.c (print_insn_arg): Make branch offsets be signed.Stu Grossman2-1/+5
1992-04-24* tm-29k.h: Set DECR_PC_AFTER_BREAK to 0, as 29ks have niceStu Grossman2-1/+4
breakpoint instructions that leave PC pointing at the right place.
1992-04-2429K/UDI remote debugger interface.Stu Grossman1-0/+1346
1992-04-24More files for 29k/UDI.Stu Grossman1-0/+55
1992-04-24Call warning() to print warnings, which deals properly with leading andFred Fish2-5/+9
trailing newlines, as well as presenting a consistent prefix for warnings (IE "warning: ").
1992-04-22Replace MINUS_G with CFLAGS.Fred Fish1-1/+1
1992-04-22Finish MINUS_G eradication.Fred Fish1-1/+1
1992-04-22Add config target for 29k/UDI.Stu Grossman2-0/+6
1992-04-22Add lotsa files for 29k UDI debugger interface support.Stu Grossman11-0/+2403
1992-04-22* symtab.c (lookup_symbol): Need to check if msymbol->name isStu Grossman2-430/+353
NULL, as ALL_MSYMBOLS will never return a NULL msymbol pointer. This prevents a crash when trying to lookup the value of a non-existent symbol.
1992-04-22Remove now obsolete signame.c and signame.h; functionality is handled byFred Fish16-477/+193
libiberty/strsignal.c. Widespread changes to use libiberty/strerror.c functions for errno manipulations and libiberty/strsignal.c for signo (signals) manipulations.
1992-04-21Makefile.in: rework CFLAGS so that they can be set from the commandK. Richard Pixley2-63/+49
line to make. CFLAGS -> INTERNAL_CFLAGS. USER_CFLAGS -> CFLAGS. Remove MINUS_G. Default CFLAGS to -g. Pass CFLAGS on recusions.
1992-04-18Back out of TYPE_FLAG_FUND_TYPE change, solve the problem in valprint.c byFred Fish5-88/+152
just printing the type name from the type if it is not otherwise handled. Implement new handling of the ".syms" file for reusable symbol files.
1992-04-17* sun3-xdep.c (fetch_core_registers): Lint.John Gilmore3-2/+12
* tm-sun3.h: Prototype lint. * value.h: Typo.
1992-04-17Fix to dwarfread.c to target pointer and target long sizes, fixes forFred Fish6-26/+104
mapped symbol file handling, and a couple of other misc small fixes.
1992-04-17 * rs6000-pinsn.c: New version from IBM (Metin).Per Bothner3-9/+21
* m2-exp.y: Re-write string initializers ("<>" => {'<', '>'}) to avoid warnings from some compilers.
1992-04-15Add TYPE_FLAG_FUND_TYPE bit to the flags member of the type structure,Fred Fish7-166/+192
and use it to decide when to print the actual type name rather than trying to invent the name of a fundamental type. This clears up the confusion between int/long when they are the same sizes, removes one obstacle to multi-language support (previously valprint.c thought everything was a C type), and allows gdb to support distinctions between explicitly and implicitly signed types when the compiler supports such distinction in the debug output (as does every ANSI compiler I tested except for gcc).
1992-04-14* remote-vx.c, vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,Stu Grossman4-213/+83
vx-share/xdr_rdb.h: Update for new remote protocol under VxWorks 5.0.2.
1992-04-14Extensive changes to replace swapin() function with target_to_host()Fred Fish2-347/+544
and fix all usages to be independent of host/target integer size mismatches. However, cross debugging will still not work until the sign extension issue is resolved either by fixing the bfd library or implementing sign extension in the gdb code.
1992-04-13Revised -mapped description.John Gilmore2-1/+5
1992-04-12 * mipsread.c (parse_partial_symbols): Complain when sh->index isJohn Gilmore2-605/+711
too high or when skipping `forwards' moves us backwards. (parse_type): Print mis-guessed tag name in complaint. (parse_external): Eliminate cur_stab and obscure top_stack clobbers. (parse_procedure): Do not attempt to create symbols; just fill in the SYMBOL_VALUE field of a .gdbinfo. symbol if we can find one. (psymtab_to_symtab_1): Split up `stabs' from `native ecoff' code for clarity. Set top_stack before calling parse_external. In stabs, sort symbols before calling parse_procedure. * mipsread.c: Lint. * symmisc.c (std_in, std_out, std_err): Add vars to access std FILE *'s when debugging GDB (e.g. as args to dump_symtab). * Makefile.in: Remove stage* targets. Avoid echo on recursive makes. Eliminate doc/Makefile from tar.Z file if doc/Makefile.in exists. * mipsread.c: Cleanup. Add more complaints for unhandled cases. Remove new symbol types and such to ../include/coff/symconst.h. (parse_symbol): Simplify code for parsing struct/enum/unions. (parse_type): Handle `long long' types. (upgrade_type): Handle `const' qualifier. (parse_partial_symbols): fix indentation, clean a bit.
1992-04-11Set devo VERSION to 4.5.1 to avoid confuzzion with the released version.John Gilmore2-1/+8
1992-04-11* xcoffread.c (NO_TYPEDEFS): Fix typo in commented-out #define.John Gilmore2-1/+7
* sparc-tdep.c (supply_gregset, fill_gregset, supply_fpregset, fill_gregset): New functions for SVR4 /proc support.
1992-04-11Add swapin() function, and SWAPIN macro that calls it, to do byte swappingFred Fish2-75/+132
copies using appropriate bfd routines.
1992-04-11Recognize new ncr3000 config.Fred Fish2-0/+13
1992-04-11New configuration file for ncr 3000.Fred Fish2-0/+37
1992-04-11* gdb.texinfo: Update for GDB-4.5. Move `FormattingJohn Gilmore2-120/+152
Documentation' ahead of `Installing GDB' to match README. Update shared library doc, -readnow and -mapped, and directory structure (add glob and mmalloc). Update configure doc.
1992-04-10alldeps.mak and depend once again!Stu Grossman2-426/+381
1992-04-10* Makefile.in: Update version to 4.5.Stu Grossman2-0/+93
* WHATS.NEW: The obvious.
1992-04-10One more time...Stu Grossman1-308/+328
1992-04-10* depend: Generate new depend file for this release.Stu Grossman1-0/+2
1992-04-10* Makefile.in (depend): Fix dependancy generation so that it doesStu Grossman2-1/+7
not include gcc 'fixincluded' files, which are usually in a system specific location.
1992-04-09buildsym.c: Fix parameter mis-match.Per Bothner2-1/+9
Check in ChangeLog (forgotten last night).