aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1995-08-16 * configure.in: Only configure gdb.chill for particular targets.Stan Shebs2-4/+8
1995-08-16 * gdb.base/Makefile.in: Add action to .c.o transformationFred Fish12-313/+407
rule that generates a .ci file for each .o file and remove explicit .c.o rules except for callfuncs.o. * gdb.c++/Makefile.in: Add .cc.o transformation rule that generates a .ci file for each .o file and remove explicit .cc.o rules. (clean): Remove *.tmp *.ci files. (EXECUTABLES): Remove templ-info.exp. * gdb.base/compiler.c: New file. * gdb.c++/compiler.cc: New file * gdb.base/scope.exp: Source gdb.base/scope.ci. Change rs6000-*-* xfail for "print 'scope0.c'::filelocal_ro" and "print 'scope1.c'::filelocal" and "print 'scope1.c'::filelocal_bss" and "print 'scope1.c'::filelocal_ro" and "print 'scope1.c'::foo::funclocal" and "print 'scope1.c'::foo::funclocal_ro" and "print 'scope1.c'::bar::funclocal" and "print 'scope0.c'::filelocal_ro" and "print 'scope1.c'::filelocal at foo" and "print 'scope1.c'::filelocal_bss at foo" and "print 'scope1.c'::filelocal_ro at foo" and "print 'scope1.c'::foo::funclocal at foo" and "print 'scope1.c'::foo::funclocal_bss at foo" and "print 'scope1.c'::foo::funclocal_ro at foo" and "print 'scope1.c'::bar::funclocal at foo" and "print 'scope0.c'::filelocal_ro" and "print 'scope1.c'::filelocal" and "print 'scope1.c'::filelocal_bss" and "print 'scope1.c'::filelocal_ro" and "print 'scope1.c'::foo::funclocal" and "print 'scope1.c'::foo::funclocal_bss" and "print 'scope1.c'::foo::funclocal_ro" and "print 'scope1.c'::bar::funclocal" and "print 'scope1.c'::bar::funclocal_bss" to only be xfail'd when not compiled with gcc. Add rs6000-*-* xfail for "print 'scope0.c'::filelocal_bss before run" when compiled with gcc. (test_at_main): Add rs6000-*-* xfail for "print filelocal_ro in test_at_main" when compiled with gcc. * gdb.base/ptype.exp: Source gdb.base/ptype.ci. Add rs6000-*-aix* xfail for "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and "ptype t_char_array", not compiled with gcc. * gdb.base/list.exp (test_list_function): Add rs6000-*-* xfail for "list foo (in include file)" when gcc compiled. * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci (integral_args): Add rs6000-*-* xfail for "run to call0a" if not compiled with gcc. (unsigned_integral_args): Add rs6000-*-* xfail for "run to call1a" if not compiled with gcc. (float_and_integral_args): Add rs6000-*-* xfail for "run to call2a" if not compiled with gcc and for "continue to call2b" for any compiler. Add rs6000-*-* xfail to "print f1 after run to call2a" for gcc compiled. (discard_and_shuffle): Add rs6000-*-* xfail for "run to call6a". (shuffle_round_robin): Add rs6000-*-* xfail for "backtrace from call7a" if not compiled with gcc. Add rs6000-*-* xfail for "backtrace from call7b" if compiled with gcc. (call_after_alloca): Add rs6000-*-* xfail for "print c in call_after_alloca" and "print s in call_after_alloca" and "backtrace from call_after_alloca_subr" if not compiled with gcc. (localvars_in_indirect_call): Add rs6000-*-* xfail for "print c in localvars_in_indirect_call" and "print c in localvars_in_indirect_call" and "backtrace in indirectly called function" and "stepping into indirectly called function" if not compiled with gcc. (localvars_after_alloca): Add rs6000-*-* xfail for "print c after runto localvars_after_alloca" and "print s after runto localvars_after_alloca" and "print i after runto localvars_after_alloca" and "print l after runto localvars_after_alloca" for all compilers. * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather than whatis-info.exp. * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather than opaque-info.exp. Setup rs6000-*-* xfail for "ptype on opaque struct pointer (statically)" and "ptype on opaque struct pointer (dynamically)" when not compiled with gcc. * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci rather than callf-info.exp. (do_function_calls): Add clear_xfail for rs6000-*-* for "p t_float_values2(3.14159,float_val2)". Seems to work fine there, both with xlc and gcc. Need to find out what it is doing right and fix other platforms. * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for "call inferior func with struct - returns int", "call inferior func with struct - returns long", "call inferior func with struct - returns float", "call inferior func with struct - returns double", "call inferior func with struct - returns char *", but only if not gcc compiled (presumes xlc compiled). Change rs6000-*-* xfails for "call inferior func with struct - returns char" and " call inferior func with struct - returns short" to only xfail if not using gcc. (clean mostlyclean): Remove *.ci and *.tmp files. * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather than templ-info.exp. * gdb.base/langs.exp: Source gdb.base/langs.ci. Add rs6000-*-* xfail for "up to foo in langs.exp" "up to cppsub_ in langs.exp" and "up to fsub in langs.exp" when not gcc compiled.
1995-08-15 * remote.c (remote_write_bytes): Chop up large transfers.Steve Chamberlain2-25/+39
1995-08-15Departure of gcc.patchStan Shebs1-1/+0
1995-08-15 * gcc.patch: Remove, relevant only to long-ago versions of GCC.Stan Shebs2-80/+8
1995-08-14 * blokcframe.c (inside_main_func): Add comments.Kung Hsu1-0/+2
1995-08-14 * blockframe.c (inside_main_func): Fix a typo in previous change.Kung Hsu2-1/+3
1995-08-14 * config/sparc/tm-sparclite.h: Define FRAME_CHAIN_VALID_ALTERNATE.Kung Hsu1-0/+2
1995-08-14 * config/sparc/tm-sparclite.h: Define FRAME_CHAIN_VALID_ALTERNATE.Kung Hsu2-104/+97
* blockframe.c (inside_main_func): If main func addr range not set, try to set it now.
1995-08-13 * config/powerpc/xm-aix.h (FIVE_ARG_PTRACE): Define.Jeff Law3-0/+7
* config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise. So we can build under aix4 with an ansi compiler (should not effect aix3 since aix3 doesn't have a ptrace prototype).
1995-08-12 * configure.in: Recognize aix4 specially as some aspectsJeff Law15-5/+219
of aix4 need different handling than aix3. * configure: Updated. * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: New files specific to aix4 support on the power pc. * config/powerpc/tm-ppc-aix.h (DONT_RELOCATE_SYMFILE_OBJFILE): Do not defined. The aix4 specific target files will do that. * config/rs6000/{aix4,mh,aix4,mt,tm-rs6000-aix4.h}: New files specific to aix4 support on the rs6000. * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): Don't do the conversion if the pointer is not a magic aix function pointer. * rs6000-tdep.c: Include objfiles.h and symtab.h. (is_magic_function_pointer): New function. * rs6000-tdep.c (skip_prologue): Refine check for frameless functions. Handle b .+4 emitted by aix4 compilers. Only allow one load of a minimal toc pointer. Handle aix4 compiler's code for alloca. * rs6000-tdep.c (find_toc_address): Report an error if no toc was found rather than possibly core dumping. * partial-stab.h: Handle extra field generated by the aix4 compiler for enumerations. * stabsread.c (read_enum_type): Likewise.
1995-08-12 * gdb.base/callfuncs.exp: Add xfails for the powerpc.Jeff Law8-290/+162
* gdb.base/corefile.exp: Likewise. * gdb.base/list.exp: Likewise. * gdb.base/scope.exp: Likewise. * gdb.base/siganls.exp: Likewise. * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4 compiler output. * gdb.base/whatis.exp: Likewise.
1995-08-12 * rs6000-tdep.c (extract_return_value): Fix returning of valuesPeter Schauer2-2/+14
whose length is less than the register size for big endian targets.
1995-08-11 * symtab.c (list_symbols): if break command set breakpoint on matchedKung Hsu2-1/+13
symbol.
1995-08-11 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect aJeff Law2-4/+7
failure (opcode table has been fixed to match reality).
1995-08-11 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail forFred Fish8-65/+162
"backtrace through signal handler" to "i*86-*-sysv4*". * gdb.base/signals.exp: Add xfail for "'next' behaved as continue" case. Add "known SVR4 bug" to fail message. Add "i*86-*-bsdi2.0" xfail for "handle all print". Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1". * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for "whatis unnamed typedef'd enum..." and "ptype t_char_array". * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for "up to foo in langs.exp", "show language at foo in langs.exp", "up to cppsub_ in langs.exp", "show language at cppsub_ in langs.exp", "up to fsub in langs.exp", and "show language at fsub in langs.exp". * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for "bactrace in corefile.exp". * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for "call inferior function with struct - returns float" and "call inferior function with struct - returns double".
1995-08-11 * defs.h (strchr, strrchr, strstr, strtok, strerror): Enclose inFred Fish1-0/+5
#ifndefs to protect against previous definitions as macros. * HOW_TO_RELEASE: Continue updating...
1995-08-09 * xcoffread.x (xcoff_symfile_offset): Revert an unwanted change getsKung Hsu2-1/+6
in accidentally from Aug 1 checkin.
1995-08-09 * remote-hms.c (hms_cmds): Get reg term right.Steve Chamberlain3-6/+25
* monitor.c (monitor_fetch_register): If we see a non-hex digit, just stop reading. * remote.c (remote_wait): Change way $O is handled.
1995-08-09Fix typo in changelog entry.Jeff Law1-1/+1
1995-08-09 * configure.in (powerpc-*-aix*): Recognize as a new gdb hostJeff Law8-13/+200
and target. (powerpc-*-eabi*): Don't set configdirs. (powerpcle-*-eabi*0: Likewise. * configure: Updated. * rs6000-nat.c (vmap_ldinfo): Don't relocate data addresses for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE is defined. * config/powerpc/{aix.mh,aix.mh}: Host and target makefile fragments for powerpc running aix4. * config/powerpc/{nm-aix.h, tm-ppc-aix.h, xm-aix.h}: Native, target and host include files for powerpc running aix4. More of Mike's powerpc work + minor changes.
1995-08-09 * top.c (target_output_hook): Really make it match defs.h (char *Stan Shebs2-1/+6
is not the same as unsigned char *).
1995-08-08* Makefile.in (CXX_FOR_TARGET): Don't use ${rootme}/../gcc/xgccJ.T. Conklin2-18/+25
unless it is present.
1995-08-08 * top.c (target_output_hook): Make declaration match the oneJeff Law2-1/+4
in defs.h.
1995-08-08 * symfile.c (add_psymbol_to_list): Initialize SYMBOL_SECTION.Jeff Law1-0/+6
(add_psymbol_addr_to_list): Likewise. * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Likewise.
1995-08-07 * top.c (target_output_hook): New definition.Steve Chamberlain2-0/+7
1995-08-07 * stack.c (gdb_string.h): Include after defs.hSteve Chamberlain2-6/+27
* defs.h (target_output_hook): New declaration. * source.c (mod_path): Fix Win32 \ handling.
1995-08-07 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.Jeff Law7-1/+241
* gdb.disasm/sh3.exp: Run the sh3 disassembler tests. * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment. * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests. sh3e disassembler tests. Sanitized out for now.
1995-08-07 * gdb.base/corefile.exp: Change xfail for backtrace inFred Fish3-3/+41
corefile.exp from linuxaout to all linux. * gdb.base/sigall.exp (test_one_sig): Specifically deal with cases where we miss the breakpoint at the signal handler for some reason. Setup xfail for linuxoldld/linuxaout and getting SIGIO. Setup xfail for linuxoldld/linuxaout for hitting SIGURG breakpoint. * gdb.base/signals.exp: Setup xfail for "next" acting like continue to add linuxoldld. Setup xfail for all linux for "next to handler in signals_tests_1", "backtrace in signals_tests_1", "continue to func1", "pass SIGUSR1", and continue to handler".
1995-08-07 * hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointerJeff Law2-2/+22
out of a long branch stub. hpux10 _start is incorrectly marked as a long-branch stub.
1995-08-05 * ch-exp.y (write_lower_upper_value): Add prototype so bisonFred Fish1-1/+4
generated parser will insert prototype before first func usage. Bison and byacc order the output sections differently. Also make function static.
1995-08-04 * xcoffread.c (process_linenos): Fix typo in last change.Jeff Law1-1/+1
1995-08-04Lose EST-only files (now part of generic m68k monitor config)Stan Shebs1-2/+0
1995-08-03Document FSF address updating of all files with FSF addresses,Fred Fish3-0/+12
except for the COPYING* files.
1995-08-03Add ChangeLog, pr-5984.ch, pr-5984.exp.Fred Fish1-0/+3
1995-08-03Add hppro.exp, monitor.exp.Fred Fish1-0/+2
1995-08-03Remove keep-chill stuff from .Sanitize and add gdb.chill to things toFred Fish2-19/+6
keep. Remove sanitize references in ChangeLog. Remove start/end sanitize-chill lines in Makefile.in.
1995-08-03Add configure to r16_files and arc_files in .SanitizeFred Fish3-6/+3
Remove references to .Sanitize in ChangeLogs, start updating always sanitized away file HOW_TO_RELEASE.
1995-08-03 * config/alpha/tm-alpha.h (EXTRA_FRAME_INFO): Add pc_reg field.Peter Schauer2-8/+33
(SKIP_TRAMPOLINE_CODE): Define. * alpha-tdep.c (alpha_frame_saved_pc): Use pc_reg field from frame to find the saved pc register. (alpha_saved_pc_after_call): Skip over shared library trampoline before trying to find the saved pc register. (find_proc_desc): Copy PROC_PC_REG from found proc_desc to heuristic proc_desc. (init_extra_frame_info): Initialize pc_reg field in frame.
1995-08-03 * configure.in (m68*-est-*): Use monitor target config.Stan Shebs5-56/+9
* configure: Update. * config/m68k/est.mt, config/m68k/tm-est.h: Delete. * config/m68k/monitor.mt, config/m68k/tm-monitor.h: Fix comments.
1995-08-02 * Makefile.in (VERSION): Bump to 4.14.2Fred Fish1-0/+10
1995-08-02Update FSF address.Fred Fish437-445/+446
1995-08-01 * xcoffread.c (process_linenos): The value in include file symbolKung Hsu1-2/+3
should point to line number table. Currently this value is not set correctly by AIX ld. A fix to get around this bug.
1995-08-01* configure.in: Check for working mmap, ansi headers, string.h,J.T. Conklin137-1150/+2200
strings.h, and memory.h. * configure: Regenerated. * gdb_stat.h: New file, "portable" <sys/stat.h>. * gdb_string.h: New file, "portable" <string.h>. * altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c, convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c, gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c, i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c, mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c, rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c, symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c, ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h" instead of <sys/stat.h>. * alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c, ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c, core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c, dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c, exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c, fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c, inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c, m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c, monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c, printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c, remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c, remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c, remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c, remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c, remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c, solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c, symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c, valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include "gdb_string.h" instead of <string.h>. * gdbtk.c: Likewise. * config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h, sparc/xm-sun4os4.h (HAVE_MMAP): Removed. * config/xm-lynx.h, config/i386/xm-ptx.h, config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h, config/mips/xm-irix3.h, config/mips/xm-mips.h, config/mips/xm-news-mips.h, config/mips/xm-riscos.h, config/pa/hppah.h, config/rs6000/xm-rs6000.h, config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h, config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h, config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed. * config/mips/xm-irix3.h, config/mips/xm-mips.h, config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
1995-08-01 * mips-tdep.c (mips_extract_return_value): Fix returning ofPeter Schauer3-10/+34
values whose length is less than the register size for big endian targets. * alpha-tdep.c (alpha_extract_return_value, alpha_store_return_value): Use alpha_convert_register_to_* to handle functions returning "float" correctly.
1995-08-01 * h8500-tdep.c: General linting and cleanup.Stan Shebs4-163/+168
(opcodes/h8500-opc.h): Don't include. (code_size, data_size): Make static. (frame_locals_address, frame_args_address): Remove. (h8300_pop_frame): Rename to h8500_pop_frame. (big_command, medium_command, compact_command, small_command): Define as regular functions rather than with macro trickery. (tm_print_insn): Set to correct disassembler function. * config/h8500/tm-h8500.h: Minor cleanup, add prototypes. (ABOUT_TO_RETURN): #if 0 out. (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Use usual define. (GDB_TARGET_IS_H8500): Remove duplicate definition. (regoff): Remove, never used. * config/h8500/h8500.mt (TDEPFILES): Add monitor.o.
1995-07-31Oops, don't edit a file when your checkin hasn't finishedJ.T. Conklin1-1/+1
1995-07-31* configure.in: Check for unistd.h.J.T. Conklin18-318/+563
* configure: Regenerated. * command.c, cp-valprint.c, fork-child.c, i386-tdep.c, i386b-nat.c, inflow.c, main.c, maint.c, objfiles.c, solib.c, source.c, stack.c, symfile.c, top.c, utils.c: Include strings.h and/or unistd.h to bring prototypes into scope.
1995-07-31Add file documenting basic procedures for gdb release manager to produceFred Fish1-0/+1
FSF releases. Set up .Sanitize to always remove this file.
1995-07-31 * gdb.base/a2-run.exp: Change messages to be more explicit aboutFred Fish1-0/+237
the status of args, and quote binfile in results.