aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1995-09-21 * gdb.disasm/sh3.s (fmac): Update for new assembler syntaxJeff Law1-0/+7
* gdb.disasm/sh3.exp (fmac): Corresponding changes.
1995-09-21 * op50-rom.c (op50n_cmds): Send ".\r" after the interruptJeff Law2-1/+6
character.
1995-09-20add maintainer-clean Makefile targetsIan Lance Taylor7-7/+33
1995-09-20Wed Sep 20 08:16:03 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+7
* defs.h (xmalloc, xrealloc): Delete, they're declared in libiberty.h. (GETENV_PROVIDED, FCLOSE_PROVIDED): New. * doc/gdbint.texinfo (GETENV_PROVIDED, FCLOSE_PROVIDED): Document. * remote-sim.[ch] (sim_callback_write_stdout): New.
1995-09-20Wed Sep 20 08:16:03 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-4/+4
* defs.h (xmalloc, xrealloc): Delete, they're declared in libiberty.h. (GETENV_PROVIDED, FCLOSE_PROVIDED): New. * doc/gdbint.texinfo (GETENV_PROVIDED, FCLOSE_PROVIDED): Document. * remote-sim.[ch] (sim_callback_write_stdout): New.
1995-09-20Wed Sep 20 08:16:03 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain3-4/+35
* defs.h (xmalloc, xrealloc): Delete, they're declared in libiberty.h. (GETENV_PROVIDED, FCLOSE_PROVIDED): New. * doc/gdbint.texinfo (GETENV_PROVIDED, FCLOSE_PROVIDED): Document. * remote-sim.[ch] (gdbsim_write_stdout): New.
1995-09-19 * gdbtypes.c (create_set_type): Set TYPE_LENGTH in bytes, not bits.Per Bothner3-7/+29
* valops.c (value_bitstring): TYPE_LENGTH is bytes, not bits. * gdbtypes.c (force_to_range_type): Calculate upper limit of TYPE_CODE_CHAR depending on TYPE_LENGTH (instead of just using 255).
1995-09-18 * somsolib.c (auto_solib_add_at_startup): Delete definition. NoJeff Law2-11/+5
longer needed.
1995-09-16 * config/mips/tm-mips.h (UNUSED_REGNUM): Define.Peter Schauer3-0/+8
* mipsv4-nat.c (supply_gregset): Fill UNUSED_REGNUM register with zero.
1995-09-15 * remote-sim.c (gdbsim_create_inferior): Back out change thatStu Grossman2-6/+5
broke all simulator configurations except the rs6000.
1995-09-14 * monitor.c (monitor_expect): Discard NULL characters.Jeff Law1-0/+4
Fixes random failures on the OKI board.
1995-09-14 * infcmd.c: Add extern declaration for auto_solib_add_at_startup.Kung Hsu1-0/+4
1995-09-14 * symfile.c: Move global variable auto_solib_add_at_startup fromKung Hsu2-2/+8
solib.c to symfile.c. * solib.c: ditto. * symfile.h: Add extern declaration of the above mentioned variable. * infcmd.c: Take out extern declaration, since it's in symfile.h.
1995-09-14 * coffread.c (coff_symtab_read): Complain about unmatched .ef andStu Grossman1-1/+6
.eb symbols instead of segfaulting.
1995-09-13 * stbsread.c (read_one_struct_field): Use subfile language instead ofKung Hsu2-1/+6
global language. Improve efficiency.
1995-09-13 * somsolib.c (auto_solib_add_at_startup): Define new global variable.Jeff Law2-1/+32
(som_solib_create_inferior_hook): Don't add libraries if auto_solib_add_at_startup is zero. (_initialize_som_solib): Add command to toggle auto_solib_add_at_startup.
1995-09-13 * monitor.c (monitor_make_srec): Fix thinkos in computationJeff Law2-23/+23
of addr_size. Critical patch from Stu.
1995-09-12 * stabsread.c: To include language.h and expression.h for the reasonKung Hsu2-0/+5
above.
1995-09-12 * stabsread.c (read_one_struct_field): Add a patch to handle cfrontKung Hsu2-1/+33
generated stabs that each field is in full mangled name.
1995-09-12 * infcmd.c (attach_command): Add solibs only whenKung Hsu2-2/+10
auto_solib_add_at_startup is set.
1995-09-12 * NEWS: Add information about remote target caching.Fred Fish2-0/+15
1995-09-11 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"Fred Fish2-0/+61
xfails when not gcc compiled for "print foo::funclocal". (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for: "print foo::funclocal at foo", "print 'scope1.c'::foo::funclocal at foo", "print foo::funclocal_bss at foo", "print 'scope1.c'::foo::funclocal_bss at foo", "print foo::funclocal_ro at foo", "print 'scope1.c'::foo::funclocal_ro at foo", "print bar::funclocal at foo" and "print 'scope1.c'::bar::funclocal at foo". (test_at_bar): Add "hppa*-*-hpux*" xfails when not gcc compiled for "print foo::funclocal at bar". Expand all messages to ensure that they identify that the test is at bar(). * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not gcc compiled for: "ptype on opaque struct pointer (statically)", "ptype on opaque struct tagname (statically)", "ptype on opaque struct pointer (dynamically) 1", "ptype on opaque struct tagname (dynamically) 1", "ptype on opaque struct pointer (dynamically) 2" and "ptype on opaque struct tagname (dynamically) 2 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not gcc compiled for: "p datalocal" "whatis datalocal", "ptype datalocal", "p bsslocal", "whatis bsslocal", and "ptype bsslocal". * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for "backtrace in langs.exp" and "up to langs0__2do in langs.exp" when not gcc compiled. * gdb.base/funcargs.exp (float_and_integral_args): Add "hppa*-*-hpux*" xfail for "run to call2a" when not gcc compiled. (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for "backtrace from call6a" when not gcc compiled. (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for "backtrace from call7a" when not gcc compiled. * gdb.base/callfuncs.exp (do_function_calls): Add "hppa*-*-hpux*" xfail when not gcc compiled for "p t_char_array_values(char_array_val2,char_array_val1)", "p t_char_array_values(char_array_val1,char_array_val2)", "p t_char_array_values("carray 1","carray 2")", "p t_char_array_values("carray 1",char_array_val2)", "p t_char_array_values(char_array_val1,"carray 2")", "p sum_args(1,{2})", "p sum_args(2,{2,3})", "p sum_args(3,{2,3,4})", "p sum_args(4,{2,3,4,5})" * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for "backtrace in corefile.exp" when not gcc compiled.
1995-09-11 * defs.h: Only include mmalloc.h if NO_MMALLOC is notFred Fish2-0/+19
defined.
1995-09-10Sun Sep 10 10:24:48 1995 Michael Tiemann <tiemann@axon.cygnus.com>Michael Tiemann3-2/+32
* tm-ppc-eabi.h (PC_IN_CALL_DUMMY): Redefine this to work with the simulator. FIXME. * rs6000-tdep.c (push_dummy_frame): Calculate the correct link register offset from the current frame (don't assume it is always 8). (push_dummy_frame): Add comment about having only 4096 bytes of stack space in the simulator (by default). * remote-sim.c (gdbsim_create_inferior): Call `add_text_to_loadinfo' so that gdb can find TOC entries when calling functions in the inferior. With this changes, it is now possible to correctly call inferior functions in the PPC simulator.
1995-09-10 * sparc-tdep.c (fill_fpregset): Fix incorrect FP_MAX_REGNUMPeter Schauer1-0/+6
substitution. (supply_fpregset): Use FP_MAX_REGNUM.
1995-09-09 * stabsread.c (read_enum_type): Exit loop for putting pendingPeter Schauer2-1/+7
enum symbols into the enum type correctly if we had no pending symbols on entry to read_enum_type.
1995-09-09 * gdb.base/signals.exp: Rewrite `handle all print' test asPeter Schauer1-0/+7
a procedure. Accept blanks or TABs as whitespace, increase timeout and expect input buffer size for the large output from the command. Remove "i*86-*-bsdi2.0" xfail.
1995-09-09 * inferior.h: Add extern declaration of inferior_environ.Kung Hsu2-4/+10
* solib.c (solib_map_sections): To get inferior's env instead of gdb's for LD_LIBRARY_PATH, same for PATH.
1995-09-08 * solib.c (solib_map_sections): Copy full path name into so_listKung Hsu2-8/+35
structure so that symbol_file_add can find it.
1995-09-06 * config/sparc/tm-sp64.h (REGISTER_RAW_SIZE): Lower 32 fp regsDavid Edelsohn1-5/+8
have size 4. (REGISTER_VIRTUAL_SIZE): Likewise. (REGISTER_VIRTUAL_TYPE): Lower 32 fp regs have type float. Upper 32 fp regs have type double. * sparc-tdep.c (NUM_SPARC_FPREGS): Replace with (FP_REGISTER_BYTES): this, and update all uses. (FP_MAX_REGNUM): Define if not already. (get_saved_register): Handle new sparc64 fp regs. (sparc_frame_find_saved_regs): Likewise. (sparc_print_register_hook): Only print fp regs < 32 as doubles. Add code to handle long doubles when gdb does. (_initialize_sparc_tdep): Use print_insn_sparc64 if sparc64.
1995-09-02 * gdb.base/setvar.exp: Add new testcases for truncation whenPeter Schauer1-0/+5
assigning invalid values to bitfields.
1995-09-02 * configure.in: Explicitly `exit 0' for broken shells.Peter Schauer4-0/+19
* configure: Rebuilt. * symtab.c (list_symbols): Add missing blank after `<function, no debug info>' output. * valops.c (value_assign): Handle truncation when assigning to bitfields. Use value_copy to construct the return value from toval. * values.c (value_copy): Copy VALUE_FRAME and VALUE_OPTIMIZED_OUT.
1995-09-02 * gdb.base/callfuncs.exp (do_function_calls): RemoveFred Fish2-3/+10
mips-sgi-irix* xfail for "call inferior func with struct - returns char *" and fix test so that an optional (unsigned char *) cast is accepted in the result.
1995-09-01 * gdb.base/funcargs.exp (float_and_integral_args): RemoveFred Fish3-4/+10
sparc-sun-solaris2* xfail for "print f1 after run to call2a". * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix. * gdb.base/signals.exp: Remove duplicate "handle all print" test that accidentally got checked in.
1995-09-01Ideally the "remote-mips.c" prompt spotting code should be updated toJackie Smith Cashion9-3/+87
spot different prompts at run-time, so as to avoid having target specific versions of gdb. This is a pending TODO. Fri Sep 1 08:25:50 1995 James G. Smith <jsmith@beauty.cygnus.com> * configure (mips64*vr4300*-*-elf): Support added. * remote-mips.c (mips_readchar): Change to allow build-time prompt string. * config/mips/tm-mips.h: Added TARGET_MONITOR_PROMPT. * config/mips/{vr4300.mt, vr4300el.mt, tm-vr4300.h, tm-vr4300el.h}: Added.
1995-08-31 * config/sh/sh.mt (SIM): Add -lm.Jim Wilson2-1/+5
1995-08-31 * rmote-nindy.c (non_dle, nidy_resume, nindy_wait): Changes toKung Hsu2-48/+56
conform to GNU coding standards.
1995-08-29 * remote.c (remote_wait): Revert 19 July my change which should beKung Hsu1-0/+5
customer specific.
1995-08-28 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*Fred Fish8-3/+68
clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc compiled test. * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer): Add mips-sgi-irix5* xfail for not gcc compiled. * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci. * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for "p top", "whatis top", "p middle", and "whatis middle". * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for "whatis signed char" for not gcc compiled. * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for "set variable signed char=-1 (-1)" and "set variable signed char=0xFF (0xFF)" for not gcc compiled. * gdb.base/funcargs.exp (float_and_integral_args): Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled. Add mips-sgi-irix* xfail when not gcc compiled for "continue to call2b". Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for "continue to call2g". (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for "backtrace from call6a" (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail when not gcc compiled for "backtrace from call7a". (localvars_after_alloca): Fix gdb_test cmds for "print * after runto ...". Remove rs6000-*-* xfails for "print i after runto localvars_after_alloca" and "print l after runto localvars_after_alloca" for all compilers. * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5), when not compiled with gcc, for: "print signed char == (minus)", "print signed char != (minus)", "print signed char < (minus)", "print signed char > (minus)". * gdb.base/callfuncs.exp (do_function_calls): Add mips-sgi-irix* xfail, when compiled with native compiler, for "call inferior func with struct - returns char *". * gdb.base/return.exp (return_tests): Change xfail for "correct value returned double test" to include Solaris 2.4. * gdb.base/funcargs.exp (float_and_integral_args): Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1995-08-26 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests forPeter Schauer2-95/+62
enumeration bitfields if compiling with GNU C. * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path to empty' prompt.
1995-08-26 * mdebugread.c (parse_symbol): Handle sh.value of zero for enums.Peter Schauer5-17/+142
Determine signedness of enum type from enumerators. (parse_type): Handle btIndirect types, handle fBitfield for some non-member types. (upgrade_type): Use TYPE_FLAG_TARGET_STUB for arrays with unknown length. (cross_ref): Handle stIndirect forward reference to btTypedef. * stabsread.c (read_enum_type): Determine signedness of enum type from enumerators. * top.c (execute_command): Remove trailing whitespace from command arguments, except for `set' and `complete' commands. (validate_comname): Allow underscores in user defined command names. * values.c (modify_field): Change `Value does not fit in %d bits' error to a warning. Exclude sign extension bits of negative field values from fit check.
1995-08-25Only build PowerPC simulator if target is powerpc*-*-eabisimMichael Meissner8-36/+102
1995-08-23Link in PowerPC simulator.Michael Meissner3-0/+14
1995-08-22 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before runJeff Law2-0/+9
test for PRO targets.
1995-08-22 * tm-hppa.h (EXTRACT_RETURN_VALUE): Fix for FP values.Jeff Law1-0/+2
1995-08-22 * tm-hppa.h (STORE_RETURN_VALUE): Fix to work with -msoft-floatJeff Law2-3/+16
calling conventions too. Use the TYPE of the return value, not its length to determine if it should also be copied into the floating point registers.
1995-08-22 * tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete. Causes moreJeff Law3-8/+32
problems than it fixes. * hppa-tdep.c (skip_prologue): If we exit the main loop without finding all the register saves, retry again without looking for the registers we could not find the first time. Better fix for 7768.
1995-08-22Opps. Fix thinko in last change.Jeff Law1-7/+7
1995-08-22 * gdb.base/funcargs.exp: Avoid ever setting more than 8Jeff Law2-7/+26
breakpoints in the inferior at any given time by making two groups of breakpoints for call2*, call6* and call7* tests.
1995-08-22 * hppa-tdep.c (frame_chain_valid): Handle systems where "$START$"Jeff Law2-1/+17
calls "main" directly. (skip_prologue): Always assume arguments were saved into the stack since GCC will do so without setting the magic Args_Saved bit in the unwind descriptor.