aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
AgeCommit message (Collapse)AuthorFilesLines
1992-02-21* core.c, exec.c, solib.c: Rename target_ops sections =>John Gilmore1-60/+57
to_sections, etc. * infcmd.c, inflow.c, infptrace.c, infrun.c, main.c, target.c, target.h: target_kill takes no args.
1991-11-22* main.c: Use getcwd rather than getwd.John Gilmore1-3/+3
* standalone.c: Fake getcwd rather than getwd. * xm-*.h: Remove fake values of MAXPATHLEN.
1991-11-21* defs.h: Incorporate param.h. All users changed.John Gilmore1-5/+25
* param-no-tm.h: Change users to define TM_FILE_OVERRIDE instead. * param.h, param-no-tm.h: Removed. * Update copyrights in all changed files. * dbxread.c, dwarfread.c, inflow.c, infrun.c, m2-exp.y, putenv.c, solib.c, symtab.h, tm-umax.h, valprint.c: Lint. * tm-convex.h, tm-hp300hpux.h, tm-merlin.h, tm-sparc.h, xm-merlin.h: Avoid host include files in target descriptions. * getpagesize.h: Removed, libiberty copes now.
1991-10-28* main.c (initialize_history): Read history after reading allStu Grossman1-18/+32
init files.
1991-10-15Changes from Fred Fish:John Gilmore1-12/+24
* tm-68k.h (FPI_REGNUM): Add. * infrun.c (child_create_inferior): flush stdout and stderr before forking. * configure.in: Handle amigados, amix hosts and targets. * inflow.c: Handle TIOCGLTC_BROKEN for Amiga. From Andreas Schwab: * values.c (show_convenience): Use printf_filtered. * main.c (define_command): Check result of lookup_command for exact match. (echo_command): Use printf_filtered, and force output out. * dbxread.c (read_enum_type): Avoid Modula-2 kludge that breaks C programs. * i387-tdep.c (double_to_i387): Fix typo for double_to_ieee_extended. * utils.c (_initialize_utils): If !ISATTY, don't paginate.
1991-09-19* main.c (execute_command): Warn as language changes automatically.John Gilmore1-2/+37
(main): If error() is called during early initialization, print its message and then exit(1) from GDB.
1991-09-10* utils.c (error): if error_pre_print is set, print the stringJohn Gilmore1-25/+48
first. * main.c (main, print_gnu_advertisement, print_gdb_version): Reformat legalese so it always prints, but acts as an "I'm here" message while symbols are being read. If any errors occur, print a few newlines to set off the message and start it at the left margin. Remove mention of "help" command, and don't yak about symbol reading. (catch_errors): Error string is now printed first in case of error, not last. * command.c (undef_cmd_error, lookup_cmd): On undefined command, suggest the "help" command. * Makefile.in (VERSION): Set to 4.0.2.
1991-09-04Make writing to files work properly. (Fixes to BFD are also needed.)John Gilmore1-91/+25
* 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-08-14 * source.c: #if defined => #ifdef.John Gilmore1-11/+20
* main.c (main): Only try to attach "corefile" argument if it starts with a digit.
1991-05-02The list of changes is too long to fit in the cvs log (since it truncates!).Jim Kingdon1-0/+8
Look at the ChangeLog for Apr 30 and May 1.
1991-04-24 * main.c (cd_command): Call dont_repeat.Jim Kingdon1-0/+4
* dbxread.c (read_struct_type): If const/volatile character is missing, don't complain, just continue. * dbxread.c (read_struct_type): Only try to read the fcontext if it is there. Also change "error_type " to "return error_type ". values.c (value_virtual_fn_field): If there is no fcontext, then do things the way GDB 3.x did. valops.c (search_struct_method): Add type to value_virtual_fn_field arguments. * dbxread.c (read_struct_type): Fix typo: *pp != '\0' -> **pp != '\0'.
1991-04-19 * main.c: New HAVE_SIGSETMASK #ifdefs.Jim Kingdon1-0/+9
1991-04-19*** empty log message ***Jim Kingdon1-16/+37
1991-03-28Initial revisionK. Richard Pixley1-0/+2127
1990-09-05Initial revisionJohn Gilmore1-1867/+0
2012-06-03gdb-3.5gdb-3.51-31/+40
2012-06-03gdb-3.4gdb-3.41-0/+30
2012-06-03gdb-3.3gdb-3.31-296/+830
2012-06-03gdb-3.1gdb-3.11-51/+116
2012-06-03gdb-2.8.1gdb-2.8.11-1/+1
2012-06-03gdb-2.8gdb-2.81-19/+148
2012-06-03gdb-2.5.1gdb-2.5.11-34/+62
2012-06-03gdb-2.4+.aux.coffgdb-2.4+.aux.coff1-0/+1072