aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1996-08-29gdbserver/configure does not existMichael Meissner1-1/+0
1996-08-29Recognize i686 as pentium proMichael Meissner4-34/+43
1996-08-28Fix it.Martin Hunt1-2/+2
1996-08-28New file.Martin Hunt1-0/+33
1996-08-28Fix d10v_files.Martin Hunt1-1/+1
1996-08-28 * configure.in: If CY_AC_PATH_TCLCONFIG can't find TCL, don't runIan Lance Taylor3-32/+47
CY_AC_LOAD_TCLCONFIG. * configure: Rebuild.
1996-08-27Regenerate configureMichael Meissner2-7/+158
1996-08-27Tue Aug 27 04:25:08 1996 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-313/+134
* configure.in: work around host_alias configure bug. AC_CANONICAL_HOST is called twice (first by AC_CHECK_TOOL and second by AC_CANONICAL_SYSTEM). The second clobbers the previous setting. Circumventing by moving the second check to before the first. * configure: regenerated
1996-08-27Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+225
* d10v.mt: New file. * tm-d10v.h: New file.
1996-08-27Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+14
* d10v/d10v.mt: New file. * d10v/tm-d10v.h: New file.
1996-08-27Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt5-0/+213
* config/d10v/d10v.mt: New file. * config/d10v/tm-d10v.h: New file. * configure.in: New target D10V. * d10v-tdep.c: New file.
1996-08-25 * rs6000-tdep.c: Fix typo in comment.Fred Fish7-11/+43
* valops.c (call_function_by_hand): Set using_gcc to 2 for code compiled without -g, per comment in code. * config/a29k/tm-a29k.h (STACK_ALIGN): Add comment. * config/sparc/tm-sparc.h (STACK_ALIGN): Add comment. * config/sparc/tm-sp64.h (STACK_ALIGN): Add comment. * config/pyr/tm-pyr.h (STACK_ALIGN): Add comment. * config/m88k/tm-m88k.h (STACK_ALIGN): Add comment. * config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s. (STACK_ALIGN): Add comment, move to be with other associated macros, and document. * config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s. (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS. * config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s. * config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS. (PUSH_ARGUMENTS): Enclose args in ()'s.
1996-08-23Fixup my email addresses to consistently be fnf@cygnus.comFred Fish1-6/+6
1996-08-23 * gdbtk.c (gdbtk_init): Check for a DISPLAY env variable andFred Fish2-0/+13
gracefully degrade to using command line interface if none is found.
1996-08-23 From: Eberhard Mattes <mattes@azu.informatik.uni-stuttgart.de>Fred Fish2-1/+6
* gdb.texinfo (Frames): Fix typo.
1996-08-23 * valprint.c (print_longest): Test for CC_HAS_LONG_LONG as well asFred Fish3-31/+36
PRINTF_HAS_LONG_LONG. * expprint.c (dump_expression): Ditto. * configure.in: Fix check for long long support in compiler to use a function body, not a nested function. * configure: Rebuild with autoconf.
1996-08-21 * aclocal.m4: Include ../bfd/aclocal.m4.Ian Lance Taylor6-6/+191
* configure.in: Add stdlib.h to AC_CHECK_HEADERS. Call BFD_NEED_DECLARATION on malloc, realloc, and free. * acconfig.h: Add NEED_DECLARATION_MALLOC, NEED_DECLARATION_REALLOC, and NEED_DECLARATION_FREE. * configure, config.in: Rebuild. * defs.h: Include <stddef.h> and <stdlib.h> based on HAVE_*_H rather than __STDC__. Only declare malloc, realloc, and free if NEED_DECLARATION_* is defined.
1996-08-20 * solib.c (_initialize_solib): Add missing '\' chars at ends ofFred Fish1-0/+12
strings that continue on next line. (enable_break): Replace "return 0" with setting success to zero and letting normal return handle the return. Fix for 96q4 bug 003
1996-08-19 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,Fred Fish3-2/+171
PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations. * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris) and -lpthreads (everybody else). (test_startup): Fail gracefully if threads are not supported. * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for "p/c array_index("abcdef",2)" when not gcc compiled. * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for "print func2::coremaker_local" when not gcc compiled. * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for "ptype on opaque struct tagname (statically)", "ptype on opaque struct tagname (dynamically) 1", and "ptype on opaque struct tagname (dynamically) 2" for not compiled with gcc. * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for backtrace when compiled with gcc. * lib/gdb.exp (runto_main): Return result of "runto main" rather than always return success.
1996-08-17 * rs6000-tdep.c (rs6000_fix_call_dummy): Add full set of arguments.Stan Shebs2-3/+11
* config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Pass all arguments to function, declare function correctly.
1996-08-17 * symtab.h: changed namespace to _namespace for compiling underDawn Perchik1-0/+5
MFC v4.0.
1996-08-16 * mpw-make.sed: Update for various recent changes, add someStan Shebs3-10/+16
comments. start-sanitize-gm * mpw-config.in: Fix name of Magic Cap-specific file. end-sanitize-gm
1996-08-16Fix warningMichael Meissner2-6/+41
1996-08-16Fri Aug 16 15:15:37 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion3-2/+7
* config/mips/{vr4300.mt, vr4300el.mt} (SIM): Add -lm when simulator is included.
1996-08-15 * findvar.c (write_register_pid): Only needed when TARGET_WRITE_PCFred Fish4-3/+20
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-15 * config/i386/cygwin32.mh: Set NAT_FILE to nm-empty.h to makeStu Grossman1-0/+1
native work.
1996-08-14 From Blair MacIntyre <bm@cs.columbia.edu>:Fred Fish3-2/+7
* 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 Fish6-1/+28
* 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 Fish5-2/+13
* 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 Fish4-6/+16
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-13Resurrect code to increase timeout in "handle all print" cases in signals.exp.Fred Fish1-2/+0
1996-08-13 * remote.c: Make remote_write_size public.Mark Alexander2-0/+12
* 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 Grossman13-33/+197
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 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine toFred Fish4-253/+142
encapsulate all the steps/nexts done during self test, starting at main, and makes them less sensitive to optimization issues. Add "hppa*-*-hpux*" to setup_xfail for "backtrace through signal handler" test. * gdb.threads/pthreads.exp: Only run this for native configs. * gdb.base/signals.exp (test_handle_all_print): Remove code that increased timeouts, it now makes no difference. * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*" setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8" tests. gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail for "runto test_calls(void)" test.
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-11 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,Fred Fish1-0/+5
and don't expect address info in breakpoint confirmations.
1996-08-11 * gdb.base/list.exp (test_forward_search): Increase timeoutFred Fish1-0/+7
temporarily by 60 seconds for searching extremely long line, and then reset to old value when done. Increase expect input buffer to 10000.
1996-08-09 * Makefile.in (LIB_INSTALL_DIR): New macro.Tom Tromey2-1/+9
(TCL): Include @TCL_LD_SEARCH_FLAGS@.
1996-08-09 * somread.c (som_symtab_read): Handle secondary definitionJeff Law2-2/+9
symbols (aka weak symbols).
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.