aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
AgeCommit message (Collapse)AuthorFilesLines
1991-09-19* breakpoint.c (breakpoint_cond_eval): Use new value_true to testJohn Gilmore1-15/+26
breakpoint condition language-independently. Output hex with local_hex_string for Modula-2 support.
1991-09-06Fix some infrastructure to be able to cope with host and targetJohn Gilmore1-3/+4
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-09-04Make writing to files work properly. (Fixes to BFD are also needed.)John Gilmore1-19/+68
* core.c (core_open): Open file ourselves, read or r/w, depending on write_files. Use bfd_fdopenr. * gdbcore.h (write_files): New variable. * exec.c (write_files): Define variable, add set&show for it. (exec_file_command): Use write_files to open for read or r/write. Make shared library reading happen automatically. These changes are mostly from Peter Schauer <pes@regent.e-technik.tu-muenchen.de>. * inferior.h (stop_soon_quietly): Add to exported variables. * infrun.c (child_create_inferior): call solib hook, if defined. (child_attach): call solib hook, if defined. * solib.c: Include inferior.h. Add from_tty to so_list as kludge. (find_solib): Use lookup_misc_func rather than hand-rolled. (symbol_add_stub): New stub for catch_errors. (solib_add): Avoid output if !from_tty. Catch errors rather than just calling symbol_file_add and bombing. (solib_create_inferior_hook): Interface with the target process to let it read and alloc shared libs, then figure out what it did. * core.c (validate_files): Fix typo, soften warning. (Fix from Hiroto Kagotani <kagotani@cs.titech.ac.jp>.) * utils.c (fputs_demangled): Avoid duplicate printing if demangling is off. (Fix from J.T. Conklin <jtc@cayenne.com>.) * infrun.c (proceed): Cast -1 to (CORE_ADDR) before comparing. (Fix from pierre@la.tce.com (Pierre Willard).) * main.c (catch_errors): Change argument to a char * from an int, since a char * can point to a struct full of glop, but an int is not guaranteed to be able to hold a pointer. * breakpoint.c (breakpoint_cond_eval, bpstat_stop_status, breakpoint_re_set_one, breakpoint_re_set): Adapt. * core.c (core_open, solib_add_stub): Adapt. * remote-vx.c (symbol_stub, add_symbol_stub, callers): Adapt.
1991-04-22Check for NULL selected_frame in various places.Jim Kingdon1-3/+11
1991-04-22 * breakpoint.c (bpstat_print): Try all elements on the bpstatJim Kingdon1-2/+15
chain before giving up with an internal error. Sun Apr 21 21:43:10 1991 Jim Kingdon (kingdon at cygint.cygnus.com) * value.h, values.c (value_{,free_to_}mark): New functions. breakpoint.c (bpstat_stop_status): Use them.
1991-04-19*** empty log message ***Jim Kingdon1-0/+83
1991-04-19*** empty log message ***Jim Kingdon1-11/+35
1991-03-28Initial revisionK. Richard Pixley1-0/+2259
1990-09-05Initial revisionJohn Gilmore1-1373/+0
2012-06-03gdb-3.5gdb-3.51-3/+12
2012-06-03gdb-3.4gdb-3.41-0/+1
2012-06-03gdb-3.3gdb-3.31-39/+88
2012-06-03gdb-3.1gdb-3.11-105/+264
2012-06-03gdb-2.8.1gdb-2.8.11-69/+112
2012-06-03gdb-2.8gdb-2.81-118/+87
2012-06-03gdb-2.5.1gdb-2.5.11-70/+117
2012-06-03gdb-2.4+.aux.coffgdb-2.4+.aux.coff1-0/+1096