aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1996-08-09 * gdb.base/structs.exp: New tests for passing and returningJeff Law3-0/+362
structures. * gdb.base/structs.c: C source for test. Sanitized away until we've got a valid copyright assignment from Michael Snyder. Only tested on the PA. I assume other ports will needs some xfails and other possible testsuite tweakage.
1996-08-09 * config/tm-hppa.h (EXTRACT_RETURN_VALUE): Fix thinko inJeff Law2-1/+6
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 Grossman2-3/+7
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 Grossman12-49/+48
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 * gdb.base/list.exp (test_forward_search): Fix to handle veryFred Fish2-1/+7
long source line without overflowing expect's input buffer.
1996-08-07 * config/slite-gdb.exp (gdb_start): Use "full_buffer", notTom Tromey4-3/+17
"buffer_full". * config/nind-gdb.exp (gdb_start): Use "full_buffer", not "buffer_full". * config/mips-gdb.exp (gdb_start): Use "full_buffer", not "buffer_full". * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not "buffer_full".
1996-08-07 * configure.in (configdirs): Add gdb.threads.Fred Fish7-29/+1311
* configure: Regenerated with autoconf. * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New. * gdb.threads/{Makefile.in, configure.in}: Complete rewrites. * gdb.threads/configure: New, generated with autoconf.
1996-08-07 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak forJeff Law2-1/+4
structures > 4 bytes in size. Fixing more structure return problems.
1996-08-07 * valops.c (call_function_by_hand): Handle aligning stacks thatJeff Law3-1/+14
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-06 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.Fred Fish2-0/+11
1996-08-06 * gdb.base/signals.exp (test_handle_all_print): Test separately forFred Fish4-8/+273
each signal's status in the output of "handle all print". * lib/gdb.exp (gdb_test): Document that the pattern must NOT include the \r\n sequence that immediately precedes the gdb prompt. * gdb.base/a1-selftest.exp: Save original timeout and restore after test.
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-04 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODEJeff Law1-0/+5
symbol.
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 Fish2-1/+6
xm-alphaosf.h.
1996-08-03 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.Brendan Kehoe2-1/+5
1996-08-02changes for new tcl/tk:Tom Tromey7-1512/+564
* 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 Fish4-5/+23
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 Molenda2-3/+9
1996-08-01 * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value.Fred Fish2-2/+31
(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 Shebs3-32/+56
* remote-es.c: Include gdb_string.h after defs.h.
1996-07-30 * rs6000-tdep.c (push_arguments): Remove unused variable "pc".Fred Fish2-5/+17
(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 Fish2-2/+49
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 Fish2-1/+5
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 Fish2-2/+6
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 Fish3-38/+54
known problem on HPUX with native compiler. (configure): Regenerated.
1996-07-30 * somsolib.c (som_solib_create_inferior_hook): Don'tJeff Law2-6/+9
warn if __d_pid can't be found.
1996-07-28 * config/mips/tm-mips.h (struct frame_info): Forward decl.Fred Fish6-8/+145
(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 Fish28-141/+476
* 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 Fish2-11/+17
(END_PSYMTAB): Ditto. (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
1996-07-26 * printcmd.c (_initialize_printcmd): InitializeIan Lance Taylor2-0/+7
tm_print_insn_info.flavour. * gdbtk.c (gdb_disassemble): Initialize di.flavour.
1996-07-26See the huge ChangeLog entry that has the header:Fred Fish17-72/+110
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> for details about these changes. I was going to include the complete entry in the checkin message but it was apparently so large it caused cvs to dump core.
1996-07-26See gdb ChangeLog entry with header:Fred Fish74-366/+1460
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 Grossman7-66/+112
* 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 Fish2-1/+13
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 Fish2-3/+9
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 Fish2-6/+23
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-19Always keep dwarf2read.cStan Shebs1-0/+1
1996-07-19 * dwarf2read.c: New file, DWARF 2 reader originally contributed byStan Shebs5-5/+4448
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 Noer3-2/+34
* 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 Alexander2-1/+7
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 Alexander2-1/+6
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 Grossman3-6/+72
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 Grossman10-244/+773
1996-07-15 * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed toDavid Edelsohn2-39/+38
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 Grossman7-52/+96
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-13Check in an entry that somehow got missed long ago.Fred Fish1-0/+5