aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
1992-11-18Wed Nov 18 15:05:45 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+5
* remote-vx.c (vx_kill): just warn if we can't contact the board, and assume the process has been killed.
1992-11-18Oops! Forgot to check in ChangeLog.Stu Grossman1-0/+14
1992-11-18 * language.h (language_format_info): New structure to bundleFred Fish1-0/+29
local formatting information. * language.h (language_defn): Replace individual format info with language_format_info structs. * language.h (local_*_format, local_*_format_prefix, local_*_format_specifier, local_*_format_suffix): New macros for binary/octal/decimal/hex formats to access info elements. * c-exp.y (c_language_defn): Update for new format handling. * m2-exp.y (m2_language_defn): Update for new format handling. * dbxread.c (language.h): Include for partial-stab.h use. * defs.h (local_hex_format, local_hex_format_custom, local_hex_string, local_hex_string_custom): Move to language.h. * language.c (local_hex_format_custom, local_hex_string, local_hex_string_custom, local_octal_format_custom): Use new format handling. * language.c (unknown_language_defn, auto_language_defn, local_language_defn): Update for new format handling. * printcmd.c (print_scalar_formatted): Use new macros to access decimal and binary format info for printing. **** start-sanitize-chill **** * c-exp.y (chill_language_defn): Update for new format handling. * ch-exp.y (CHARACTER_LITERAL): Add support to yylex. * ch-exp.y (match_integer_literal): Add function. * ch-exp.y (builtin_type_chill_char): Add definition. * gdbtypes.h (builtin_type_chill_char): Add declaration. **** end-sanitize-chill ****
1992-11-17Tue Nov 17 11:17:06 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+29
* tm-rs6000.h (BELIEVE_PCC_PROMOTION): Define, since AIX cc gets it right. (aix_framedata): added nosavedpc field. (SAVED_PC_AFTER_CALL): Don't try to optimize; just call read_register. (FRAMELESS_FUNCTION_INVOCATION): Pass second argument of 0. (FRAME_SAVED_PC): If PC not saved, use SAVED_PC_AFTER_CALL. * rs6000-tdep.c (skip_prologue): Handle gcc generated stfd instructions as function_frame_info does. Expand special case of st r31,-4(r1) to be st r31,NUM(r1), since gcc can generate offsets other than -4. (pop_frame): Add 4 rather than sizeof (int) to avoid host dependence. (function_frame_info): Set frameless if the function has no frame, and set nosavedpc if the PC was not saved. Handle gcc generated stfd 31,-4(31); st 31, -12(31) correctly. (frameless_function_invocation): New second argument pcsaved; if 0 return whether the function has a frame, if 1 return whether the function saved PC. (frame_initial_stack_address): Correct typo: cache registers for callee_fi, not for fi, (avoids reading garbage memory locations).
1992-11-16* symtab.c (find_pc_line): Improve code per gnu's suggestions.Stu Grossman1-0/+5
Improve comments as well.
1992-11-16First cut at sanitizing away the chill stuff.Fred Fish1-24/+26
1992-11-15 * Makefile.in (VERSION): Bump to 4.7.2Fred Fish1-0/+3
* symtab.c (find_pc_symtab): Fix return of random value to caller.
1992-11-15 * Makefile.in (SFILES_MAINDIR): Add ch-exp.y.Fred Fish1-0/+65
* Makefile.in (YYFILES): Add ch-exp.tab.c. * Makefile.in (YYOBJ): Add ch-exp.tab.o. * Makefile.in (saber_gdb): Add unload of ch-exp.y and load of ch-exp.tab.c. * Makefile.in (distclean): Add target ch-exp.tab.c. * Makefile.in (realclean): Add rm of ch-exp.tab.c. * Makefile.in (c-exp.tab.c, m2-exp.tab.c): Add dependency on Makefile since it contains sed patterns used in generation. Add sed pattern to also delete #include of any malloc.h. * Makefile.in (ch-exp.tab.o, ch-exp.tab.c): New targets. * ch-exp.y: New expression parser, for GNU-Chill. * c-exp.y, expr.c, expression.h, language.c, m2-exp.y, parser-defs.h, valarith.c, valops.c, value.h: Remap macros and function names to conform to K&R terminology with respect to logical and bitwise operators: UNOP_ZEROP => UNOP_LOGICAL_NOT UNOP_LOGNOT => UNOP_COMPLEMENT BINOP_LOGAND => BINOP_BITWISE_AND BINOP_LOGXOR => BINOP_BITWISE_XOR BINOP_LOGIOR => BINOP_BITWISE_IOR BINOP_AND => BINOP_LOGICAL_AND BINOP_OR => BINOP_LOGICAL_OR PREC_OR => PREC_LOGICAL_OR PREC_AND => PREC_LOGICAL_AND PREC_LOGIOR => PREC_BITWISE_IOR PREC_LOGXOR => PREC_BITWISE_XOR PREC_LOGAND => PREC_BITWISE_AND value_zerop() => value_logical_not() value_lognot() => value_complement() * c-exp.y (c_op_print_tab): Add explicit empty terminator. * m2-exp.y (m2_op_print_tab): Add explicit empty terminator. * defs.h (enum language): Add language_chill. * dwarfread.c (set_cu_language): Add LANG_CHILL case and make LANG_MODULA2 a recognized language. * eval.c (evaluate_subexp): Add OP_BOOL case. * expprint.c (print_subexp): Add OP_BOOL case. * gdbtypes.h (enum_typecode): Note TYPE_CODE_BOOL used for Chill as well as Modula-2. * gdbtypes.y (builtin_type_chill_bool, builtin_type_chill_long, builtin_type_chill_ulong, builtin_type_chill_real): Add. * i387-tdep.c (sys/dir.h): Remove, appears to be unnecessary and is nonexistant in some SVR4 based systems. * language.c (DEFAULT_ALLOCSIZE): Change from 3 => 4. * language.c (set_language_command): Add chill. * language.c (binop_result_type, integral_type, character_type, boolean_type, structured_type, value_true, binop_type_check): Add language_chill cases. * language.h (_LANG_chill): Define. * m2-exp.y (number_sign, modblock): Make static, #ifdef out unused modblock. * m2-exp.y (ANDAND): Rename to LOGICAL_AND. * source.c (source_info): Fix minor nits, print "1 line" rather than "1 lines", and "language is <lang>". * symfile.c (deduce_language_from_filename): Recognize the filename extensions ".chill", ".c186", and ".c286" for Chill. * valarith.c (value_binop): Handle TYPE_CODE_BOOL as well as TYPE_CODE_INT and TYPE_CODE_FLOAT. * valprint.c (val_print): Print TYPE_CODE_BOOL type values as "TRUE" or "FALSE". * valprint.c (typedef_print): Add case for language_chill. * values.c (value_from_longest): Handle TYPE_CODE_BOOL.
1992-11-14* infcmd.c (step_over_calls): Improve comments.Stu Grossman1-0/+9
* symtab.c (find_pc_psymtab): Clean up a bit. * (find_pc_symtab): Fix comments, clean up code. * (find_pc_line): General cleanups, efficiency improvements. Also, don't return garbage when some line info exists, but there was no good match.
1992-11-12* Makefile.in: Remove dependancies for 29k-share/dfe/yank.o andStu Grossman1-0/+30
29k-share/dfe/mini2udi.o. * config/a29k-udi.mt: Remove yank.o and mini2udi.o. * alldeps.mak, depend: Update to deal with removal of aforementioned files. * remote-udi.c: Major cleanups. Clean up udi_open and drop requirement for useless 'program' argument. Clean up udi_create_inferior, and udi_load to call common download() routine. Create download routine to load remote hosts directly (with the help of BFD) so that we don't need yank.c and mini2udi.c. Fix udi_detach to call UDIDisconnect with the right arguments. Clean up udi_resume, don't assign tip_error twice. Clean up udi_wait, straighten out status codes. Make udi_kill really work.
1992-11-06Fix problems noticed by Allan Steel, <allan@maths.su.oz.au>,John Gilmore1-0/+13
when debugging a program with 100 shared libraries. * solib.c (solib_map_sections): Always close the BFD we open. Free all malloc'd storage we allocate, too, including error cases. (struct so_list): Remove unused so_bfd member. (clear_solib): Don't bother closing so_bfd. * symfile.c (symfile_bfd_open): Mark newly opened BFD as cacheable. `So many symbol files, so little file descriptors.'
1992-11-06* m68k-stub.c: Remove ansidecl.h and the few uses of it.John Gilmore1-0/+12
Stubs should stand alone as much as possible. * source.c (show_directories): Avoid printf_filtered length prob pointed out by Jonathan Stone. * i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper limit properly to avoid accesses beyond end of table. Fix by Lee W. Cooprider, <Lee_Cooprider@vos.stratus.com>.
1992-11-06 * {ser-bsd.c, ser-termios.c} (serial_close): Pass address ofFred Fish1-0/+7
struct, not struct itself. * serial.h (serial_restore): Fix prototype, takes pointer not struct.
1992-11-06* Makefile.in (depend): Add nm.h to the list of things to fixup.Stu Grossman1-0/+5
* depend: Redo, to fixup nm.h problems with *-tab.c files.
1992-11-05Re-install UDI comments.Stu Grossman1-5/+114
1992-11-05* i386-stub.c: Remove ansidecl.h and the few uses of it.John Gilmore1-0/+3
Stubs should stand alone as much as possible.
1992-11-05* README: Add remote-es1800.c and remote-st2000.c to table.John Gilmore1-0/+11
* go32-nat.c: Remove, there is no native go32 support. * go32-xdep.c: Remove unused fork, fvork, wait, execlp, kill_inferior. * infcmd.c (run_command): Avoid long calls to printf_filtered. Bug fix courtesy of Alexander Klaiber.
1992-11-05* inflow.c (pass_signal, set_sigint_trap, clear_sigint_trap): AddStu Grossman1-0/+6
new routines to deal with sending SIGINTs to attached processes when the user interrupts the controlling GDB. * inftarg.c (child_wait), procfs.c (procfs_wait): Add calls to the aforementioned routines when waiting for the attached process.
1992-11-04* elfread.c, mipsread.c: Include <string.h>.Stu Grossman1-0/+6
* i386-stub.c: Include "ansidecl.h" to deal with prototypes. * serial.h: Add prototype for serial_restore().
1992-11-04Wed Nov 4 11:13:25 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+7
* minsyms.c (lookup_minimal_symbol_by_pc): subtract 1, not 2, from minimal_symbol_count, because the NULL symbol is not included in the count. This prevented this function from finding the last symbol in the table.
1992-11-03Tue Nov 3 11:29:17 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-1/+7
* dbxread.c (process_one_symbol): if not defined (BLOCK_ADDRESS_FUNCTION_RELATIVE), set function_start_offset at the start of the function, not just after N_FUN.
1992-10-31 * Makefile.in (c-exp.tab.c, m2-exp.tab.c): Add sed patterns toFred Fish1-0/+8
remap all malloc's to xmalloc's and all realloc's to xrealloc's. * c-exp.y, m2-exp.y: Add comment about how malloc/realloc are remapped to xmalloc/xrealloc, use only malloc/realloc in grammer file. Remove preprocessor defines that previously did remapping.
1992-10-28hp300 native supportK. Richard Pixley1-0/+17
1992-10-28vax native supportK. Richard Pixley1-0/+10
1992-10-28add new nm files to HFILESK. Richard Pixley1-0/+1
1992-10-28apollo native supportK. Richard Pixley1-0/+10
1992-10-28include nm.h in defs.hK. Richard Pixley1-0/+7
1992-10-23* Makefile.in (VERSION): 4.7.1 post release!Stu Grossman1-0/+2
1992-10-23* config/hppahpux.mh (NATDEPFILES): Add hppah-nat.o.Stu Grossman1-114/+9
1992-10-23* Makefile.in (VERSION): gdb-4.7 release.John Gilmore1-0/+5
* README: Update for gdb-4.7.
1992-10-23* sparc-tdep.c: include nm.h (for now) so that we get USE_PROC_FSStu Grossman1-0/+3
when necessary.
1992-10-22 * alldeps.mak, depend: Update.Stu Grossman1-0/+4
1992-10-22* partial-stab.h ('f', 'F'): Don't reference pst->textlow if pstJohn Gilmore1-0/+10
is null. * tm-sun4sol2.h (PROLOGUE_FIRSTLINE_OVERLAP): Remove -- it causes problems in setting breakpoint in the right place in functions with `float' args which are passed as doubles. * xm-vaxbsd.h (MEM_FNS_DECLARED): Avoid erroneous redecl's. * config/rs6000.mh (NATDEPFILES): Add corelow.o.
1992-10-22* Makefile.in (HFILES): Add nm-i386sco.h.Stu Grossman1-0/+9
* dwarfread.c: include <sys/types.h> for SCO. * infptrace.c: Don't include ptrace.h under SCO. * config/i386sco.mh: Use -D_POSIX_SOURCE instead of -posix for gcc. * config/i386v.mt: Add exec.o to TDEPFILES.
1992-10-22 * i386v-nat.c: Remove space from front of #endif.Stu Grossman1-0/+15
* irix4-nat.c: Remove externs of registers[], include inferior.h instead. * mips-nat.c: Explicitly initialize zerobuf to 0! * mips-tdep.c (init_extra_frame_info): Undo John's last change. Always setup fci->frame, even if it's non-zero. Too many places depend upon this behavior (and I have to get a release out the door)! * mipsread.c (parse_partial_symbols, psymtab_to_symtab_1): Set processing_gcc_compilation if we find the embedded stabs marker. This fixes several bugs with finding the location of short or char function parameters passed on the stack.
1992-10-22sun4sol2 native stuffK. Richard Pixley1-0/+11
1992-10-21* coredep.c: Include "nm.h" to get REGISTER_U_ADDR.John Gilmore1-0/+3
1992-10-21* Makefile.in (VERSION): Tick to 4.6.9.John Gilmore1-0/+18
* mipsread.c (UNSAFE_DATA_ADDR): Remove MIPS-host-specific definition, replace with portable one. * remote-nindy.c: Lint. (nindy_wait): Return type is int, result is inferior_pid. * symmisc.c (dump_psymtab): Only print section_offsets if set. (initialize_symmisc): Remove empty function. * tm-spc-noun.h, tm-sun4os4.h, tm-sun4sol2.h (STACK_END_ADDRESS): Remove obsolete, misspelled macro. * doc/gdbint.texinfo: Document obsolete STACK_END_ADDR. (all @node commands): Use new form to avoid nitpicking errors. * doc/gdbint.texinfo: Document host/native/target split.
1992-10-21* mips-nat.c (zerobuf): Get rid of const to avoid gcc warnings.Stu Grossman1-0/+2
1992-10-21* xm-mips.h (offsetof): Don't define this if __STDC__.Stu Grossman1-0/+4
1992-10-21umax native supportK. Richard Pixley1-0/+11
1992-10-21hppa native supportK. Richard Pixley1-0/+16
1992-10-20 * mips-nat.c: Straighten out include files. Work aroundStu Grossman1-0/+6
conflicting defs of JB_xxx syms in <setjmp.h> and <machine/pcb.h> for Ultrix-4.2.
1992-10-20 * mips-nat.c (fetch_core_registers, register_addr): Copy fromStu Grossman1-0/+8
coredep.c, but zero out FP_REGNUM & ZERO_REGNUM so that stack backtraces from core files work. * config/decstation.mh, config/irix3.mh: Remove coredep.o. Functions are now defined in mips-nat.c.
1992-10-20* remote-hms.c: Disable all uses of serial_nextbaudrate andStu Grossman1-0/+3
serial_default_name().
1992-10-19* remote-hms.c, ser-go32.c, serial.h: Change fromStu Grossman1-0/+3
serial_timedreadchar() to new serial_readchar().
1992-10-19* Makefile.in (HFILES): Fixup list of nm-*.h files. Add missing ones.Stu Grossman1-0/+4
1992-10-19 * c-exp.y: Moved handling of 'const' and 'volatile' fromPer Bothner1-0/+5
<type> to <typebase>. This removes 2 conflicts.
1992-10-18 * breakpoint.c (breakpoint_re_set_one): Don't delete watchpointsFred Fish1-0/+5
from breakpoint table when reseting breakpoints.
1992-10-17 Native support cleanup and corefile fixes for i386 SVR4 systems.Fred Fish1-0/+11
* i386-tdep.c (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Moved to i386v4-nat.c * i386v4-nat.c, nm-i386v4.h, : New files. * i386sol2.mh, i386v4.mh, ncr3000.mh (NAT_FILE): Use nm-i386v4.h. * i386sol2.mh, i386v4.mh, ncr3000.mh (NATDEPFILES): Add corelow.o, change i386v-nat.o to i386v4-nat.o.