aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-02-03 * valarith.c (value_binop): Figure out type ourself based onJim Kingdon1-4/+3
sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The point is that we don't depend on CC_HAS_LONG_LONG anymore.
1994-02-03 * language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: RemoveJim Kingdon2-8/+2
longest_int and longest_unsigned_int.
1994-02-03 * printcmd.c (decode_format): Don't blithely set the size forJim Kingdon8-60/+148
an address to 'w'. Make it 'g' or 'h', depending on TARGET_PTR_BIT. * defs.h: Just typedef CORE_ADDR to bfd_vma. Include bfd.h. If BFD64, make a LONGEST a BFD_HOST_64_BIT. * defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead always just check against INT_MIN and INT_MAX (this also fixes things if sizeof (long) > sizeof (int), e.g. Alpha). * config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h: Don't define LONGEST or BUILTIN_TYPE_LONGEST. * gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and BUILTIN_TYPE_UNSIGNED_LONGEST. * language.h, c-lang.c, ch-lang.c, m2-lang.c: Remove longest_int and longest_unsigned_int. * value.h (struct value): Just align to LONGEST, rather than worrying about CC_HAS_LONG_LONG. * valarith.c (value_binop, _initialize_valarith): Figure out type ourself based on sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The point is that we don't depend on CC_HAS_LONG_LONG anymore. * valprint.c (val_print_type_code_int): Just call extract_unsigned_integer directly, rather than going through unpack_long. * printcmd.c (decode_format): Remove code which would sometimes change 'g' size to 'w' for integers. print_scalar_formatted handles printing huge integers well enough, thank you.
1994-02-02 * command.c (add_set_cmd, no_just_help_class_command): ChangeJim Kingdon3-23/+20
to make this the sfunc, not cfunc, since that is how we call it. * command.h: Comment difference between sfunc and cfunc. * demangle.c (set_demangling_command): Add third arg since that is how it is called. (_initialize_demangler): Use sfunc, not cfunc, for set_demangling_command, since that is how it is called. Remove show_demangling_command; it has no effect.
1994-02-02 * command.c (shell_escape): Report errors correctly (with errorJim Kingdon2-2/+9
message from strerror).
1994-02-02 * xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to useIan Lance Taylor2-1/+7
x_scnlen.l rather than x_scnlen to match corresponding change in coff/internal.h.
1994-02-02 * gdbtypes.h, ch-typeprint.c, ch-valprint.c:Jim Kingdon8-74/+50
Change comments regarding TYPE_CODE_BOOL. * language.c (boolean_type): Always return 1 for TYPE_CODE_BOOL, regardless of the language. (value_true): Just call value_logical_not regardless of language. * coffread.c (coff_read_enum_type), stabsread.c (read_enum_type): Remove #if 0'd code which makes some enums TYPE_CODE_BOOL. * language.h: Improve comment for la_builtin_type_vector. * m2-lang.c (_initialize_m2_language): Don't add any fields to builtin_type_m2_bool.
1994-02-02 * stabs.texinfo (Negative Type Numbers): Document format for typeJim Kingdon2-3/+8
-16.
1994-02-01 * config/m88k/{tm-delta88.h,tm-delta88v4.h}, m88k-tdep.c:Jim Kingdon4-0/+21
Define IN_SIGTRAMP and backtrace correctly through signal handlers.
1994-02-01Tue Feb 1 22:13:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)Jim Kingdon2-3/+11
* procfs.c (wait_fd): Handle EINTR error return from PIOCWSTOP ioctl by restarting the ioctl.
1994-02-01 * target.h (target_wait): Add comment about callingJim Kingdon1-0/+5
return_to_top_level.
1994-02-01 * coffread.c (read_one_sym): bfd_coff_swap_aux_in now takesIan Lance Taylor3-6/+13
additional arguments. * xcoffread.c (read_xcoff_symtab, read_symbol_lineno): Likewise.
1994-02-01 * sparc-stub.c: Remove unnecessary #include of memory.h.Stu Grossman2-1/+4
1994-01-31 * mips-tdep.c: Remove code which sets saved_regs fromJim Kingdon2-3/+13
init_extra_frame_info and put it in new function mips_find_saved_regs. (READ_FRAME_REG): Remove macro and replace uses with the expansion. * mips-tdep.c, config/mips/tm-mips.h: When examining ->saved_regs, check if it is NULL and call mips_find_saved_regs if so.
1994-01-31 * gdb.t24/demangle.exp: Remove a bunch of tests which differ onlyJim Kingdon1-0/+4
in the names. The main thing these accomplish is to slow things down. Many more such duplicates surely remain.
1994-01-31 * gdb.t00/help.exp: Comment out "help support" test just likeJim Kingdon1-0/+5
(and for same reason as) "help set" test.
1994-01-31* remote-mips.c: Use unfiltered, not filtered, output most places.Jim Kingdon2-15/+41
1994-01-31 * blockframe.c (get_prev_frame_info): Detect and stop an infiniteJim Kingdon1-0/+5
backtrace. Revise comments.
1994-01-31 * mdebugread.c (parse_procedure): Remove _sigtramp kludges forPeter Schauer4-30/+54
alpha and irix. The _sigtramp case has to be handled properly in the tdep files if we have no ecoff debugging info. * alpha-tdep.c (alpha_frame_saved_pc, alpha_frame_chain), mips-tdep.c (mips_frame_saved_pc): Handle signal handler frames without PC_REGNUM kludge. * mdebugread.c (fixup_sigtramp), mips-tdep.c (read_next_frame_reg): Clean up handling of mips sigtramp frames, improve comments.
1994-01-31Fix typo in ChangeLog entry.Fred Fish1-1/+1
1994-01-31 * gdb.t06/break.exp: Remove setup_xfails forFred Fish1-0/+14
sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb. * gdb.t20/inherit.exp (test_ptype_si): Update warning message about known bug in gcc to include up through 2.5.8. * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as well as "_vb$". * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions): Remove setup_xfails for sparc-sun-solaris2.*, these tests no pass with latest gcc and gdb. * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as well as "_vb$".
1994-01-30 * configure.in (hppa*-*-*): Also configure and build stabs-onlyJeff Law2-0/+6
tests.
1994-01-30 * paread.c (read_unwind_info)Jeff Law2-13/+21
* paread.c (pa_symtab_read): Update the "check_strange_names" filter to match GCC's current output. Filter out section symbols (which the HP linker sometimes puts in the wrong place).
1994-01-29 * serial.h (SERIAL_SET_TTY_STATE): Comment return value.Jim Kingdon3-190/+64
* remote-es.c: Extensive changes to update to current conventions.
1994-01-29 * Makefile.in (TAGS): Just echo one line, rather than the whole thing.Jim Kingdon1-0/+8
* Makefile.in: Remove all references to sparcly-nat.c. * Makefile.in (HFILES_NO_SRCDIR): Include dcache.h remote-utils.h remote-sim.h directly, rather than via $(remote_utils_h). This avoids duplicating serial.h and target.h. * Makefile.in: Don't set M_INSTALL and M_UNINSTALL. These variables are not used anywhere (a 5 Oct 1993 change removed the uses).
1994-01-29 * Makefile.in: Don't set M_INSTALL and M_UNINSTALL. These variablesJim Kingdon2-3/+3
are not used anywhere (a 5 Oct 1993 change removed the uses).
1994-01-29 * config/m68k/monitor.mt (TDEPFILE): Add remote-es.o.Jim Kingdon3-0/+15
* config/m68k/es1800.mt: Add comment. * remote-es.c: Comment out entire file until it can be fixed.
1994-01-29 * ser-unix.c (wait_for, hardwire_readchar) [HAVE_TERMIO, HAVE_TERMIOS]:Jim Kingdon3-48/+84
If the timeout is too big to fit in c_cc[VTIME], then do multiple reads to achieve the desired timeout. * serial.h (serial_t): Add field timeout_remaining.
1994-01-29* c-exp.y (yylex): Reenable nested type code.Jim Kingdon2-1/+10
1994-01-28* a29k-tdep.c (examine_tag): Add comment regarding argcount.Jim Kingdon2-1/+7
1994-01-28* remote-mips.c (mips_ops): Fix docstring.Jim Kingdon2-2/+6
1994-01-28 * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.Jim Kingdon2-3/+14
* infptrace.c (kill_inferior): Add comments. * main.c (quit_command): Call target_close after we kill or detach. * remote-udi.c (udi_close): Don't error() if QUITTING.
1994-01-28* remote-bug.c (bug_ops): Remove spurious newline from docstring.Jim Kingdon1-2/+1
1994-01-28 * config/m68k/tm-monitor.h: Changes to bring this into accordanceJim Kingdon1-0/+7
with the old tm-m68k-em.h: (GDBINIT_FILENAME, DEFAULT_PROMPT): Remove. (HAVE_68881): Don't undefine; this #define is obsolete. (REGISTER_NAMES): Don't muck with it; what tm-m68k.h has is fine. Add FIXME regarding GET_LONGJMP_TARGET.
1994-01-28* remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.Jim Kingdon2-2/+11
1994-01-28 * configure.in: Make m68k-coff and aout add monitor support inRob Savoye2-3/+9
addition to the standard serial support.
1994-01-28 * mdebugread.c (psymtab_to_symtab_1): Don't complain on stLabel withJim Kingdon2-3/+15
index indexNil.
1994-01-28 * config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS.Jim Kingdon5-8/+31
* elfread.c (record_minimal_symbol_and_info), dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it.
1994-01-28* i386-stub.c: Add ".text" right before "mem_fault:".Jim Kingdon1-0/+2
1994-01-28 * main.c (baud_rate): Add FIXME comment about printing -1 value.Jim Kingdon4-43/+67
* remote-utils.c (usage): Fix message to be accurate and conform more closely to normal conventions. * remote-utils.c (gr_files_info): Have the exec_bfd test control whether to show information about exec_bfd, and not control whether to show information about device and speed. * remote-utils.c (gr_open): If sr_get_device returns NULL, give usage message, don't dump core. * remote-bug.c (bug_write_memory): Use alloca, not GCC extension for variable size array. (bug_fetch_register, bug_store_register): Rename "value" to "fpreg_buf" because some compilers don't like variables whose names are the same as types. (bug_store_register): Use a cast when converting char * to unsigned char *.
1994-01-28 * symmisc.c (maintenance_print_symbols): Don't refer to the nameJim Kingdon1-0/+6
of the command in error message (the text was referring to the old name of the command). * symmisc.c (dump_symtab): Fix args to fprintf_filtered.
1994-01-27 * c-typeprint.c (c_type_print_base): Have SHOW == 0 mean to printJim Kingdon2-8/+13
full details on structure elements without names. This partially reverts the changes of 1 Jul 1993 and 31 Aug 1993; I think this aspect of those changes was accidental.
1994-01-27 * gdb.texinfo (Selection, Frame Info): Update information aboutJim Kingdon2-8/+20
arbitrary frame specficiations.
1994-01-27 * stack.c (parse_frame_specification): If SETUP_ARBITRARY_FRAME isJim Kingdon1-0/+4
defined, make it an error to specify a single argument which is not a frame number.
1994-01-27 * Makefile.in (version.c), main.c (print_gdb_version): UseJim Kingdon3-7/+13
host_alias and target_alias, not host_canonical and target_canonical, to print configuration.
1994-01-27 * gdb.t10/hppa.mt: A makefile fragment for the PA.Jeff Law1-0/+5
* gdb.t10/configure.in (hppa*-*-*): Use it.
1994-01-27 * parse.c (write_exp_msymbol): Use new type msymbol_addr_type insteadJim Kingdon2-2/+17
of builtin_type_long. It is necessary to get a type which is TARGET_PTR_BIT bits in size; builtin_type_long might not be big enough.
1994-01-27 Fix many sins which will come up in 32 bit x 64 bit GDB, andJim Kingdon4-14/+16
various miscellaneous things discovered in the process: * printcmd.c, defs.h (print_address_numeric): New function. * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print) breakpoint.c (describe_other_breakpoints, breakpoint_1, mention), cp-valprint.c (cplus_print_value), infcmd.c (jump_command), printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c: Use it. * utils.c, defs.h (gdb_print_address): New function. * expprint (dump_expression), gdbtypes.h: Use it. * breakpoint.c (describe_other_breakpoints), symmisc.c (dump_symtab, print_symbol): Use filtered not unfiltered I/O. (remove_breakpoints): Remove BREAKPOINT_DEBUG code. Might as well just run gdb under a debugger for this (and it had problems with printing addresses, how to print b->shadow, etc.). * buildsym.c (make_blockvector), core.c (memory_error), exec.c (print_section_info), maint.c (print_section_table), mdebugread.c (parse_procedure), solib.c, source.c, symfile.c, symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c: Add comments saying code is broken. Marked with "FIXME-32x64". * dbxread.c (process_one_symbol), partial-stab.h (default), remote-vx.c (vx_run_files_info): Don't cast int being passed to local_hex_string. * symmisc.c (print_symbol): Don't cast long being passed to %lx. * symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE only being a long. * symmisc.c (print_symbol): Print "offset" in message for LOC_ARG and LOC_LOCAL. * printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE. * source.c: Include <sys/types.h> regardless of USG.
1994-01-27 Fix many sins which will come up in 32 bit x 64 bit GDB, andJim Kingdon18-254/+433
various miscellaneous things discovered in the process: * printcmd.c, defs.h (print_address_numeric): New function. * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print) breakpoint.c (describe_other_breakpoints, breakpoint_1, mention), cp-valprint.c (cplus_print_value), infcmd.c (jump_command), printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c: Use it. * utils.c, defs.h (gdb_print_address): New function. * expprint (dump_expression), gdbtypes.h: Use it. * breakpoint.c (describe_other_breakpoints), symmisc.c (dump_symtab, print_symbol): Use filtered not unfiltered I/O. (remove_breakpoints): Remove BREAKPOINT_DEBUG code. Might as well just run gdb under a debugger for this (and it had problems with printing addresses, how to print b->shadow, etc.). * buildsym.c (make_blockvector), core.c (memory_error), exec.c (print_section_info), maint.c (print_section_table), mdebugread.c (parse_procedure), solib.c, source.c, symfile.c, symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c: Add comments saying code is broken. Marked with "FIXME-32x64". * dbxread.c (process_one_symbol), partial-stab.h (default), remote-vx.c (vx_run_files_info): Don't cast int being passed to local_hex_string. * symmisc.c (print_symbol): Don't cast long being passed to %lx. * symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE only being a long. * symmisc.c (print_symbol): Print "offset" in message for LOC_ARG and LOC_LOCAL. * printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE. * source.c: Include <sys/types.h> regardless of USG.
1994-01-26General editing pass prior to Net release.Roland Pesch3-258/+294