aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
AgeCommit message (Collapse)AuthorFilesLines
1991-09-06Fix some infrastructure to be able to cope with host and targetJohn Gilmore1-49/+33
machines with different sized basic types (ints, ptrs, etc). (Idea from pierre@la.tce.com (Pierre Willard).) * value.c (value_from_longest): Rename from value_from_long. Handle pointer types as well as integers, so that targets with different pointer sizes from the host can be accomodated. * breakpoint.c, convex-tdep.c, eval.c, expprint.c, printcmd.c, valarith.c, valops.c, valprint.c, value.h, values.c: Rename uses of value_from_long to value_from_longest. * eval.c, findvar.c, printcmd.c, valarith.c, valops.c: Pass the correct pointer type to value_from_long{est}. * remote-vx.c: Remove obsolete code for calling functions via vxworks kludge interface (it referenced value_from_long). * valops.c (value_string): Find malloc with lookup_misc_func, not raw search. * breakpoint.c, remote-vx.c: Reword strings printed by catch_errors callers.
1991-05-30Roll in Tiemann changes for gcc -ansi. Fix assorted bugs. See ChangeLog.John Gilmore1-7/+13
1991-04-26 * valops.c (typecmp): If t2 == 0, return 1.Jim Kingdon1-23/+39
* valops.c (value_struct_elt_for_address): Call check_stub_method. * valops.c (value_struct_elt): Remove found, arg1_as_ptr. * valops.c (search_struct_method): Give error if j > 0 && args == 0. * valops.c (search_struct_field): New argument looking_for_baseclass. Give error if value_static_field or value_primitive_field return NULL. valops.c (various): Call search_struct_field with extra parameter.
1991-04-24 values.c (value_virtual_fn_field): If there is no fcontext,Jim Kingdon1-1/+1
then do things the way GDB 3.x did. valops.c (search_struct_method): Add type to value_virtual_fn_field arguments.
1991-04-20 * findvar.c (read_register_gen): Add "target byte-order" comment.Jim Kingdon1-1/+9
Wed Apr 17 17:09:48 1991 Jim Kingdon (kingdon at cygint.cygnus.com) * i386-tdep.c (i386_get_frame_setup): Use SWAP_TARGET_AND_HOST before returning locals or slocals. * i386-tdep.c (i386_follow_jump): Do not add data16 to pos in call to codestream_seek; add one to pos if (and only if) we are dealing with a jump with data16 == 1 (i.e. 0x66, 0xe9). Mon Apr 15 12:04:32 1991 Jim Kingdon (kingdon at cygint.cygnus.com) * valops.c (call_function_by_hand): Put dummy1 in target order before FIX_CALL_DUMMY. * tm-i386v.h (FIX_CALL_DUMMY): Don't depend on host byte order. Sun Apr 14 11:55:19 1991 Jim Kingdon (kingdon at cygint.cygnus.com) * valops.c (push_word): Add SWAP_TARGET_AND_HOST. * remote.c (remote_open): Send '+' before calling putpkt(). * tm-i386v.h (REGISTER_VIRTUAL_TYPE): Return pointer to void, not int, for pc, fp, and sp. * remote.c (remote_open): Call start_remote after putpkt("?");
1991-03-28Initial revisionK. Richard Pixley1-0/+1478
1990-09-05Initial revisionJohn Gilmore1-1251/+0
2012-06-03gdb-3.5gdb-3.51-7/+5
2012-06-03gdb-3.4gdb-3.41-2/+5
2012-06-03gdb-3.3gdb-3.31-63/+108
2012-06-03gdb-3.1gdb-3.11-57/+193
2012-06-03gdb-2.8.1gdb-2.8.11-22/+491
2012-06-03gdb-2.8gdb-2.81-438/+14
2012-06-03gdb-2.5.3gdb-2.5.31-2/+3
2012-06-03gdb-2.5.2gdb-2.5.21-16/+15
2012-06-03gdb-2.5.1gdb-2.5.11-14/+438
2012-06-03gdb-2.4+.aux.coffgdb-2.4+.aux.coff1-0/+600