aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
1996-08-15 * findvar.c (write_register_pid): Only needed when TARGET_WRITE_PCFred Fish1-0/+18
is not defined. (read_register_pid): Only needed when TARGET_READ_PC is not defined. * hppa-tdep.c (frame_saved_pc): Remove prototype. * infptrace.c (udot_info): Prototype when CHILD_XFER_MEMORY is not defined. * config/xm-aix4.h (aix_resizewindow): Convert old style decl to prototype. * xcoffsolib.c (command.h): Include for needed prototypes.
1996-08-14 From Blair MacIntyre <bm@cs.columbia.edu>:Fred Fish1-0/+5
* hppa-tdep.c (hppa_fix_call_dummy): Use MSYMBOL_TYPE rather than SYMBOL_TYPE on msymbols. * somsolib.c (som_solib_create_inferior_hook): Ditto.
1996-08-14 * Makefile.in (init.c): Generate with prototypes.Fred Fish1-0/+23
* config/pa/tm-hppa.h (frame_saved_pc): Add prototype. * config/rs6000/xm-rs6000.h (aix_resizewindow): Ditto. * config/rs6000/tm-rs6000.h (frame_initial_stack_address): Ditto. (pc_load_segment_name): Ditto. (pop_frame): Ditto. (extract_return_value): Ditto. (is_magic_function_pointer): Ditto. (push_dummy_frame): Ditto. (fix_call_dummy): Ditto. (push_arguments): Ditto. (skip_trampoline_code): Ditto. (aix_process_linenos): Ditto. * config/m68k/tm-cisco.h (get_longjmp_target): Add prototype. * config/m68k/tm-es1800.h: Ditto. * config/m68k/tm-vx68.h: Ditto. * config/m68k/tm-sun3.h: Ditto. * config/m68k/tm-m68kv4.h: Ditto.
1996-08-14 * config/mips/nm-mips.h (get_longjmp_target): Add prototype.Fred Fish1-0/+8
* config/mips/nm-irix3.h (get_longjmp_target): Add prototype. * remote-mips.c (mips_read_processor_type): Remove prototype. * mips-tdep.c (gdb_print_insn_mips): Add prototype and make static. * irix5-nat.c (fetch_core_registers): Add prototype.
1996-08-13 * remote-pa.c (boot_board): Add dummy params to make type compatibleFred Fish1-0/+8
for passing to add_com. * scm-exp.c (scm_lreadr): Ensure svalue is not used uninitialized. * buildsym.c (compare_line_numbers): Change function to match prototype and also what qsort expects.
1996-08-13 * remote.c: Make remote_write_size public.Mark Alexander1-0/+6
* sh-tdep.c (_initialize_sh_tdep): Set remote_write_size to 300 to prevent packet errors with some versions of CMON. (Fixes PR 10254)
1996-08-13 * defs.h: Define CONST_PTR as blank if compiling with MicrosoftStu Grossman1-0/+49
C, else it's `const'. * c-lang.c c-lang.h ch-lang.c f-lang.c language.c m2-lang.c scm-lang.c: Microsoft C can't hack const pointers. Use CONST_PTR macro instead. * configure configure.in defs.h: Use AC_C_CONST to figure out if the compiler supports const. Gets rid of some cruft in defs.h. * dwarf2read.c: <string.h> -> "gdb_string.h" * remote-sim.c: Add prototypes. Fix call to gdbsim_kill. * sparcl-tdep.c (download): Add prototypes to write_routine and start_routine args. * mswin/gdbwin.c: Don't include both varargs.h AND stdarg.h. Get rid of varargs.h Include string.h. * (gdbwin_update gdbwin_fputs regs_changed_f bpt_changed_f update): Fix prototypes, fix calls. * (update): Return value for catch_errors. * (run_execute_command togdb_command_from_tty togdb_command): Cleanup catching of errors from calls to execute_command. Also, dup command string to avoid modifying const strings. * (togdb_breakinfo_i_init togdb_breakinfo_i_next): Use 0 instead of NULL when see if b->address isn't set. * (bi_disable_bpt bi_enable_bpt bi_delete_all bi_delete_breakpoint): Add arg to calls to update. * (gui_command): Add prototype. * (mswin_query): Fix prototype. * (_initialize_gdbwin): Dup string to avoid modifying const. * (info_path togdb_get_info_path): Remove const from decls cuz this can't be const (it points at malloc'ed memory). * (togdb_searchpath): Remove const from path. Dup string to avoid modifying const strings. * rindex -> strrchr. * (gdbwin_list_symbols): Regexp param is const. * Fix lots of refs to psymtabs to deref correct pointers. * (togdb_set_breakpoint_sal): Call set_breakpoint_sal with sal, not &sal. * mswin/gdbwin.h (togdb_searchpath togdb_get_info_path toget_set_info_path): Fix prototypes to match reality. * mswin/gui.cpp: Define _beginthreadex and _endthreadex routines with proper prototypes. * mswin/iface.cpp (gdbwin_fputs): Define with correct number of args. * mswin/ser-win32s.c: Fix defs of min and max. * mswin/serdll32.c (OpenComm16): Make cbInQueue and cbOutQueue be USHORT. * (WriteComm16): Change lpBug from LPVOID to LPCSTR. * mswin/serdll32.h: Fix prototypes for OpenComm16 and WriteComm16.
1996-08-12 * main.c (main): Make sure command loop is used with cygwin32.Stu Grossman1-0/+5
* terminal.h: Allow cygwin32 to use termios.h.
1996-08-09 * Makefile.in (LIB_INSTALL_DIR): New macro.Tom Tromey1-0/+7
(TCL): Include @TCL_LD_SEARCH_FLAGS@.
1996-08-09 * somread.c (som_symtab_read): Handle secondary definitionJeff Law1-1/+4
symbols (aka weak symbols).
1996-08-09 * config/tm-hppa.h (EXTRACT_RETURN_VALUE): Fix thinko inJeff Law1-0/+5
last change.
1996-08-08 * symfile.c (symfile_bfd_open): Change ifdef from __WIN32__ toStu Grossman1-0/+3
_WIN32.
1996-08-08 * somread.c: Rearrange order of includes to fix warnings underStu Grossman1-0/+5
hpux-10.10. Also don't include sys/file.h.
1996-08-08 * dbxread.c: Don't include param.h or sys/file.h.Stu Grossman1-0/+6
* (dbx_symfile_read): Determine symfile_relocatable from bfd flags instead of file extension. Also clean up a little bit.
1996-08-08 * dwarf2read.c dwarfread.c exec.c infcmd.c infrun.c main.cStu Grossman1-0/+22
mdebugread.c os9kread.c source.c top.c utils.c: Don't include param.h or sys/file.h (or unistd.h in some cases). * defs.h exec.c inflow.c remote-array.c remote-e7000.c sparcl-tdep.c terminal.h utils.c: Replace all occurances of __WIN32__, WINGDB, WIN32, etc... with _WIN32. * main.c: Remove #ifndef WINGDB around option processing. Fix bug with passing argc==0 and argv==NULL to getopt. * (main) Remove calls to access() before source_command. Let soure_command handle access errors. * maint.c (maintenance_dump_me): #ifdef out for _WIN32. * symtab.c (operator_chars): Make this global for wingdb. * top.c (disconnect): #ifdef out for _WIN32. * (source_command): If got an error and from_tty, then call print error, else just return quietly. * utils.c (fatal_dump_core): Can't kill ourselves under windows. Just exit. * (pollquit notice_quit): #ifdef out stuff that doesn't exist under windows.
1996-08-07 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak forJeff Law1-0/+3
structures > 4 bytes in size. Fixing more structure return problems.
1996-08-07 * valops.c (call_function_by_hand): Handle aligning stacks thatJeff Law1-0/+9
grow up correctly. * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define. (STACK_ALIGN): Define. * hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte alignment on structs/unions. Fixing assorted structure passing/return problems reported by the net.
1996-08-04 * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Define to "int *",Fred Fish1-0/+5
which is the documented type under at least AIX 3 and AIX 4.
1996-08-03 * config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Define NO_MMCHECK toFred Fish1-0/+2
not install consistency checks.
1996-08-03 * config/alpha/alpha-osf3.mh (XM_FILE): Change from xm-alpha.h toFred Fish1-0/+5
xm-alphaosf.h.
1996-08-02changes for new tcl/tk:Tom Tromey1-0/+16
* gdbtk.c (mainWindow): Deleted. (cleanup_init): Don't destroy main window. (gdbtk_init): Main window now created by Tk_Init. * configure.in: Most X checks now handled automatically by Tk. Use new macros to find Tcl/Tk. * aclocal.m4: New version for new Tcl/Tk; from Don Libes. * config.in, configure: Regenerated. * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS, X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk.
1996-08-01 * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents inFred Fish1-0/+9
this, define when contents are included. (mips_read_processor_type): Add prototype. * config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h * mdebugread.c (ecoff_relocate_efi): Add prototype. (fixup_sigtramp): Only needed when TM_MIPS_H is defined.
1996-08-01 * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir).Jason Molenda1-0/+6
1996-08-01 * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value.Fred Fish1-0/+11
(vmap_ldinfo): Ensure got_exec_file is not used uninitialized. (fetch_core_registers): Add prototype. (vmap_symtab): Ditto. (objfile_symbol_add): Ditto. (add_vmap): Ditto. (vmap_ldinfo): Ditto. (vmap_exec): Ditto.
1996-07-31 * stabsread.c (get_substring): Declare second arg as int.Stan Shebs1-1/+21
* remote-es.c: Include gdb_string.h after defs.h.
1996-07-30 * rs6000-tdep.c (push_arguments): Remove unused variable "pc".Fred Fish1-0/+8
(branch_dest): Remove unused variable "offset". (pop_dummy_frame): Add prototype and make static. (push_arguments): Guard against using len uninitialized. (push_arguments): Guard against using arg uninitialized. (frame_saved_pc): Remove unused variable "frameless". (free_loadinfo): Ifdef out unused function.
1996-07-30 * xcoffread.c (compare_lte): Change prototype and function toFred Fish1-0/+12
be correct type for passing to qsort. (add_stab_to_list): Ifdef out unused function and prototype. (compare_lte): Add prototype (arrange_linetable): Ditto. (record_include_begin): Ditto. (record_include_end): Ditto. (process_linenos): Ditto. (xcoff_next_symbol_text): Ditto. (scan_xcoff_symtab): Ditto. (xcoff_initial_scan): Ditto.
1996-07-30 * mips-tdep.c (mips_read_processor_type): Add parens aroundFred Fish1-0/+4
bitwise-and operands in comparison; previous expression always evaluated to 0 because of equality comparison of two constants.
1996-07-30 * rs6000-tdep.c (skip_prologue): Add missing parens aroundFred Fish1-0/+4
operands of logical-or so that first operand does not bind to previous logical-and.
1996-07-30 * configure.in: Expand "long long" test to include code that triggersFred Fish1-0/+6
known problem on HPUX with native compiler. (configure): Regenerated.
1996-07-30 * somsolib.c (som_solib_create_inferior_hook): Don'tJeff Law1-0/+5
warn if __d_pid can't be found.
1996-07-28 * config/mips/tm-mips.h (struct frame_info): Forward decl.Fred Fish1-0/+42
(struct type): Ditto. (struct value): Ditto. * config/mips/tm-mips.h (sigtramp_address): Move extern decl from mips-tdep.c to here. (sigtramp_end): Ditto. (fixup_sigtramp): Ditto. * config/mips/tm-mips.h (init_extra_frame_info): Add prototype. (mips_frame_chain): Ditto. (mips_step_skips_delay): Ditto. (mips_frame_saved_pc): Ditto. (mips_find_saved_regs): Ditto. (mips_frame_num_args): Ditto. (mips_pop_frame): Ditto. (mips_extract_return_value): Ditto. (mips_store_return_value): Ditto. (mips_push_dummy_frame): Ditto. (mips_push_arguments): Ditto. (mips_do_registers_info): Ditto. (ecoff_relocate_efi): Ditto. (ecoff_relocate_efi): Ditto. * irix4-nat.c (fetch_core_registers): Add prototype. * mips-tdep.c (read_next_frame_reg): Add prototype (heuristic_proc_start): Ditto. (heuristic_proc_desc): Ditto. (mips_print_register): Ditto. * config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype. (procfs_stopped_by_watchpoint): Ditto. * config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype. (procfs_stopped_by_watchpoint): Ditto. * config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype. (struct symbol): Add forward decl for prototype. * breakpoint.c (internal_breakpoint_number): Only needed if GET_LONGJMP_TARGET or SOLIB_ADD is defined. * objfiles.c (ecoff_relocate_efi): Remove prototype.
1996-07-28 * configure.in: Add test for "long long" support.Fred Fish1-0/+123
* configure: Regenerate with autoconf. * acconfig.h: Add CC_HAS_LONG_LONG * config.in: Regenerate with autoheader. * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove. * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove. * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove. * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove (PRINTF_HAS_LONG_LONG): Remove. (FORCE_LONG_LONG): Remove. * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version. * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove (PRINTF_HAS_LONG_LONG): Remove. * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove. (PRINTF_HAS_LONG_LONG): Remove. * config/pa/tm-hppa.h (GET_FIELD): Put parens around subtraction inside shift. Put parens around subtraction in operand of bitwise and. (struct frame_info): Forward declare if __STDC__ defined. (frame_saved_regs): Ditto. (struct value): Ditto. (struct type): Ditto. (struct inferior_status): Ditto. (init_extra_frame_info): Add prototype. (skip_prologue): Ditto. (frameless_function_invocation): Ditto. (frame_chain): Ditto. (frame_chain_valid): Ditto. (saved_pc_after_call): Ditto. (hppa_fix_call_dummy): Ditto. (hppa_push_arguments): Ditto. (pa_do_registers_info): Ditto. (in_solib_call_trampoline): Ditto. (in_solib_return_trampoline): Ditto. (push_dummy_frame): Ditto. * convex-tdep.c (decout): Use print_longest rather than fprintf_filtered. * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set CC_HAS_LONG_LONG. (INT_MIN): Fix so it works correctly when assigned to a long long. * valprint.c (longest_to_int): Rewrite to remove dependence on INT_MIN and INT_MAX. (print_longest): Rewrite the code that falls back to synthesized hex output when LONGEST value is not representable as in a long and printf doesn't support printing long longs. * ch-valprint.c (chill_val_print): Cast 2nd arg of chill_print_type_scalar to LONGEST. chill_print_type_scalar): Make static and add prototype. * hppa-tdep.c (get_field): Ifdef out unused function. (set_field): Ditto. (extract_3): Ditto. (extract_5_store): Ditto. (extract_11): Ditto. (extract_12): Ditto. (deposit_17): Ditto. (extract_14): Convert to static and add prototype. (deposit_14): Ditto. (extract_21): Ditto. (deposit_21): Ditto. (extract_17): Ditto. (extract_5r_store): Ditto. (extract_5R_store): Ditto. (extract_5_load): Ditto. (find_proc_framesize): Ditto. (find_dummy_frame_regs): Ditto. (sign_extend): Ditto. (find_unwind_entry): Add prototype. (find_return_regnum): Ditto. (unwind_command): Ditto. (find_dummy_frame_regs): Add parens around subtraction in operand of bitwise-and. (skip_prologue): Add parens around operands of logical-and inside operand of logical-or. (sign_extend): Add parens around operands of subtraction inside operand of shift. (low_sign_extend): Ditto. * top.c (filename_completer): Convert old style decl of filename_completion_function into prototype. * f-lang.c (patch_common_entries): Ifdef out unused function. * stabsread.c (read_cfront_baseclasses): Remove unused local variable "msg_noterm". (resolve_cfront_continuation): Remove unused local variable "fip". (read_type): Remove unused variable xtypenums. (read_cfront_static_fields): Remove unused variable "i". (read_cfront_static_fields): Remove unused variable "nfields". (read_cfront_member_functions): Add missing comment terminator. (read_cfront_static_fields): Return 1 rather than random value. (read_cfront_baseclasses): Ditto. (read_cfront_baseclasses): Ditto. (read_cfront_baseclasses): Ditto. * somsolib.c (som_solib_create_inferior_hook): Remove unused variable "u". (som_solib_create_inferior_hook): Remove unused variable shadow_contents. (language.h): Add for needed prototypes. (som_solib_sharedlibrary_command): Add prototype. * hpread.c: (hpread_read_array_type): Add prototype. * somread.c (hpread_build_pysmtabs): Add prototype. (hpread_symfile_finish): Ditto. (hpread_symfile_init): Ditto. * hppah-nat.c (fetch_register): Convert old style decl to prototype. (gdbcore.h): Include for needed prototypes. (fetch_register): Remove unused variable "mess". * remote-pa.c (get_offsets): Ifdef out unused function. (remote_start_remote): Remove unused variable "timeout". (boot_board): Add prototype. (reaad_frame): Add prototype. (getpkt): Remove unused variable "bp". (remote_kill): Add prototype. (remote_mourn): Add prototype. (remote_insert_breakpoint): Add prototype. (remote_remove_breakpoint): Add prototype. * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined. * infcmd.c (do_registers_info): Only need prototype if DO_REGISTERS_INFO is not defined. (breakpoint_auto_delete_contents): Only need if CALL_DUMMY_BREAKPOINT_OFFSET is defined.
1996-07-27 * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.Fred Fish1-0/+6
(END_PSYMTAB): Ditto. (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
1996-07-26 * printcmd.c (_initialize_printcmd): InitializeIan Lance Taylor1-0/+6
tm_print_insn_info.flavour. * gdbtk.c (gdb_disassemble): Initialize di.flavour.
1996-07-26See gdb ChangeLog entry with header:Fred Fish1-0/+537
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> for a rather huge set of changes. I was going to put them here, but it made cvs dump core. :-(
1996-07-25 * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS.David Edelsohn1-0/+4
1996-07-23 * Makefile.in (os9kread.o): Remove dependency on partial-stab.h.Stu Grossman1-0/+11
* dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h: Don't use partial_symtab->textlow==0 as a flag, as 0 is a legitimate text address. Use a seperate flag (textlow_not_set) instead. This makes stabs in ELF .o files work a lot better. * mdebugread.c xcoffread.c: Define textlow_not_set for partial-stab.h. * stabsread.h (end_psymtab): Add textlow_not_set arg to prototype.
1996-07-21 * gdbtk.tcl (files_command): Reorder the binding tags forFred Fish1-0/+7
the listbox widget to avoid referencing the listbox after the containing widget has been destroyed by the action of a previous binding.
1996-07-20 * dwarf2read.c (struct filenames): Change internal "struct file"Fred Fish1-0/+6
to "struct fileinfo" to avoid conflict with "struct file" in <sys/file.h> on HPUX and Solaris.
1996-07-20 * gdbtk.tcl (delete_expr): Unset corresponding element ofFred Fish1-0/+8
expr_update_list when destroying an expression. (create_expr_window): Initialize expr_num, delete_expr_num, and expr_update_list here when each new expression window is created, rather than once at startup. PR 9383
1996-07-19 * dwarf2read.c: New file, DWARF 2 reader originally contributed byStan Shebs1-0/+12
Brent Benson, with additions by Gary Funck and Jerry Kreuscher. * Makefile.in (COMMON_OBS): Add dwarf2read.o. (SFILES): Add dwarf2read.c. (dwarf2read.o): Add build rule. * symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare exported functions. * elfread.c (elf_symfile_read): Call them. (elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols.
1996-07-18Thu Jul 18 01:22:01 1996 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-0/+6
* symfile.c (symfile_bfd_open): * exec.c (exec_file_command): for __GO32__ and __WIN32__ systems, free the user from having to type the .exe extension.
1996-07-17 * mon960-rom.c: Shorten the mon960_inits string to a singleMark Alexander1-0/+6
carriage return; this prevents a hang on connecting immediately after powerup, when MON960 is attempting autobaud detection.
1996-07-17 * a29k-tdep.c (get_saved_register): Allow PC to be modifiedMark Alexander1-0/+5
when innermost frame is selected, but not in outer frames. PR 9012
1996-07-17 * command.c (do_setshow_command): Don't segfault when showingStu Grossman1-0/+11
var_string and var_string_noescape vars that are NULL. From the fsf: * solib.c (solib_absolute_prefix, solib_search_path): New variables. (_initialize_solib): Add set/show commands for those variables. (solib_map_sections): Implement searching using them.
1996-07-17Changes from the FSF for Hurd thread support.Stu Grossman1-0/+175
1996-07-15 * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed toDavid Edelsohn1-0/+7
cygwin32_conv_to_posix_path. (child_create_inferior): unix_path_to_dos_path renamed to cygwin32_conv_to_win32_path. Rewrite code to translate PATH.
1996-07-15 * defs.h printcmd.c: Create global disassemble_info structureStu Grossman1-0/+17
tm_print_insn_info. * gdbtk.c (gdb_disassemble): Setup di.mach from tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER. * i386-tdep.c (set_assembly_language_command): set tm_print_insn_info.mach to the appropriate value for 386 or 8086 disassembly. * printcmd.c (print_insn): Move init of disassembler_info to _initialize_printcmd. Set endian for disassembler here. * sparc-tdep.c: Set tm_print_insn_info.mach as appropriate to select sparc/sparclite. * config/sparc/{tm-sparc.h tm-sparclite.h}: Get rid of TM_PRINT_INSN. Set TM_PRINT_INSN_MACH to bfd_mach_sparc/bfd_mach_sparc_sparclite.
1996-07-13 * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc ratherFred Fish1-0/+5
than xmalloc/xrealloc.