| 1 | Fri Dec 28 00:13:42 1990 John Gilmore (gnu at cygint) |
| 2 | |
| 3 | Further stabilization for the Intel 960. |
| 4 | |
| 5 | * Makefile.dist: Parameterize the location of the "include" |
| 6 | and "bfd" directories, as well as "getopt". Add symfile.c. |
| 7 | Link in both dbxread and coffread. Fix up "make depend" to |
| 8 | rewack the locations of include, bfd, and getopt in its output. |
| 9 | |
| 10 | * README: Document moving include files, improve some of |
| 11 | the other doc. |
| 12 | |
| 13 | * coffread.c: Move common code out to symfile.c. Change |
| 14 | symbol_file_command style interface to use new *_symfile_init |
| 15 | and *_symfile_read interface under BFD. Use BFD internal |
| 16 | info to locate line table, symbols, etc. |
| 17 | |
| 18 | * core.c (core_fetch_registers): Rename to get_core_registers |
| 19 | to avoid confusion with fetch_core_registers. |
| 20 | (register_addr): Move to coredep.c, which is already machine |
| 21 | dependent. This leaves core.c pretty clean of dependencies. |
| 22 | |
| 23 | * coredep.c (register_addr): Accept this routine from core.c. |
| 24 | |
| 25 | * dbxread.c: Move common code (with coffread.c, etc) into new |
| 26 | symfile.c. Each psymtab now contains a pointer to the |
| 27 | format-dependent function that knows how to read it in. Make |
| 28 | some things static. |
| 29 | (dbx_psymtab_to_symtab): Renamed from psymtab_to_symtab_2. |
| 30 | (process_one_symbol): Add code to complain about a "compiler bug |
| 31 | we muzzle here", if we actually see it. |
| 32 | |
| 33 | * eval.c (evaluate_subexp): Insert missing "break" statements |
| 34 | in code that determines whether a variable is an lvalue in |
| 35 | memory, register, or whatever. I detected this via a compiler |
| 36 | bug in which it *almost* mashed out the whole switch statement. |
| 37 | |
| 38 | * gdb-int.texinfo: Add minor sections on configuring gdb for |
| 39 | release, and about the README file. |
| 40 | |
| 41 | * infcmd.c (registers_info): Fix formatting somewhat. Still |
| 42 | not as pretty as before, but it handles byte swapping. |
| 43 | |
| 44 | * remote-nindy.c: If data cache routines are interrupted while |
| 45 | waiting for the remote end, be sure that any uninitialized cache |
| 46 | blocks are on the free list, not on the valid list! |
| 47 | |
| 48 | * symfile.h: Flesh out this header file with all the various |
| 49 | routines and variables that have been merged in from dbxread.c |
| 50 | coffread.c, and symtab.c to symfile.c. |
| 51 | |
| 52 | * symfile.c: New file, containing code common to dbxread.c, |
| 53 | coffread.c, and some code from symtab.c. All generic code for |
| 54 | reading symbol files should be in here now. |
| 55 | (unrecord_misc_function): Remove unused function. |
| 56 | |
| 57 | * symtab.h: Remove file-reading things to symfile.h. |
| 58 | |
| 59 | * symtab.c: Remove file-reading things to symfile.c. |
| 60 | |
| 61 | * tm-i960.h: Fix FRAME_CHAIN types; define PRINT_RANDOM_SIGNAL |
| 62 | to decode i960 fault types. |
| 63 | |
| 64 | * target.h, remote.c, remote-eb.c, remote-vx.c, remote-nindy.c, |
| 65 | target.c: Change type of the "resume" function from int to void, |
| 66 | since its result was never used. |
| 67 | |
| 68 | Sat Dec 22 02:51:40 1990 John Gilmore (gnu at cygint) |
| 69 | |
| 70 | * main.c: Replace "stupid" with "caution"; you now "set caution |
| 71 | on or off". |
| 72 | |
| 73 | * printcmd.c (print_scalar_formatted): Fix typo in 'g' format |
| 74 | |
| 75 | * infcmd.c (do_registers_info): Call val_print to deal with the |
| 76 | byte order of the registers being printed. FIXME, this makes |
| 77 | the formatting of the output uglier. |
| 78 | |
| 79 | * infcmd.c (wait_for_inferior): If PRINT_RANDOM_SIGNAL is |
| 80 | defined, call it for signals the debugger doesn't itself use. |
| 81 | The i960 uses this for more detailed fault information. |
| 82 | |
| 83 | * remote.c (remote_open): If arg is null, print help rather than |
| 84 | dumping core. |
| 85 | |
| 86 | * sparc-xdep.c (register_valid): Avoid declaring size, since |
| 87 | various modules will think of various sizes depending on the |
| 88 | architecture of their tm-file. FIXME, we need protection against |
| 89 | actually entering one of those modules, which would clobber |
| 90 | storage if not for the target architecture compiled into gdb. |
| 91 | |
| 92 | * stack.c (up_command, down_command): Always print the frame |
| 93 | you arrive at. |
| 94 | (up_silently_command, down_silently_command): New commands |
| 95 | for use in scripts. |
| 96 | |
| 97 | * i960-pinsn.c (reg), i960-tdep.c: Lint. |
| 98 | |
| 99 | * i960-tdep.c (i960_frame_chain_valid): Lookup_symbol now takes |
| 100 | more parameters than it used to. |
| 101 | |
| 102 | * findvar.c (registers): Increase slop to 256 bytes, which should |
| 103 | protect us against even most RISC machines with large register |
| 104 | sets. |
| 105 | (locate_var_value): Move declaration inside related ifdef. |
| 106 | |
| 107 | * remote-nindy.c (): Use TIOCSETN rather than TIOCSETP |
| 108 | throughout, to avoid throwing away buffered input from the board. |
| 109 | (nindy_wait): Supply_register takes addr_of_value, not value. |
| 110 | (i960_print_fault): Renamed from i80960_fault. |
| 111 | (nindy_fetch_registers): Avoid have_regs stuff, just get them. |
| 112 | (nindy_store_registers): Avoid regs_changed stuff, just stuff |
| 113 | them. |
| 114 | (nindy_create_inferior): Don't bother to write PC_REGNUM since |
| 115 | we can set the PC in the call to proceed(). Unpush nindy_ops |
| 116 | before pushing it on top, to avoid message to user. Eliminate |
| 117 | commentary from Unix machines that just misleads here. |
| 118 | (reset_command): Fix error message to suggest target command. |
| 119 | |
| 120 | Wed Dec 19 11:03:56 1990 John Gilmore (gnu at cygint) |
| 121 | |
| 122 | Release 3.92.5 as frozen. |
| 123 | |
| 124 | Stabilize the merged release...with help from lint, Saber C, |
| 125 | gcc -W, etc. |
| 126 | |
| 127 | Everywhere: Add include files needed to declare return types |
| 128 | of functions called. |
| 129 | |
| 130 | * gdb.texinfo: Roland Pesch is documenting gdb, glory be! |
| 131 | |
| 132 | * breakpoint.h: Add undeclared breakpoint functions, and some |
| 133 | functions for display handling since I couldn't think of a better |
| 134 | .h to put them in. |
| 135 | |
| 136 | * breakpoint.c (insert_breakpoints): Make code for disabling |
| 137 | shared library bkpts more likely to work. It's used when we |
| 138 | rerun a program and stop before the shared library has been |
| 139 | mapped in. |
| 140 | (breakpoint_cond_eval, bpstat_stop_status): Pass arg as int, |
| 141 | cast from pointer, so it squeezes through catch_errors. |
| 142 | (bpstat_stop_status): Fix logic broken some time ago. We now |
| 143 | always create a bpstat if the stop address matches a breakpoint, |
| 144 | even if we don't stop there -- just like the old code used to do |
| 145 | before I got my fingers into it (sigh). |
| 146 | (breakpoint_1): Print "ignore count" after "stop only if" |
| 147 | condition, since that's how it actually works. |
| 148 | (mention): Handle watchpoints as well as breakpoints. |
| 149 | (watch_command): use set_raw_breakpoint and mention to do most |
| 150 | of the work (and initialize all the fields!). Only pass one |
| 151 | arg to parse_c_expression, since that's all it takes. |
| 152 | |
| 153 | * command.c (not_just_help_class_command): Rename arg to args |
| 154 | since we ignore "unused argument" warnings on vars named "args". |
| 155 | inflow.c (child_terminal_info): ditto. |
| 156 | infptrace.c (kill_inferior): ditto |
| 157 | main.c (catch_errors, version_info, quit_command, pwd_command, |
| 158 | source_command, dump_me_command, editing_info, |
| 159 | set_history_size_command, set_history, show_history, |
| 160 | set_verbose): ditto |
| 161 | stack.c (locals_info): ditto |
| 162 | target.c (target_files_info): ditto |
| 163 | valprint.c (set_input_radix, set_output_radix): ditto |
| 164 | |
| 165 | * core.c: Remove old variables for handling core and exec file |
| 166 | sections (data_start, data_end, stack_start, stack_end, |
| 167 | reg_stack_start, reg_stack_end, reg_stack_offset, text_start, |
| 168 | text_end, exec_data_start, exec_data_end, text_offset, |
| 169 | exec_data_offset, data_offset, stack_offset). They're |
| 170 | superseded the more general build_section_table and |
| 171 | xfer_memory. |
| 172 | (get_exec_file): Mention the `file' command. |
| 173 | (read_memory_check): Rename to memory_error, and only call it |
| 174 | in the case of an actual error. |
| 175 | (read_memory, write_memory): call memory_error. |
| 176 | (core_fetch_registers): Register section name is ".reg". |
| 177 | |
| 178 | coredep.c: Remove a bunch of crud now that all this file does |
| 179 | is pull the registers out of a core file. |
| 180 | (fetch_core_registers): Rewrite to actually work, I hope. |
| 181 | |
| 182 | dbxread.c: Use a.out.gnu.h, not system a.out, now. |
| 183 | Replace index() with strchr(). Remove all the pre-BFD macro |
| 184 | definitions for accessing the symbol file. |
| 185 | (struct dbx_symfile_info): Encapsulate the information that |
| 186 | dbx_symfile_init needs to pass to dbx_symfile_read in this |
| 187 | struct. |
| 188 | |
| 189 | (dbx_new_init, dbx_symfile_init, dbx_symfile_read, |
| 190 | dbx_symfile_discard): Rearrange symbol file reading to divide |
| 191 | the format-specific part from the format-independent part, |
| 192 | leaving the format-independent part such as file name expansion |
| 193 | and opening in symtab.c. This replaces |
| 194 | partial_symbol_file_open and partial_symbol_file_read. |
| 195 | Symbol_file_read, add_file, add_file_target_command, |
| 196 | add_file_addr_command move to symtab.c. Pass an explicit |
| 197 | "mainline" flag for when reading the main symbol table, rather |
| 198 | than relying on the offset address to be zero or nonzero. |
| 199 | |
| 200 | (dbx_symfile_read): Don't allow void *'s to be printed as |
| 201 | typedefs. |
| 202 | (SWAP_SYMBOL): Use bfd routines to byte-swap the symbols. |
| 203 | (ADD_PSYMBOL_TO_LIST): Make the "function call rather than |
| 204 | macro" debug version really work. |
| 205 | (read_dbx_symtab): Remove unref'd parameter inclink. |
| 206 | Avoid swapping N_SLINE symbols, for speed. |
| 207 | Merge N_TEXT!N_EXT case with the other external symbol |
| 208 | definitions' case. Add comments. |
| 209 | (start_psymtab): Allocate the symfile name in the psymtab on |
| 210 | the psymbol_obstack, rather than using the caller's storage. |
| 211 | (end_psymtab): Only allocate a dependencies list if there are |
| 212 | more than zero. |
| 213 | (psymtab_to_symtab_2): Use BFD when reopening file to read |
| 214 | its symbols for real. |
| 215 | (read_struct_type): Add FIXME comments where it needs work |
| 216 | for C++ bogosity. |
| 217 | (read_huge_number): Add FIXME about overflows. |
| 218 | (read_range_type): Add FIXME about comparing a long to 1<<32. |
| 219 | |
| 220 | * coffread.c: Minor changes to move things closer to the new |
| 221 | regime with symtab.c and dbxread.c Major work is still needed |
| 222 | here. |
| 223 | |
| 224 | * exec.c (exec_file_command): Remove old variables (see core.c |
| 225 | above). |
| 226 | (xfer_memory): If memory transfer is right at the end of a |
| 227 | section, don't lose. |
| 228 | |
| 229 | * findvar.c (get_saved_register): If value is in a real |
| 230 | register, LVAL is lval_register, not lval_memory. |
| 231 | |
| 232 | frame.h: Declare print_sel_frame and record_selected_frame. |
| 233 | |
| 234 | gdb-int.texinfo: New file, for GDB internals documentation. |
| 235 | Very simple, unformatted doc of cleanups is there for now. |
| 236 | |
| 237 | gdbcore.h: Remove obsolete variables that described a.out |
| 238 | section addresses and offsets. (See core.c above.) |
| 239 | Declare fetch_core_registers and registers_fetched. |
| 240 | |
| 241 | getopt.c: Declare char *alloca(); even on SPARC. |
| 242 | |
| 243 | infcmd.c (run_command): Call target_kill rather than |
| 244 | kill_inferior. |
| 245 | (step_command, next_command, stepi_command, nexti_command): |
| 246 | Declare from_tty parameter even though we don't use it. |
| 247 | (run_stack_dummy): argument BUFFER is a char array, not |
| 248 | a pointer to REGISTER_TYPE. |
| 249 | (finish_command): using_struct_return needed a value *, |
| 250 | not a struct symbol *. |
| 251 | |
| 252 | * infptrace.c (child_xfer_memory): To avoid dependency on |
| 253 | where sections are in memory, try PT_WRITE_D and if that fails, |
| 254 | try PT_WRITE_I. Most Unixes don't care which you use. |
| 255 | |
| 256 | * infrun.c (step_resume_break_shadow): Change to array to |
| 257 | match other breakpoint shadow storage. |
| 258 | (clear_proceed_status): Pass address of bpstat to |
| 259 | bpstat_clear, not the bpstat itself. |
| 260 | (child_create_inferior): FIXME comment about if the child |
| 261 | exits. |
| 262 | (start_inferior): Remove old function. |
| 263 | (child_open): Use target_kill rather than kill_inferior. |
| 264 | (wait_for_inferior): Ditto. |
| 265 | (insert_step_breakpoint, remote_step_breakpoint): Use |
| 266 | new step_resume_break_shadow. |
| 267 | |
| 268 | * inftarg.c (child_wait): If all child processes die, |
| 269 | pretend that the one being waited for exited with signal 42. |
| 270 | |
| 271 | * main.c (command_line_input): When scanning for comments, |
| 272 | don't coredump on unclosed quotes. |
| 273 | (quit_command): Use target_kill rther than kill_inferior. |
| 274 | (_initialize_main): Rename class_user from "user" to |
| 275 | "user-defined". |
| 276 | |
| 277 | * printcmd.c (print_command_1): Initialize "fmt" if no format |
| 278 | is specified by the user. |
| 279 | (print_frame_args): Only add to args_printed if we are |
| 280 | actually fetching args from the stack (avoiding undefined |
| 281 | arg_size). |
| 282 | (_initialize_printcmd): Remove bogus \{ from string. |
| 283 | |
| 284 | * remote-eb.c (eb_open): Avoid coredump on no argument. |
| 285 | |
| 286 | * remote-nindy.c: Bring out of Intel environment into new |
| 287 | target environment. Remove all conditional compilation on |
| 288 | I80960. Massive hacking throughout. |
| 289 | (nindy_xfer_inferior_memory): New routine stolen from |
| 290 | infptrace.c. |
| 291 | (nindy_create_inferior): New routine pieced together, probably |
| 292 | not quite working yet. |
| 293 | (nindy_ops): New target_ops struct for nindy. |
| 294 | |
| 295 | * remote-vx.c: Use write_memory rather than target_write_memory |
| 296 | to get error checking. |
| 297 | (vx_add_file_command, vx_open): Use symbol_file_add rather than |
| 298 | add_file. |
| 299 | (vx_create_inferior): Use target_terminal_ours... |
| 300 | |
| 301 | * signame.c (_initialize_signame): Always initialize, since |
| 302 | we need the table for things other than psignal. |
| 303 | |
| 304 | * solib.c (solib_add): Use symbol_file_add, not add_file. |
| 305 | (solib_address): Return boolean result rather than struct |
| 306 | pointer which nobody else knows the type of. |
| 307 | |
| 308 | * sparc-tdep.c, valops.c: Use write_memory rather than |
| 309 | target_write_memory, to get error checking. |
| 310 | |
| 311 | * stack.c (locals_info, catch_info, args_info, |
| 312 | get_selected_block, frame_command, up_command): Use |
| 313 | target_has_stack, rather than have_inferior_p or |
| 314 | have_core_file_p. |
| 315 | |
| 316 | * sun3-xdep.c (fetch_core_registers): Rewrite for new BFD regime. |
| 317 | |
| 318 | * symfile.h: New file, defining the interface between the |
| 319 | generic and object-file-specific symbol reading code. |
| 320 | |
| 321 | * symtab.c: Move generic symbol-reading interface to symtab.c, |
| 322 | from dbxread.c, coffread.c, mipsread.c, etc. Add symtab_fns |
| 323 | table to map BFD targets to symbol-reading modules in GDB. |
| 324 | Change index to strchr. |
| 325 | (lookup_struct_elt_type): Use error() rather than hand-made |
| 326 | simulations thereof. |
| 327 | (lookup_partial_symbol): Speedup slightly when length == 0. |
| 328 | (symbol_file_add): New function. |
| 329 | (symbol_file_command): Call it. |
| 330 | (symfile_open, symfile_init): New function. |
| 331 | (add_file_target_command, add_file_addr_command): moved from |
| 332 | dbxread.c. |
| 333 | |
| 334 | * target.c (target_command): use target_kill. |
| 335 | |
| 336 | * target.h (target_files_info): Don't declare, never called |
| 337 | from outside. |
| 338 | |
| 339 | * tm-sun2.h, tm-sun3.h (STACK_END_ADDR): Use system include |
| 340 | files to determine stack end address. |
| 341 | |
| 342 | * valarith.c (value_x_binop, value_x_unop): Change error message |
| 343 | to be more useful. Pass proper argument to value_struct_elt. |
| 344 | |
| 345 | * valops.c (value_assign): FIXME comment that long long |
| 346 | bitfields will break here. |
| 347 | |
| 348 | * Makefile.dist: Add symfile.h, remote-nindy.c, remote-eb.c. |
| 349 | Update `make saber_gdb' to work better. |
| 350 | |
| 351 | * TODO: A woman's work is never done. |
| 352 | |
| 353 | * cplus-dem.c, environ.c, inferior.h, infrun.c, inftarg.c, |
| 354 | main.c, obstack.c, printcmd.c, remote-eb.c, remote-nindy.c, |
| 355 | remote-vx.c, remote.c, solib.c, source.c, sparc-pinsn.c, |
| 356 | sparc-tdep.c, sparc-xdep.c, symmisc.c, symtab.c, symtab.h |
| 357 | target.c, terminal.h, tm-sparc.h, tm-sunos.h, utils.c, |
| 358 | valops.c, valprint.c, exec.c: Lint. |
| 359 | |
| 360 | |
| 361 | Wed Dec 12 23:44:15 1990 John Gilmore (gnu at cygnus.com) |
| 362 | |
| 363 | Continuing Intel 960 port merge of GDB. |
| 364 | |
| 365 | * Makefile.dist: Merge i960 "nindy-share" files. Rename |
| 366 | malloc.h to gmalloc.h to avoid name conflicts in /usr/include. |
| 367 | Don't ship gdb.dvi in tar file. Link gdb with init.o, not init.c. |
| 368 | Wack over "make depend" so it handles files in subdirectories |
| 369 | vx-share, nindy-share, bfd, and in the current directory. |
| 370 | |
| 371 | * blockframe.c (get_prev_frame_info): Remove fatal error |
| 372 | if stack not defined. |
| 373 | |
| 374 | * core.c (core_open, core_detach): New functions that handle |
| 375 | the old "core-file" command as "target core" and "detach" instead. |
| 376 | (core_file_command): Call them. |
| 377 | (core_xfer_memory): Use common routine xfer_memory. |
| 378 | |
| 379 | * dbxread.c: Include a.out.gnu.h, not system a.out.h. |
| 380 | dbxread now uses bfd for everything but symbol reading itself. |
| 381 | BFD internals are used to drag out the relevant file offsets. |
| 382 | (partial_symbol_file_open): Change args all around for BFD. |
| 383 | |
| 384 | * symtab.c: Rename "value" to "val" everywhere, so we can |
| 385 | #include "value.h". |
| 386 | (symbol_file_command): New command, moved from dbxread.c |
| 387 | and coffread.c. It uses BFD to read the file, then vectors |
| 388 | based on its type, to dbx or coff symbol readers. |
| 389 | * symtab.h: Extern a few vars for symbol_file_command. |
| 390 | |
| 391 | * target.h: Breakpoint takes a char * save area, not a char **. |
| 392 | |
| 393 | * valprint.c (val_print): When unpacking bitfields, offset |
| 394 | the address in gdb of the value, if it is declared with a shorter |
| 395 | type. Remove the last "runtime kludge test" of host byte order. |
| 396 | |
| 397 | * utils.c: Remove old my_bfd_read routine. |
| 398 | |
| 399 | * stack.c (frame_info): Use target_has_stack. Print program counter |
| 400 | register's actual name rather than "pc", since it's called the |
| 401 | "ip" (instruction pointer) on the i960 (sigh). |
| 402 | |
| 403 | * target.c (target_command): Add command for selecting a target |
| 404 | type and calling its open routine. This is used for initiating |
| 405 | communication with a particular target, in a generic way. |
| 406 | |
| 407 | * tm-i960.h: Update for modern gdb. Remove semicolons from |
| 408 | various macros. Handle reading struct return convention, and |
| 409 | error-out attempts to return structs with the "return" command. |
| 410 | Be sure gdb doesn't think we know how to call functions in the |
| 411 | inferior. |
| 412 | |
| 413 | * i960-tdep.c: Rename FRAME_CHAIN_VALID and FRAME_FIND_SAVED_REGS |
| 414 | to i960_xxx in lower case. |
| 415 | (arg_address): Circumvent errors due to LOC_ARG_BLOCK |
| 416 | not being defined yet. |
| 417 | |
| 418 | * remote.c (remote_open): Call start_remote to initialize |
| 419 | wait_for_inferior during open. |
| 420 | (remote_xfer_inferior_memory): Return length written rather |
| 421 | than errno value. |
| 422 | |
| 423 | * remote-vx.c (target_command -> vx_open): Use new generic |
| 424 | target command. |
| 425 | * remote-eb.c, inftarg.c, exec.c: ditto. |
| 426 | |
| 427 | * infrun.c: Fix comments. |
| 428 | (attach_program -> child_open): Use new generic target command. |
| 429 | (wait_for_inferior): Clear saved register values before target_wait, |
| 430 | so target_wait can set some of them if convenient. |
| 431 | |
| 432 | * infptrace.c (fetch_inferior_registers, store_inferior_registers): |
| 433 | Return success indicator, not void. |
| 434 | (child_xfer_memory): Avoid fetching initial word if we'll |
| 435 | overwrite it anyway. |
| 436 | |
| 437 | * infcmd.c (attach_command): Use new generic target open routine. |
| 438 | (_initialize_infcmd): Update doc on attach and detach commands. |
| 439 | (do_registers_info): Merge in a byte-order problem as a FIXME |
| 440 | comment. |
| 441 | |
| 442 | * findvar.c (find_saved_register): Avoid problem in current frame. |
| 443 | (read_relative_register): Ditto. |
| 444 | (write_register): Convert byte order on the way out. |
| 445 | |
| 446 | * exec.c (file_command): Add. |
| 447 | (add_to_section_table, exec_command): Use new bfd_map_over_sections. |
| 448 | (xfer_memory): Common function between core_xfer_memory and |
| 449 | exec_xfer_memory. |
| 450 | (exec_xfer_memory): Use it. |
| 451 | |
| 452 | * pn-opcode.h: Document that a "PN" is a Gould PowerNode. |
| 453 | |
| 454 | * breakpoint.c, breakpoint.h, symtab.h, value.h, frame.h, utils.c, |
| 455 | valops.c, stack.c, target.c, sparc-xdep.c, source.c, printcmd.c, |
| 456 | infcmd.c, i960-pinsn.c, eval.c, defs.h: lint and gcc -Wall. |
| 457 | |
| 458 | Sun Dec 2 16:45:06 1990 John Gilmore (gnu at cygnus.com) |
| 459 | |
| 460 | Merge Intel 960 port of gdb, continuing... |
| 461 | |
| 462 | * dbxread.c (partial_symbol_file_open, partial_symbol_file_read, |
| 463 | symbol_file_command): Pass from_tty arg to hush 'em up. |
| 464 | |
| 465 | * coffread.c (symbol_file_command): Avoid output if from_tty != 1. |
| 466 | Add magic numbers for 960 COFF format. |
| 467 | |
| 468 | Fri Nov 30 09:18:20 1990 John Gilmore (gnu at cygnus.com) |
| 469 | |
| 470 | Merge Intel 960 port of gdb, from Intel "1.2" release. |
| 471 | |
| 472 | CHANGE_LOG entries from their port, which was based on |
| 473 | gdb+-2.8.0: |
| 474 | |
| 475 | Thu Sep 6 11:02:22 PDT 1990 |
| 476 | Remove temp file if download is interrupted. |
| 477 | |
| 478 | Wed Aug 1 09:08:33 PDT 1990 |
| 479 | Now uses binary protocol to talk to NINDY. |
| 480 | Old hex protocol (NINDY 2.13 and older) supported with -O switch. |
| 481 | Times out after 5 seconds when trying to talk to NINDY. |
| 482 | |
| 483 | Tue May 29 12:54:49 PDT 1990 |
| 484 | Added variable baud rate (-b switch). |
| 485 | Source code reorganization. |
| 486 | |
| 487 | Thu Apr 26 11:09:55 PDT 1990 |
| 488 | More cleanup of batch mode; specifically, execute "-s", "-e", and |
| 489 | "-se" switches as soon as they are encountered on the invocation line. |
| 490 | |
| 491 | Fri Apr 20 13:47:15 PDT 1990 |
| 492 | Add -brk switch. |
| 493 | |
| 494 | Thu Apr 19 09:54:28 PDT 1990 |
| 495 | Add 'reset' command. |
| 496 | |
| 497 | Wed Apr 18 09:48:07 PDT 1990 |
| 498 | After opening remote tty, wait for 1 second to go by without input |
| 499 | from it before trying to talk to NINDY (fixes problems with the |
| 500 | Heurikon HK80/V960E). |
| 501 | |
| 502 | Mon Apr 4 16:33:05 PDT 1990 |
| 503 | Some output was not being suppressed in 'batch' mode. |
| 504 | |
| 505 | Thu Mar 22 15:31:11 PST 1990 |
| 506 | Ask user if old symbol table should be deleted when new file is |
| 507 | downloaded. |
| 508 | |
| 509 | Allow user to run a program downloaded before gdb960 was brought up. |
| 510 | |
| 511 | Correct "exec-file" help message for i80960 context. |
| 512 | |
| 513 | Correct bug in calculating user space address: could occasionally |
| 514 | corrupt user program. |
| 515 | |
| 516 | Make sure to zero low-order bits in rip's because of bug in 960CA |
| 517 | A-step part: could cause operation faults when "next"ing across |
| 518 | a function call. |
| 519 | |
| 520 | Correct bug that made it impossible to get source line numbers for |
| 521 | code loaded at addresses higher than 0x7fffffff. |
| 522 | |
| 523 | Wed Jan 10 12:43:22 PST 1990 |
| 524 | Open remote tty for exclusive use. |
| 525 | |
| 526 | Fri Jan 5 12:14:42 PST 1990 |
| 527 | Correct disassembly (CA manual was right after all): |
| 528 | opcode for sysctl is 0x659 |
| 529 | |
| 530 | Mon Oct 23 12:03:04 PDT 1989 |
| 531 | Use G960BASE and G960BIN environment variables to find 'sx' utility. |
| 532 | |
| 533 | Mon Oct 16 14:15:09 PDT 1989 |
| 534 | "sfr0"-"sfr31" should have been named "sf0"-"sf31" |
| 535 | |
| 536 | Mon Oct 2 15:56:31 PDT 1989 |
| 537 | |
| 538 | Added 960CA disassembly support. |
| 539 | |
| 540 | To simplify maintenance: |
| 541 | - eliminated use of symblic links on pinsn.c: use i960-pinsn.c |
| 542 | directly instead. |
| 543 | - eliminated opcode.h: incorporates tables into i960-pinsn.c |
| 544 | - moved 960-specific routines from i960-pinsn.c to i960-md.c |
| 545 | - made disassembly interface identical to that in gdmp960. |
| 546 | |
| 547 | |
| 548 | |
| 549 | Wed Nov 28 21:32:48 1990 John Gilmore (gnu at cygint) |
| 550 | |
| 551 | * target.h: Allow targets to stack. Add target_has_memory, |
| 552 | _registers, etc. Restructure memory access and "info files" |
| 553 | to walk the target stack. |
| 554 | * exec.c, core.c, inftarg.c, remote.c, remote-vx.c, remote-eb.c, |
| 555 | target.c: Change tables to match target.h. |
| 556 | * inflow.c (child_mourn_inferior): pop child_ops. |
| 557 | (generic_mourn_inferior): Use new has_stack flag. |
| 558 | * infptrace.c (child_xfer_memory): New memory regime. |
| 559 | * inftarg.c (child_files_info): New "info files" regime. |
| 560 | * remote-eb.c: New memory regime, new info files. |
| 561 | * remote-vx.c: New memory regime, new info files. Now use |
| 562 | separate targets for VxWorks attachment to machine, and |
| 563 | actually running a process under VxWorks, since one has |
| 564 | stack & execution & regs and the other doesn't. |
| 565 | * remote.c: New memory regime, new info files. |
| 566 | * sparc-xdep.c (fetch_core-registers): New memory regime. |
| 567 | * target.c: New routines and support for stacked targets, |
| 568 | new memory regime, new info files regime. |
| 569 | |
| 570 | |
| 571 | Generalize section handling for an arbitrary number of sections, |
| 572 | including use of the new BFD (binary file) library. |
| 573 | * gdbcore.h: Add struct section_table. |
| 574 | * exec.c (build_section_table): Iterate all sections and |
| 575 | record what gdb needs to know about them. |
| 576 | (exec_command): Use it. |
| 577 | (exec_xfer_memory): Use the table. |
| 578 | (exec_files_info): Print the table. |
| 579 | * core.c (core_file_command, core_xfer_memory, core_files_info): |
| 580 | Likewise. |
| 581 | * source.c (find_source_lines): Use bfd_get_mtime. |
| 582 | * dbxread.c: Quick changes to make it compile with new BFD. |
| 583 | * utils.c (error): Avoid using bfd_error in generic routines. |
| 584 | |
| 585 | * core.c (core_fetch_registers): Get from the ".regs" section of |
| 586 | the BFD core file. |
| 587 | * sparc-xdep.c (fetch_core_registers): Use the .regs info. |
| 588 | |
| 589 | * inferior.h (attach_flag): Export. |
| 590 | * infcmd.c (run_command): use new target_create_inferior. |
| 591 | * infrun.c (child_create_inferior): Don't return result. |
| 592 | * Makefile.dist (VERSION): 3.91.4. |
| 593 | |
| 594 | Fri Nov 23 28:15:38 1990 John Gilmore (gnu at cygint) |
| 595 | |
| 596 | * breakpoint.c (bpstat_num): Handle breakpoints which have |
| 597 | since been deleted, such as temporary breakpoints. |
| 598 | infcmd.c (program_info): ditto. |
| 599 | |
| 600 | * core.c (core_file_command): Display the frame where the core |
| 601 | dump occurred. |
| 602 | |
| 603 | * main.c: lint. |
| 604 | |
| 605 | * remote-vx.c (target_command): Merge in target command from |
| 606 | targ-vx.c. A few other cleanups. |
| 607 | |
| 608 | * TODO, Projects: Lots more stuff to do... |
| 609 | |
| 610 | Fri Nov 23 18:15:38 1990 John Gilmore (gnu at cygint) |
| 611 | |
| 612 | Massive changes to wall off the remote-debugging interface |
| 613 | behind a function vector. The port to handle VxWorks targets |
| 614 | is also part of this. |
| 615 | |
| 616 | All files: Replace references to renamed functions, |
| 617 | remove references to remote_debugging, remove references to |
| 618 | have_include_file, have_core_file in favor of target_has_stack, |
| 619 | target_has_memory, etc. |
| 620 | |
| 621 | * Modularize the breakpoint interface. |
| 622 | breakpoint.h (BREAKPOINT_MAX): New define sets max length of |
| 623 | a breakpoint instruction. |
| 624 | breakpoint.c: struct breakpoint's shadow_contents now sized as |
| 625 | BREAKPOINT_MAX. |
| 626 | (insert_breakpoints): Vector to target to install breakpoints. |
| 627 | (remove_breakpoints): Vector to target here too. |
| 628 | Remove REMOTE_SA_SPARC kludges and other remote_debugging. |
| 629 | sparc-tdep.c (single_step): Use new breakpoint interface for |
| 630 | the single-step breakpoints. |
| 631 | mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): |
| 632 | New file, contains routines to insert and remove breakpoints by |
| 633 | reading out the old contents and later replacing them. This is |
| 634 | how ptrace breakpoints work, and many remote systems as well. |
| 635 | |
| 636 | * tm-vxworks68.h: New config file, overrides a few things for |
| 637 | Wind River's preferences. |
| 638 | |
| 639 | * target.h: New file, for transfer vector used to talk to the |
| 640 | inferior (child, attached, core, exec, remote, etc). All accesses |
| 641 | to the thing being debugged should come through these vectors. |
| 642 | target.c: New file, routines to handle transfer vector. |
| 643 | (various files): Add transfer vectors XXX_ops for the various |
| 644 | targets and pseudo-targets (core files, etc) we support. |
| 645 | |
| 646 | * breakpoint.c (bpstat_stop_status): Further explorations of |
| 647 | watchpoints and why things don't work all the time. |
| 648 | (bpstat_alloc): New fn to allocate a bpstat and chain it. |
| 649 | |
| 650 | * config.gdb: Only add "source ${srcdir}/.gdbinit" to |
| 651 | the local gdbinit if it doesn't already have it. |
| 652 | |
| 653 | * core.c (core_ops): add and install. |
| 654 | Allow core debugging without exec file. |
| 655 | |
| 656 | * dbxread.c (free_and_init_header_files): Merge two fns. |
| 657 | (end_symtab): Free named symbol table when a new version comes in. |
| 658 | (read_dbx_symtab): Relocate all kinds of symbols with base |
| 659 | address. First step toward handling different text, data, bss |
| 660 | reloc. |
| 661 | (add_file_addr_command): Renamed add_file_command. |
| 662 | (add_file_command): Vector to remote handler. |
| 663 | Add "load" as an alias for "add-file" command. |
| 664 | |
| 665 | * defs.h: Allow "volatile" to be used in non-ANSI; use it for |
| 666 | non-returning functions. |
| 667 | |
| 668 | * exec.c: Add exec_ops, and push it as a target when an exec |
| 669 | file is specified. |
| 670 | |
| 671 | * infcmd.c (run_command): Pass executable file name and arg list |
| 672 | separately when starting an inferior. Permit "run" when no exec |
| 673 | file is specified, for VxWorks. |
| 674 | (detach_command): Move to child_detach in inftarg.c. |
| 675 | |
| 676 | * inftarg.c: New file. Unix-child-specific routines, and the |
| 677 | child_ops structure. |
| 678 | |
| 679 | * inferior.h (registers): Export "registers" as the way for |
| 680 | target dependent register handlers to find gdb's local copy of |
| 681 | the registers. Rename "stop_after_attach" to "stop_soon_quietly" |
| 682 | since it is now used by places that want wait_for_inferior to |
| 683 | handle the grunge but want to see every trap from the inferior. |
| 684 | |
| 685 | * inflow.c (create_inferior): Pull out, and merge into infrun.c. |
| 686 | Eliminate remote_debugging hooks in terminal handling. |
| 687 | |
| 688 | * infrun.c: Replace start_inferior with child_create_inferior. |
| 689 | Move all the hair of Unix shells and ptrace idiosyncracies into |
| 690 | child_create_inferior, so remote handlers don't have to deal. |
| 691 | Remove running_in_shell. Rename stop_after_attach to |
| 692 | stop_soon_quietly, and use it in a few other places where we want |
| 693 | to just call wait_for_inferior and get control back on the first |
| 694 | trap. trap_expected now never takes a value > 1. |
| 695 | (init_wait_for_inferior): Initialize static vars when a new |
| 696 | process is created. |
| 697 | |
| 698 | main.c (gdbinit): Add new hook for .gdbinit file name, let |
| 699 | it be overridden by config files as GDBINIT_FILENAME. |
| 700 | (DEFAULT_PROMPT): Add new hook for overriding (gdb) prompt. |
| 701 | Both of these are used for VxWorks gdb. |
| 702 | |
| 703 | mcheck.c: rename include file "gmalloc.c" to avoid problems |
| 704 | with system include file "malloc.c". |
| 705 | |
| 706 | param-no-tm.h: New include file, same as param.h but does not |
| 707 | include the default "tm.h" file. This is used in files where |
| 708 | the target is known, e.g. remote-eb.c or sparc-xdep.c. |
| 709 | |
| 710 | param.h: Now just a shell that includes tm.h and param-no-tm.h. |
| 711 | |
| 712 | remote-vx.c: New file, VxWorks remote debugging support. Uses |
| 713 | RPC routines that are shared with the target system, in directory |
| 714 | ${srcdir}/vx-share. |
| 715 | |
| 716 | remote.c: Vectorize remote interface. |
| 717 | |
| 718 | source.c: Globalize source_path, and make an alias "l" for "list" |
| 719 | since we now have the "load" command. |
| 720 | |
| 721 | sparc-xdep.c: Use new param-no-tm.h. |
| 722 | |
| 723 | symmisc.c (free_named_symtab): Add new function from Wind River. |
| 724 | However, ifdef it out for now while we think about what it should |
| 725 | really be doing. |
| 726 | |
| 727 | tm-sun3.h, xm-sparc.h, xm-sun3.h, xm-symmetry.h: Move |
| 728 | PREPARE_TO_STORE to |
| 729 | the xm- file, and change its name to CHILD_PREPARE_TO_STORE, since |
| 730 | non-Unix-children handle this with their own code in the target |
| 731 | transfer vector. |
| 732 | |
| 733 | Makefile.dist: Roll version to 3.92.3. Add vx-share stuff to |
| 734 | source and target lists. Add vx-share to default list of include |
| 735 | directories. Add new files to src and target lists: mem-break, |
| 736 | target, inftarg, remote-eb, remote-vx, targ-vx. Be sure the |
| 737 | ${srcdir} versions of munch and createtags are used. |
| 738 | |
| 739 | * valops.c (find_function_addr): Split out of call_function. |
| 740 | (call_function_by_hand): Rename call_function; this function |
| 741 | calls functions in the target by laboriously patching the target |
| 742 | word-by-word with the right stack, args, regs, etc. |
| 743 | |
| 744 | |
| 745 | Mon Nov 5 17:29:10 1990 John Gilmore (gnu at cygint) |
| 746 | |
| 747 | Handle AMD 29000 a bit better. |
| 748 | |
| 749 | * remote-eb.c (readchar): Mask received char log to make it readable. |
| 750 | (remote_start): Pass arguments down to executing program. |
| 751 | Make startaddr unsigned. |
| 752 | infrun.c (start_inferior): Accept args, pass them to |
| 753 | remote_start. |
| 754 | infcmd.c (run_command): Pass args down to start_inferior. |
| 755 | |
| 756 | * tconfig/am29k-aout, tconfig/am29k-coff: New files specifying |
| 757 | the target object file format. |
| 758 | tm-29k.h: Pay heed to COFF_ENCAPSULATE. |
| 759 | |
| 760 | * am29k-pinsn.c (print_insn): Print 0x on hex numbers in disassembly. |
| 761 | am29k-tdep.c (examine_prologue): Better checking of function prefixes. |
| 762 | |
| 763 | Sun Oct 7 18:20:45 1990 John Gilmore (gnu at cygint) |
| 764 | |
| 765 | * Makefile.dist (VERSION): Roll version to 3.91.9 and freeze. |
| 766 | * TODO: We did a few things, we have more to do though. |
| 767 | |
| 768 | * xm-sparc.h (CLEAR_DEFERRED_STORES): Define. |
| 769 | * inflow.c (inferior_died): Clear deferred stores. |
| 770 | |
| 771 | * Debug problems with dummy frames and calls to the inferior. |
| 772 | * tm-sparc.h (PUSH_DUMMY_FRAME, POP_FRAME): Move to sparc-tdep.c. |
| 773 | * sparc-tdep.c (do_restore_insn): Simplify. |
| 774 | (sparc_frame_find_saved_regs): Simplify and fix what we find. |
| 775 | (sparc_push_dummy_frame): Simplify and fix what we push. |
| 776 | (sparc_pop_frame): Slightly more hair here, deciding whether |
| 777 | we are restoring a saved PC or returning to a return address in %i7. |
| 778 | * sparc-xdep.c (read_inferior_registers): Debug if valid reg is read. |
| 779 | |
| 780 | * utils.c (xmalloc, xrealloc): Return type depends on __STDC__. |
| 781 | * symtab.h (xmalloc): ditto, for obstack_chunk_alloc. |
| 782 | * obstack.h (chunkfun): ditto. |
| 783 | * defs.h (xmalloc, xrealloc): ditto |
| 784 | |
| 785 | * utils.c (quit): Grab the terminal from the child if necessary. |
| 786 | |
| 787 | * inflow.c (term_status_command): Rename to term_info, change |
| 788 | to "info terminal". |
| 789 | |
| 790 | * sparc-pinsn.c (print_insn): Disassembly prefers real instructions. |
| 791 | (is_delayed_branch): Speed up. |
| 792 | * sparc-opcode.h: Add ALIAS bit to aliases. Fix up opcode tables. |
| 793 | Still missing some float ops, and needs testing. |
| 794 | |
| 795 | * Support for input and output radixes other than base 10 |
| 796 | * defs.h (input_radix, output_radix): Declare. |
| 797 | * expread.y (yyparse, parse_number): Handle changes of input |
| 798 | radix, and ambiguous names-or-numbers in radixes >10. |
| 799 | * printcmd.c (print_scalar_formatted): Print formatted hex |
| 800 | numbers in varying column widths. |
| 801 | * valprint.c (val_print): Use output_format to print scalar ints. |
| 802 | (set_input_radix, set_output_radix, set_radix): Create. |
| 803 | (set_output_radix): Set output_format from output_radix. |
| 804 | (_initialize_valprint): add `set radix' but leave the others off. |
| 805 | |
| 806 | * main.c (execute_command): Let stupid questions be turned off. |
| 807 | (_initialize_main): Handle "set stupidity", etc. |
| 808 | |
| 809 | * main.c, inflow.c, inferior.h, frame.h, command.c, defs.h, |
| 810 | sparc-pinsn.c, sparc-xdep.c, value.h, valops.c, values.c: Lint. |
| 811 | |
| 812 | Tue Oct 2 11:20:02 1990 John Gilmore (gnu at cygint) |
| 813 | |
| 814 | * TODO, Makefile.dist, ChangeLog: Freeze for 3.91.8 release. |
| 815 | bfd stuff is still screwed up, but with some manual work, it |
| 816 | compiles. |
| 817 | |
| 818 | * breakpoint.c (bpstat_do_actions): Start over if a command |
| 819 | proceeds the inferior, since the inferior will have stopped and |
| 820 | will need to have its new stop-actions taken care of. |
| 821 | |
| 822 | * dbxread.c (read_struct_type): Expression gives Sun3 4.0.3 |
| 823 | compiler fits, simplify it. |
| 824 | |
| 825 | * gdb.texinfo (directory command): Doc new dir command. |
| 826 | source.c (directory_command): "dir" now puts things on the front |
| 827 | of the path, moves dups up front, and handles multiple names |
| 828 | on the command line, inserting each one in order. It also |
| 829 | blows away cached line and full_filename info. |
| 830 | |
| 831 | * stack.c (backtrace_command): Skip "more stack frames follow" |
| 832 | unless interactive. |
| 833 | |
| 834 | * Change #ifndef HAVE_VPRINTF to #define MISSING_VPRINTF in |
| 835 | xm-convex.h, xm-hp300bsd.h, xm-isi.h, xm-merlin.h, xm-news.h, |
| 836 | xm-np1.h, xm-pn.h, xm-pyr.h, xm-symmetry.h, xm-umax.h, xm-vax.h. |
| 837 | The only odd one was Gould NP1, which had defined vprintf to |
| 838 | "printf"!!! |
| 839 | |
| 840 | * Merge Ted Goldstein <tedg@Eng.sun.com>'s changes for epoch. |
| 841 | printcmd.c (print_command_1): Pass 'inspect' flag down as a global |
| 842 | variable, inspect_it. |
| 843 | valprint.c (print_string, val_print): Use the global inspect_it |
| 844 | to indicate whether to print in Epoch style or normal style. |
| 845 | |
| 846 | Mon Oct 1 23:55:26 1990 John Gilmore (gnu at cygint) |
| 847 | |
| 848 | * printcmd.c (call_command): add an alias for the "print" command |
| 849 | which runs expressions and doesn't print the result if void. |
| 850 | (print_command_1): implement it. |
| 851 | |
| 852 | * command.c: Remove #if 0'd code. Initialize all the fields |
| 853 | in add_cmd (). Rename do_nothing_command to |
| 854 | not_just_help_class_command, and make it externally visible. |
| 855 | command.h: add user_commands to struct. |
| 856 | * main.c (define_command): Don't overload c->function with a char |
| 857 | string as well as a function pointer. |
| 858 | |
| 859 | * eval.c (evaluate_subexp): Reinstall tiemann changes to |
| 860 | calling convention of value_struct_elt () that got dropped in |
| 861 | merge. |
| 862 | |
| 863 | * tm-sparc.h (FRAME_FIND_SAVED_REGS): move to sparc-xdep.c. |
| 864 | sparc-tdep.c (sparc_frame_find_saved_regs): ditto. |
| 865 | |
| 866 | * tm-sparc.h (POP_FRAME): replace some constants with defines. |
| 867 | |
| 868 | * sparc-xdep.c (store_inferior_registers): defer stores to regs |
| 869 | until a good time (e.g. when we are about to run the child), |
| 870 | saving ptrace calls. |
| 871 | * infrun.c (proceed): handle DO_DEFERRED_STORES. |
| 872 | * tm-sparc.h: define DO_DEFERRED_STORES. |
| 873 | |
| 874 | * sparc-xdep.c (store_inferior_registers): when storing float |
| 875 | registers, don't store stack regs too. When storing the SP, |
| 876 | however, DO store the stack regs too. This fixes a bug in which |
| 877 | the dummy frame is not recognized when a call_function finishes, |
| 878 | because its frame pointer (in the stack regs) was never |
| 879 | initialized. |
| 880 | (read_inferior_registers): Mark WIM and TBR and FPS and CPS valid |
| 881 | even though we don't know how to read them from an inferior. |
| 882 | valops.c (call_function): Comment about storing SP. |
| 883 | |
| 884 | * infrun.c (save_inferior_status): Save away the original bpstat |
| 885 | chain so it can be restored later. Install the copied version for |
| 886 | use by whoever saved the status. It will be blow away by |
| 887 | restore_inferior_status, and the original chain restored. This is |
| 888 | important for people who have pointers into the original. |
| 889 | |
| 890 | * breakpoint.c, command.h, copying.awk, dbxread.c, defs.h, |
| 891 | findvar.c, frame.h, obstack.h, obstack.c, inflow.c, value.h, |
| 892 | main.c, printcmd.c, sparc-tdep.c, symtab.c, valprint.c: lint |
| 893 | |
| 894 | |
| 895 | Fri Sep 28 20:32:46 1990 John Gilmore (gnu at cygnus.com) |
| 896 | |
| 897 | * Makefile.dist: Roll version to 3.91.8. Add bfd.h and bfdconfig.h |
| 898 | temporarily to the makefile. Add am29k-opcode.h and WHATS.NEW. |
| 899 | Add stuff.c and kdb-start.c to the OTHERS list for tar files. |
| 900 | |
| 901 | Fri Sep 28 19:12:12 1990 John Gilmore (gnu at cygint) |
| 902 | |
| 903 | * Merge Mike Tiemann's multiple inheritance changes from Sun. |
| 904 | Store the baseclasses in a type struct starting from array element |
| 905 | 0 rather than from the unusual array element 1. |
| 906 | |
| 907 | dbxread.c: the above. |
| 908 | (virtual_context): Add |
| 909 | Read new debug information about which virtual function table |
| 910 | a virtual function is from, and store it in fn_field.fcontext. |
| 911 | |
| 912 | symtab.h: Add fcontextt. Fix baseclass indices. Typo in |
| 913 | TYPE_FN_FIELD_STATIC_P. |
| 914 | |
| 915 | symtab.c: the above. |
| 916 | valops.c: the above. Handle pointer casts of object *'s. |
| 917 | (search_struct_method): Add. |
| 918 | (value_struct_elt): First arg is now a pointer to a value, and is |
| 919 | modified on return. |
| 920 | |
| 921 | valprint.c: the above. |
| 922 | values.c (value_virtual_fn_field): Add type arg. Handle |
| 923 | offsetting to the proper object when calling virtual fns. |
| 924 | The above. |
| 925 | (baseclass_addr): Add valuep arg. |
| 926 | |
| 927 | * README: Document the current state of BFD config (missing). |
| 928 | * TODO, ChangeLog, Makefile.dist: Roll version. |
| 929 | * WHATS.NEW: Add summary of changes since 3.5. |
| 930 | |
| 931 | Thu Sep 27 16:23:12 1990 John Gilmore (gnu at cygint) |
| 932 | |
| 933 | * dbxread.c (read_struct_type): Clear bit vectors whenever |
| 934 | we allocate one. |
| 935 | symtab.c (B_CLRALL): define. |
| 936 | |
| 937 | * tm-sparc.h (STORE_RETURN_VALUE): Avoid clobbering types by |
| 938 | using == rather than =. Huh... This fixes the dreaded problem |
| 939 | wherein builtin_type_int becomes TYPE_CODE_FLT. |
| 940 | |
| 941 | * core.c (info_files): Show the inferior pid. |
| 942 | |
| 943 | * config.gdb: Avoid putting "dir" command into .gdbinit. GDB |
| 944 | already knows how to look in the source directory. |
| 945 | |
| 946 | * Remove psymtab hair from many places. Remove duplicated code |
| 947 | for searching symbol tables. Hide psymtabs from most places. |
| 948 | Make it fast to get from a psymtab to its symtab. |
| 949 | |
| 950 | blockframe.c (blockvector_for_pc): Remove psymtab hair. |
| 951 | coffread.c (psymtab_to_symtab): Rename to psymtab_to_symtab2. |
| 952 | mipsread.c (psymtab_to_symtab): Rename to psymtab_to_symtab2. |
| 953 | dbxread.c: export psymtab_to_symtab, make it work if called N times. |
| 954 | (psymtab_to_symtab): Rename to psymtab_to_symtab2. Initialize |
| 955 | new symtab completely. New psymtabs get symtab pointer |
| 956 | initialized to zero. Remove MI warning printf. |
| 957 | symtab.h: Comments. Add psymtab to symtab pointer. |
| 958 | (PSYMTAB_TO_SYMTAB): New macro. |
| 959 | symtab.c: use PSYMTAB_TO_SYMTAB. Add psymtab_to_symtab and export it. |
| 960 | source.c: use PSYMTAB_TO_SYMTAB. Remove symtab version and |
| 961 | compilation fields. |
| 962 | stack.c (backtrace_command): Avoid pre-pass to read symbols, if |
| 963 | verbose is not set. |
| 964 | (print_frame_info): Avoid special-casing symbols that have not yet |
| 965 | been read in. |
| 966 | |
| 967 | * source.c (open_source_file): Quick path if we have already |
| 968 | located the source file by its full name. |
| 969 | |
| 970 | * symtab.c (lookup_symbol): Use find_pc_symtab rather than |
| 971 | find_pc_psymtab. When a name is found in the misc function |
| 972 | vector, search the symbol table for its mangled name, not the |
| 973 | name that the user typed. |
| 974 | |
| 975 | * bfd.h: Fix missing comment terminators, make #endifs match. |
| 976 | |
| 977 | * valarith.c (value_less): Handle unsigned int comparisons. |
| 978 | Add FIXME about pointer compares, which assume host and target |
| 979 | pointers are the same. |
| 980 | |
| 981 | * command.c (do_nothing_command): lint |
| 982 | dbxread.c: lint. Remove sort_syms. Document C++ visibility info, |
| 983 | fix comments on debug symbol format for visibility. Actually set |
| 984 | visibility of symbols. |
| 985 | main.c (echo_command): lint; use <readline/history.h>. |
| 986 | tm-sparc.h (FRAME_FIND_SAVED_REGS): lint |
| 987 | obstack.h (_obstack_blank): Rearrange pointer math to avoid |
| 988 | pointing past end of allocated memory; saber complains. |
| 989 | obstack.h: Declare the external functions that we use. |
| 990 | valarith.h: use <string.h> |
| 991 | solib.c (solib_add): lint. |
| 992 | |
| 993 | Fri Sep 21 17:05:19 1990 John Gilmore (gnu at cygint) |
| 994 | |
| 995 | * main.c (initialize_main): Default info_verbose to off, now that |
| 996 | symbol reading is fast. |
| 997 | (quit_command): Avoid clobbering exec_bfd while quitting. |
| 998 | |
| 999 | * Initial BFD (binary file diddling library) merger: |
| 1000 | coffread.c: Change AOUTHDR to struct exe_hdr. |
| 1001 | dbxread.c: ditto. |
| 1002 | core.c: initialize initialized data at compile time. |
| 1003 | (core_file_command): Move from coredep.c, convert to bfd. |
| 1004 | (xfer_core_file): Convert to bfd. |
| 1005 | exec.c (exec_file_command): use bfd routines. |
| 1006 | gdbcore.h: BFD. |
| 1007 | mips-tdep.c: Remove exec_file_command and friends. |
| 1008 | source.c: bfd. |
| 1009 | |
| 1010 | * coredep.c: (fetch_core_registers) Convert core_file_command to |
| 1011 | fetch_core_registers. |
| 1012 | mips-xdep.c, sparc-xdep.c, sun3-xdep.c: ditto. |
| 1013 | |
| 1014 | * utils.c: (error): Bogus crap, FIXME, to print bfd errors. |
| 1015 | (my_bfd_read): More bogosity, which I don't think we call. |
| 1016 | (program_name): Remove this atrocity asap! |
| 1017 | |
| 1018 | Wed Sep 19 13:36:41 1990 John Gilmore (gnu at cygint) |
| 1019 | |
| 1020 | * From Per Bothner: |
| 1021 | values.c: allocate_repeat_value was not clearing the |
| 1022 | optimized_out field. |
| 1023 | (value_static_field): minor stylistic fix (wrong macro was used). |
| 1024 | valops.c (value_struct_elt_for_address): didn't work for C++ |
| 1025 | static fields. |
| 1026 | |
| 1027 | * signame.c (_initialize_signame): Initialize signal names once. |
| 1028 | |
| 1029 | * breakpoint.h, command.c, copying.awk, defs.h, environ.c, |
| 1030 | exec.c, frame.h, infcmd.c, inferior.h, main.c, munch, sun3-xdep.c, |
| 1031 | symtab.h, tm-29k.h, valprint.c, value.h, values.c: Lint. |
| 1032 | |
| 1033 | * remote-eb.c: Support user-settable baud rates on the serial port. |
| 1034 | |
| 1035 | * tm-sun3.h (PREPARE_TO_STORE): fix typo. |
| 1036 | |
| 1037 | Fri Sep 14 13:28:29 1990 John Gilmore (gnu at cygint) |
| 1038 | |
| 1039 | * tconfig/sun3os4: Remove warning about native assembler, |
| 1040 | since it also occurs in the xconfig file. |
| 1041 | |
| 1042 | * findvar.c (registers): Allocate some slop after `registers' |
| 1043 | to prevent stray accesses from trashing the next variable. |
| 1044 | |
| 1045 | * tm-68k.h (REGISTER_BYTES): Allocate the right number of bytes |
| 1046 | on the sun-3, by changing the #ifdef from `sun3' (which is not |
| 1047 | defined by cc) to `sun'. Symptom was trashed builtin_type_XXX |
| 1048 | vars, which happened to follow `registers' in the executable. |
| 1049 | |
| 1050 | * readline/history.c (history_search): Heed gcc-2's advice |
| 1051 | and parenthesize && inside ||). |
| 1052 | |
| 1053 | * am29k-opcode.h, am29k-pinsn.c, am29k-tdep.c, remote-eb.c, |
| 1054 | tm-29k.c: Insert FSF copyright headers. |
| 1055 | |
| 1056 | * remote-eb.c: Better comments. |
| 1057 | |
| 1058 | * Makefile.dist: Update to 3.91.6. |
| 1059 | * TODO: note PREPARE_TO_STORE problem. |
| 1060 | |
| 1061 | Thu Sep 13 09:52:33 1990 Jim Kingdon (kingdon at cygint) |
| 1062 | |
| 1063 | * stack.c (frame_info): Only use FRAME_FIND_SAVED_REGS if defined. |
| 1064 | |
| 1065 | * remote.c: Wrap the whole file in #if !defined (SPECIAL_REMOTE). |
| 1066 | |
| 1067 | * infrun.c (wait_for_inferior, at end): Don't set up |
| 1068 | prev_* if the inferior no longer exists. |
| 1069 | |
| 1070 | * inferior.h (CALL_DUMMY_LOCATION): New macro, to replace |
| 1071 | CANNOT_EXECUTE_STACK. |
| 1072 | valops.c (call_function): Use it. |
| 1073 | |
| 1074 | * tm-convex.h: Add CALL_DUMMY_LENGTH for use by PC_IN_CALL_DUMMY. |
| 1075 | |
| 1076 | * inferior.h (PC_IN_CALL_DUMMY): New macro. |
| 1077 | infrun.c (wait_for_inferior, 2 places): Use it. |
| 1078 | |
| 1079 | * values.c (value_being_returned): Only use |
| 1080 | EXTRACT_STRUCT_VALUE_ADDRESS if defined. |
| 1081 | |
| 1082 | * Move PREPARE_TO_STORE from xm-sun3.h to tm-sun3.h to do the |
| 1083 | right thing for remote-eb.c. |
| 1084 | |
| 1085 | * sun3-xdep.c: Remove extraneous call to remote_store_registers. |
| 1086 | * sun386-xdep.c, hp300hpux-xdep.c, sparc-xdep.c: Ditto. |
| 1087 | |
| 1088 | * blockframe.c: Put get_frame_saved_regs inside #if !defined |
| 1089 | (FRAME_FIND_SAVED_REGS). |
| 1090 | |
| 1091 | * findvar.c ({fetch,store}_registers): Check for |
| 1092 | REMOTE_{FETCH_STORE}_REGISTER macro. |
| 1093 | |
| 1094 | * findvar.c (get_saved_register): Add argument lval and |
| 1095 | change meaning of argument addr. |
| 1096 | findvar.c: Change calls to get_saved_register to reflect |
| 1097 | new calling convention. |
| 1098 | valops.c (value_assign): Use get_saved_register instead of |
| 1099 | find_saved_register. |
| 1100 | |
| 1101 | Sun Sep 2 12:40:20 1990 Jim Kingdon (kingdon at cygint.cygnus.com) |
| 1102 | |
| 1103 | * coffread.c (read_one_sym): Make temp_aux an AUXENT, not |
| 1104 | an (uninitialized) pointer to one. Use "&" when passing it |
| 1105 | to fread. |
| 1106 | |
| 1107 | Fri Aug 31 22:57:54 1990 Jim Kingdon (kingdon at cygint.cygnus.com) |
| 1108 | |
| 1109 | * coffread.c (getfilename): Use DGUX x_offset and x_name if |
| 1110 | defined. |
| 1111 | |
| 1112 | * coffread.c (symbol_file_command): Put semicolon after |
| 1113 | "int from_tty". |
| 1114 | Put safe_to_init_tdesc_context in #if defined (TDESC). |
| 1115 | Put #ifdef TDESCs in 1st column for non-ANSI cpp's. |
| 1116 | coffread.c: #include <sys/stat.h>. |
| 1117 | (read_coff_symtab): Typo: in_source_files -> in_source_file. |
| 1118 | Add missing ')' in check for "lc%" and friends. Remove |
| 1119 | extraneous '}'. |
| 1120 | Declare read_one_sym() at top of file. |
| 1121 | (read_file_hdr): Put in extra #ifdefs so MC68MAGIC and |
| 1122 | MC68WRMAGIC can have the same value without causing a duplicate |
| 1123 | case. |
| 1124 | |
| 1125 | Thu Sep 13 15:55:36 1990 John Gilmore (gnu at cygint) |
| 1126 | |
| 1127 | * Allow a Makefile to be built without building the |
| 1128 | tm and xm file links that screw up builds in subdirectories. |
| 1129 | This is done with `config.gdb none', then you can do things |
| 1130 | like `make gdb.tar.Z'. |
| 1131 | * tconfig/none: Config file for no target system |
| 1132 | * xconfig/none: Config file for no host system |
| 1133 | * config.gdb: If no TM or XM files are called out by the |
| 1134 | host or target file, don't make links for them. |
| 1135 | |
| 1136 | * cplus-dem.c: Add documentation. |
| 1137 | |
| 1138 | * dbxread.c (read_ofile_symtab): Turn a fatal error into a |
| 1139 | simple error, so the user's gdb doesn't crash due to some object |
| 1140 | file problem (e.g. somebody is rebuilding the file out from under |
| 1141 | gdb). |
| 1142 | |
| 1143 | * printcmd.c (print_address_symbolic): demangle the symbol. |
| 1144 | |
| 1145 | * Makefile.dist (OTHERS): Remove tdesc-lib because it has |
| 1146 | Motorola copyrights in it. Make "make gdb.tar.Z" work. |
| 1147 | (alldeps.mak): sort and uniq all results from this; duplicates |
| 1148 | hose gdb.tar.Z link building. Remove RCS files from |
| 1149 | tconfig and xconfig. Add config files for sun386. Add |
| 1150 | a few odd files to OTHERS and HFILES. |
| 1151 | |
| 1152 | Mon Sep 10 21:20:24 1990 John Gilmore (gnu at cygint) |
| 1153 | |
| 1154 | * Makefile.dist: Pull solib.c to tconfig/sun?os4. |
| 1155 | Roll version number to 3.91.5. Make lint work in bindir. |
| 1156 | |
| 1157 | * README: Document cross-debugging and new file structure. |
| 1158 | |
| 1159 | * blockframe.c: Lint. Include "value.h" to declare read_register. |
| 1160 | (find_pc_partial_function): remove duplicate line. |
| 1161 | |
| 1162 | * command.h: Lint. Declare error_no_arg and dont_repeat. |
| 1163 | |
| 1164 | * tm-news.h: Remove inadvertently duplicated stuff. |
| 1165 | |
| 1166 | * mipsread.c: Remove cache_pc_function stuff, now done cleanly. |
| 1167 | Clean up usage of misc_function_type. Declare some CORE_ADDRs. |
| 1168 | |
| 1169 | * config.gdb: Allow `config.gdb host target' form. Clean |
| 1170 | up previous change that printed bogus messages when you just said |
| 1171 | `config.gdb'. |
| 1172 | |
| 1173 | * core.c: #include "command.h" for lint. |
| 1174 | * dbxread.c: lint |
| 1175 | * eval.c: lint |
| 1176 | * main.c: Remove some casts of enums. Lint. |
| 1177 | * source.c: lint |
| 1178 | * symtab.c: lint |
| 1179 | * symtab.h: lint |
| 1180 | * expread.y: lint |
| 1181 | * valarith.c: lint |
| 1182 | |
| 1183 | * printcmd.c (initialize_printcmd): Fix thinko in inspect cmd. |
| 1184 | |
| 1185 | * sparc-tdep.c (isannulled): Take instruction as parameter, don't |
| 1186 | read it from memory. This will allow us to save ptrace calls |
| 1187 | eventually. Changed caller single_step too. |
| 1188 | |
| 1189 | * sparc-xdep.c (fetch_inferior_registers): Avoid reading regs |
| 1190 | that we aren't going to use, saving many ptrace calls, especially |
| 1191 | when watchpointing or single stepping. Use some #define's for |
| 1192 | constants. |
| 1193 | (store_inferior_registers): Ditto. |
| 1194 | (core_file_command): Use some #define's for constants. |
| 1195 | |
| 1196 | * tm-sparc.h: Add #define's for some register numbers, so we |
| 1197 | can eliminate the use of random constants in sparc-xdep.c. |
| 1198 | |
| 1199 | * stack.c (frame_command, print_frame_info, up_command, |
| 1200 | down_command) Remove frame_changed, since it |
| 1201 | causes a bug and doesn't seem to do anything useful. In some |
| 1202 | places it was used as a flag, in others as a stack level (?). |
| 1203 | |
| 1204 | * utils.c: Use MISSING_VPRINTF rather than HAVE_VPRINTF, so the |
| 1205 | default is to use the portable (vprintf) version rather than the |
| 1206 | kludge version. |
| 1207 | * xm-news.h (MISSING_VPRINTF): Add. |
| 1208 | |
| 1209 | * valprint.c (val_print): Demangle fancy vtbl printouts. Lint. |
| 1210 | |
| 1211 | Sat Sep 8 00:24:12 1990 John Gilmore (gnu at cygint) |
| 1212 | |
| 1213 | * Remove stuff that forces -Bstatic linking of gdb, and warnings |
| 1214 | about linking debugged programs -Bstatic in the sun?os4 config |
| 1215 | files in tconfig and xconfig subdirectories. |
| 1216 | |
| 1217 | * main.c (main): Remove unreached exit(0) now that we exit |
| 1218 | via quit_command(). |
| 1219 | |
| 1220 | * Create TODO file for online bug list. There are too many |
| 1221 | "little" bugs to keep track of on paper. |
| 1222 | |
| 1223 | * Change Projects file to refer to bug-gdb@cygnus.com |
| 1224 | rather than kingdon@ai. |
| 1225 | |
| 1226 | Fri Sep 7 23:35:15 1990 John Gilmore (gnu at cygint) |
| 1227 | |
| 1228 | * Makefile.dist (VERSION): 3.91.4 now. |
| 1229 | |
| 1230 | * symtab.c (init_misc_bunches): Rename from init_misc_functions. |
| 1231 | (condense_misc_bunches): Add sanity check that misc_count is |
| 1232 | the same as the number of symbols in the bunch. |
| 1233 | |
| 1234 | * coffread.c: rename init_misc_bunches. Pass an argument |
| 1235 | to condense_misc_bunches (a zero). |
| 1236 | |
| 1237 | * dbxread.c (partial_symbol_file_read): Call init_misc_bunches |
| 1238 | every time we are called; don't rely on our caller to do it. |
| 1239 | (add_file): Remove call to init_misc_bunches. |
| 1240 | |
| 1241 | * mipsread.c: Only warn, don't error, if unknown symbol types. |
| 1242 | This keeps an old gdb from falling on its face if it sees newly |
| 1243 | extended symbol info. Rename init_misc_bunches. |
| 1244 | |
| 1245 | Fri Sep 7 22:58:15 1990 John Gilmore (gnu at cygint) |
| 1246 | |
| 1247 | * Merge in changes from Per Bothner for DECstations and other |
| 1248 | MIPS stuff. The rest is Bothner speaking: |
| 1249 | |
| 1250 | The next message is a merger of Alessando Forin's mips port with |
| 1251 | mine. I've tried to use my good if biased judgment to get |
| 1252 | the best of both. It *does* need testing. |
| 1253 | |
| 1254 | Some of the changes are general, *not* mips-specific. |
| 1255 | |
| 1256 | param.h: |
| 1257 | Didn't believe in little-endian bit order. |
| 1258 | There are still inconsistencies about whether flags |
| 1259 | like BITS_BIG_ENDIAN are integer (#if ...) or |
| 1260 | boolean (#ifdef ...). I tried to paper over them. |
| 1261 | |
| 1262 | dbxread.c,coffread.c,mipsread.c,symtab.c,symtab.h: |
| 1263 | Moved some misc_function code that was common to |
| 1264 | {dbx,coff,mips}read.c to symtab.c. |
| 1265 | In the process, I think I cleaned things up a bit. |
| 1266 | At the same time, moved obsavestring and obconcat to symtab.c. |
| 1267 | |
| 1268 | dbxread.c: |
| 1269 | Removed obsolete condense_addl_misc_bunches (use |
| 1270 | condense_misc_bunches(1) instead). |
| 1271 | |
| 1272 | exec.c: |
| 1273 | Needed to include <sys/dir>, at least on DECstations. |
| 1274 | |
| 1275 | valops.c, mips-tdep.c, tm-mips.h: |
| 1276 | Added PUSH_ARGUMENTS macro to support funny argument-pushing |
| 1277 | conventions (when STACK_ALIGN is insufficient). |
| 1278 | Needed on mips, where doubles need 8-byte alignment, |
| 1279 | but ints only need 4. |
| 1280 | |
| 1281 | mips-opcode.h: |
| 1282 | Removed cruft that was not being used. |
| 1283 | Merged in many fixes (most from Frank Yellin, fy@lucid.com). |
| 1284 | |
| 1285 | mips-pinsn.c: |
| 1286 | Print $ before register-names (I think that makes things a little |
| 1287 | more consistent). |
| 1288 | Never print two instructions, even if one delays. |
| 1289 | Removed hex-disassemble set_cmd. (This is not mips-specific, |
| 1290 | so I think the argument is whether it is generally worthwhile or not. |
| 1291 | I'm inclined to think not, given how easy it is to |
| 1292 | convert between radixes in gdb.) |
| 1293 | |
| 1294 | mipsread.c: |
| 1295 | This is basically Alessando's code. |
| 1296 | It doesn't use obstacks; I changed it to use obstacks |
| 1297 | in a few minor places where using malloc causes a |
| 1298 | memory leak. (Probably, more places could/should be changed.) |
| 1299 | I added record_misc_function where it was missing. |
| 1300 | In symbol_file_command and add_file_command, I tried |
| 1301 | to make the code consistent with more recent versions. |
| 1302 | Minor sylistic changes in parse_procedure. |
| 1303 | Make a .gdbinfo. psuedo-symbol point back to the real |
| 1304 | procedure symbol (using the isym field). |
| 1305 | |
| 1306 | mips-tdep.c: |
| 1307 | This is basically from my port, but with a lot of details |
| 1308 | and a number of routines merged in from Alessando's version. |
| 1309 | I basically used my code "raw" backtrace (use heuristics |
| 1310 | from the actual code, rather than symbol table info) - though |
| 1311 | the idea is Alessandro's. I feel my code is a little cleaner |
| 1312 | here, particularly in being a little more flexible, such as being |
| 1313 | able to handle gcc-produced code (which it now can). |
| 1314 | It also doesn't do frame caching (which is not useful |
| 1315 | more recent gdb versions). |
| 1316 | I also used my code for push_/pop_dummy, more or less. |
| 1317 | I tried to incorporate AF's code for testing sigtramp |
| 1318 | while backtracing; I probably got it wrong. |
| 1319 | Added mips_print_register, which tries to scrunch as much |
| 1320 | information as possible on a screen... |
| 1321 | Removed the skip-prologue set_cmd. As with hex-disassemble (see |
| 1322 | under mips-pinsn.c), I don't see anything mips-specific here, |
| 1323 | and I don't see it being all that useful anyway. |
| 1324 | |
| 1325 | tm-mips.h: |
| 1326 | Added a $fp psuedo-reg distinct from $fp (nice for gcc). |
| 1327 | Use more register names (rather than hard-cases numbers). |
| 1328 | |
| 1329 | Thu Sep 6 18:33:15 1990 John Gilmore (gnu at cygint) |
| 1330 | |
| 1331 | * Hack up 3.90.11 changes: |
| 1332 | |
| 1333 | * Makefile.dist (depend): parameterize $(GCC). |
| 1334 | Add solib.c and solib.o. |
| 1335 | (readline): Fix vpath for both absolute or relative SRCDIR. |
| 1336 | |
| 1337 | * blockframe.c: Fix from Schaefer@asc.slb.com for shared libs. |
| 1338 | Also, let the part I didn't understand at least compile so |
| 1339 | I can test the rest. FIXME. |
| 1340 | |
| 1341 | * dbxread.c: Fix thinko using strcmp. |
| 1342 | (init_psymbol_list): declare static. |
| 1343 | (partial_symbol_file_open): Comment cleanups better, avoid |
| 1344 | cleaning up the string table since the caller will do that. |
| 1345 | Move the stat for mod time into symbol_file_command, temporarily. |
| 1346 | (There should be a mod time for each symbol file, eventually, |
| 1347 | to control its rereading. FIXME.) |
| 1348 | |
| 1349 | * infptrace.c (PT_WRITE_D): use same value as PT_WRITE_I for |
| 1350 | SunOS, which gives error for shared libs otherwise. (From |
| 1351 | Schaefer, probably FIXME needs work for portability.) |
| 1352 | |
| 1353 | * solib.c: Move #include "param.h" to work. |
| 1354 | Lowercase all the Uppercase Letters In the Messages. |
| 1355 | (find_solib): Clean up inferior_so_name for debug printouts. |
| 1356 | Allow no argument, to mean all shared libraries. |
| 1357 | |
| 1358 | * symmisc.c: include param.h to get CLEAR_SOLIB. |
| 1359 | |
| 1360 | Wed Sep 5 18:00:08 1990 John Gilmore (gnu at cygint) |
| 1361 | |
| 1362 | * Merge in Kingdon's changes from FSF: the diffs from 3.90.9 |
| 1363 | to 3.90.11. ChangeLog entries below are from this. |
| 1364 | |
| 1365 | Wed Jun 13 09:17:39 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) |
| 1366 | |
| 1367 | * Version 3.90.11. |
| 1368 | |
| 1369 | * Makefile.dist (HFILES): Add tm-sunos.h. |
| 1370 | |
| 1371 | Tue Jun 12 16:15:26 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1372 | |
| 1373 | * Version 3.90.10. |
| 1374 | |
| 1375 | * Makefile.dist (gdb.tar.Z): Change linking of config so it works. |
| 1376 | |
| 1377 | Thu Jun 7 16:22:27 EDT 1990 Jay Fenlason (hack@ai.mit.edu) |
| 1378 | |
| 1379 | * sparc-opcode.h Added single-operand version of rett. |
| 1380 | |
| 1381 | Mon Jun 4 18:12:31 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1382 | |
| 1383 | * m-sparc.h (REG_STRUCT_HAS_ADDR, STRUCT_ARG_SYM_GARBAGE): |
| 1384 | Put parens around gcc_p in expansion. |
| 1385 | |
| 1386 | Thu May 24 15:44:51 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) |
| 1387 | |
| 1388 | * utils.c (lines_to_list): Return 10 if lines_per_page == 0. |
| 1389 | |
| 1390 | Wed May 23 16:36:04 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1391 | |
| 1392 | * Changes for Sun shared libraries: |
| 1393 | blockframe.c (find_pc_partial_function): If a non-text symbol |
| 1394 | is found, set *address = pc - FUNCTION_START_OFFSET. |
| 1395 | breakpoint.c (insert_breakpoints) [DISABLE_UNSETTABLE_BREAK]: |
| 1396 | Disable breakpoints instead of giving an error. |
| 1397 | source.c (select_source_symtab): Initialize cs_pst. |
| 1398 | symmisc.c: Call CLEAR_SOLIB if defined. |
| 1399 | symtab.h: Make text{low,high} CORE_ADDR not int. |
| 1400 | (psymtab): New field addr. |
| 1401 | solib.c: New file. |
| 1402 | dbxread.c: Move DECLARE_FILE_HEADERS outside functions. |
| 1403 | (record_misc_function): Give correct type for N_DATA symbols. |
| 1404 | (condense_misc_bunches): do "misc_function_count = j" regardless |
| 1405 | of inclink. |
| 1406 | Take code which is shared between symbol_file_command and |
| 1407 | add_file_command and put it into partial_symbol_file_{open,read}. |
| 1408 | Split add_file_command into add_file_command and add_file. |
| 1409 | Make psymtab_to_symtab read in the string table if the file |
| 1410 | is not symfile. |
| 1411 | Two new parameters to read_dbx_symtab and start_psymtab. |
| 1412 | tm-sunos.h: New file. |
| 1413 | |
| 1414 | Tue May 22 17:43:03 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1415 | |
| 1416 | * infcmd.c: Change cont_command to continue_command and "cont" |
| 1417 | to "continue". |
| 1418 | |
| 1419 | Mon May 21 14:41:41 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1420 | |
| 1421 | * breakpoint.c (enable_breakpoint): Get value of watchpoint. |
| 1422 | |
| 1423 | * defs.h [sparc]: Use <alloca.h> regardless of __GNUC__. |
| 1424 | |
| 1425 | * values.c (USE_STRUCT_CONVENTION): Check for structures of |
| 1426 | size 1,2,4,8 rather than size < 8. |
| 1427 | |
| 1428 | * dbxread.c (dbx_lookup_type): Do f->length *= 2 as many times |
| 1429 | as necessary, not just once. |
| 1430 | |
| 1431 | * sparc-opcode.h: Add a bunch of new opcodes which Sun as supports. |
| 1432 | |
| 1433 | Thu May 17 15:04:09 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1434 | |
| 1435 | * {t,x}m-sun386.h, sun386-xdep.c, {x,t}config/sun386 |
| 1436 | |
| 1437 | * tm-news.h: Add CALL_DUMMY_*. |
| 1438 | |
| 1439 | * tm-68k.h: Remove duplicate comment at FRAME_FIND_SAVED_REGS. |
| 1440 | |
| 1441 | * config.gdb: In list_host, list_target, use ${i}, not $i. |
| 1442 | |
| 1443 | Tue May 15 21:27:12 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1444 | |
| 1445 | * source.c (find_source_lines) [BROKEN_LARGE_ALLOCA]: Use xmalloc. |
| 1446 | |
| 1447 | * sparc-opcode.h: Change all store floating-point state register |
| 1448 | instructions to have the right match & lose fields. |
| 1449 | |
| 1450 | Sat May 5 12:39:18 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1451 | |
| 1452 | * Makefile.dist: Move -I${srcdir} to GLOBAL_CFLAGS and pass |
| 1453 | VPATH to readline. |
| 1454 | config.gdb: If srcdir != ., create readline directory and |
| 1455 | copy a makefile into it. |
| 1456 | |
| 1457 | * wait.h, infrun.c: Change WRETCODE to WEXITSTATUS for |
| 1458 | consistency with POSIX. |
| 1459 | |
| 1460 | * breakpoint.c (bpstat_stop_status): Disable watchpoint |
| 1461 | when we exit its exp_valid_block. |
| 1462 | |
| 1463 | Tue Sep 4 11:46:46 1990 John Gilmore (gnu at cygint) |
| 1464 | |
| 1465 | * Makefile.dist: Bump version to 3.91.3. |
| 1466 | |
| 1467 | * Clean up handling of breakpoint commands (somewhat). |
| 1468 | Prompted by Tiemann bug report "cont 10" doesn't work any more. |
| 1469 | |
| 1470 | inferior.h: Add breakpoint_proceeded to inferior status struct |
| 1471 | and globals; save it and restore it. |
| 1472 | (clear_breakpoint_commands): Cleanup, remove old #define. |
| 1473 | |
| 1474 | infrun.c (clear_proceed_status): Set breakpoint_proceeded. |
| 1475 | (save_inferior_status, restore_inferior_status): handle it also. |
| 1476 | (proceed): Remove earlier code that set breakpoint_proceeded. |
| 1477 | It is now set only in clear_proceed_status. |
| 1478 | (clear_proceed_status): Cleanup, use bpstat_clear rather |
| 1479 | than clear_breakpoint_commands. No callers need the stop_bpstat |
| 1480 | between clear_proceed_status and proceed. |
| 1481 | |
| 1482 | infcmd.c: Add breakpoint_proceeded definition and comment. |
| 1483 | (cont_command, jump_command, signal_command): Move call to |
| 1484 | clear_proceed_status right next to call to proceed. |
| 1485 | |
| 1486 | breakpoint.c (bpstat_do_actions): Avoid clobbering our |
| 1487 | caller's argument while running down the chain of breakpoints. |
| 1488 | Use new variable "breakpoint_proceeded" to determine when |
| 1489 | a command that it executes moves the inferior past the |
| 1490 | breakpoint. |
| 1491 | (bpstat_clear): Handle NULL argument. |
| 1492 | (bpstat_clear_actions): Avoid useless call to |
| 1493 | breakpoint_auto_delete. |
| 1494 | (delete_breakpoint): Clean up bpstat's that are pointing to |
| 1495 | the deleted breakpoint from the stop_bpstat chain. |
| 1496 | (breakpoint_auto_delete): Simplify. |
| 1497 | |
| 1498 | * Clean up handling of EOF, error on stdin, etc. This was |
| 1499 | prompted by a network problem that caused gdb to go into an |
| 1500 | infinite loop filling up its malloc'd memory. |
| 1501 | |
| 1502 | main.c (return_to_top_level): Cleanup: call bpstat_clear_actions, |
| 1503 | not clear_breakpoints_commands, which is now gone. |
| 1504 | (main): If command_loop returns (e.g. from EOF on stdin), do |
| 1505 | a quit_command (looping back to command_loop if quit_command |
| 1506 | doesn't really quit). |
| 1507 | (command_loop): check result from command_line_input and |
| 1508 | exit if it returns NULL, rather than passing the NULL to |
| 1509 | execute_command. |
| 1510 | (gdb_readline): Free malloc'd result space before returning |
| 1511 | NULL for EOF. |
| 1512 | |
| 1513 | * utils.c (query): Handle C-d to mean "yes", just as if the |
| 1514 | input was not a terminal. Also avoid infinite loop if EOF |
| 1515 | occurs in mid-input-line before newline. This allows |
| 1516 | query to be used at EOF on stdin with reasonable results. |
| 1517 | |
| 1518 | * infrun.c (proceed): Set breakpoint_proceeded. |
| 1519 | |
| 1520 | * values.c (value_as_long): Avoid infinite recursion for enums. |
| 1521 | (_initialize_values): Fix typo in help msg (kingdon). |
| 1522 | |
| 1523 | * Makefile.dist (RL_LIB): Use RL_LIB_DEP for dependencies, |
| 1524 | RL_LIB for linking. This allows -lreadline for linking |
| 1525 | and nothing for dependencies, once readline is a real library. |
| 1526 | |
| 1527 | * config.gdb: Jim Kingdon: give useful error message if the |
| 1528 | host or target type is not recognized. |
| 1529 | |
| 1530 | * defs.h (alloca): SPARC <alloca.h> does not declare alloca, |
| 1531 | it just defines it. Dumb, but deal with it. |
| 1532 | |
| 1533 | * Jim Kingdon suggests: |
| 1534 | in xconfig/sun3os4, CFLAGS should be XM_CFLAGS. |
| 1535 | |
| 1536 | Wed Aug 29 18:03:27 1990 John Gilmore (gnu at cygint) |
| 1537 | |
| 1538 | * Makefile.dist (VERSION): Bump version # to 3.91.2. |
| 1539 | |
| 1540 | * Clean up Bothner's changes. |
| 1541 | |
| 1542 | * blockframe.c (clear_pc_function_cache): New function. |
| 1543 | * blockframe.c: remake cache_pc_function_* static. |
| 1544 | * dbxread.c (symbol_file_command): remove references to |
| 1545 | cache_pc_function_* variables. |
| 1546 | * dbxread.c (read_struct_type): Use VOFFSET_STATIC. |
| 1547 | * printcmd.c: Avoid kludging a global variable (addressprint) |
| 1548 | to avoid printing the address of a string twice. Instead, |
| 1549 | pass the format letter 's' down low enough that it can be seen |
| 1550 | to avoid this problem. |
| 1551 | (print_formatted): Pass format arg to value_print. |
| 1552 | (restore_addressprint): Remove function. |
| 1553 | (do_examine): Avoid hacking addressprint, cleanups and such. |
| 1554 | (print_frame_args): Add a comment to a Bothner change. |
| 1555 | * symtab.h: define VOFFSET_STATIC and use it instead of "-1". |
| 1556 | * symmisc.c (free_all_symtabs): Call clear_pc_function_cache |
| 1557 | to wipe out the values cached in blockframe.c. |
| 1558 | * symtab.c (find_method): Add comment saying how big you must |
| 1559 | allocate to be "big enough". Per being terse again. |
| 1560 | * valprint.c (val_print): Handle format letter "s" to print |
| 1561 | strings without addresses. Add comment to vtbl printing code |
| 1562 | which casts with wild abandon. Rearrange reference-printing |
| 1563 | code so it prints: |
| 1564 | @0xaddr: value (print w/addressprint) |
| 1565 | value (print w/~addressprint) |
| 1566 | @0xaddr (parameter lists w/addressprint) |
| 1567 | or nothing (parameter lists w/o addressprint) |
| 1568 | |
| 1569 | Tue Aug 28 10:47:18 1990 John Gilmore (gnu at cygint) |
| 1570 | |
| 1571 | * Merge more changes from Per Bothner: |
| 1572 | |
| 1573 | Gdb's handling of TYPE_CODE_REF was so counter-C++ (and otherwise |
| 1574 | annoying) that I tried to improve it. Here are my suggestions. |
| 1575 | |
| 1576 | These patches all attempt to handle TYPE_CODE_REF (as in C++) better. |
| 1577 | |
| 1578 | findvar.c: |
| 1579 | Do automatic de-reference when taking the address of a reference. |
| 1580 | printcmd.c: |
| 1581 | Don't deref_ref when printing parameter lists. |
| 1582 | valops.c: |
| 1583 | More attempts at treating refernences properly. |
| 1584 | valprint.c: |
| 1585 | In val_print, if deref_ref==0, don't print dangling " = ". |
| 1586 | value.h: |
| 1587 | Add COERCE_REF macro, which de-references an REF. |
| 1588 | |
| 1589 | * Merge changes from Per Bothner: |
| 1590 | |
| 1591 | * Fixed (Sony news)-specific configuration problems. |
| 1592 | * Fixed other problems with using vanilla pcc and libc (enum problems; |
| 1593 | assumption that vsprintf exists). |
| 1594 | * Some major speed-ups (finc_pc_partial_function now caches a match; |
| 1595 | parsing avoids duplicate symbol_lookup calls). |
| 1596 | * Changed handling of baseclasses (no longer use baseclasses field |
| 1597 | of struct type, use the first n_baseclasses fields instead). |
| 1598 | * Various minor changes/fixes, most C++-related. |
| 1599 | |
| 1600 | blockframe.c: |
| 1601 | Cache the most previous match from find_pc_partial_function. |
| 1602 | (Save both low and high ends of matching function's pc range.) |
| 1603 | This speeds up the loop of infrun.c:wait_for_inferior quite |
| 1604 | a bit, and makes step/next commands much zippier. |
| 1605 | command.c: |
| 1606 | Added an enum->int cast (otherwise, some compilers barf). |
| 1607 | dbxread.c: |
| 1608 | No longer set baseclass offset to 0, since multiple |
| 1609 | inheritance now mostly works. |
| 1610 | Added a number of casts, to shut up compiler warnings |
| 1611 | (after stabs where made enums, not ints). |
| 1612 | When discarding a symbol table (in symbol_file_command), |
| 1613 | must clear the cache introduced in blockframe.c. |
| 1614 | Don't convert $vtbl_ptr_type to vtbl any more. |
| 1615 | Get rid of TYPE_BASECLASEES and baseclass_vec (see also symtab.h). |
| 1616 | Mask off sign bit emitted by g++ for virtual table offset. |
| 1617 | Set voffset to -1 (not 1) for static member functions. |
| 1618 | expread.y: |
| 1619 | Changed parsing/lexing of names to avoid doing symbol lookup twice |
| 1620 | (once when lexing to determine symbol class, once for real). |
| 1621 | Now only call symbol_lookup once. Fields of 'this' win especially big. |
| 1622 | printcmd.c: |
| 1623 | Subpress printing addr twice in the case of 'x/s addr'. |
| 1624 | symtab.c: |
| 1625 | lookup_basetype_type is no longer used. |
| 1626 | Add find_methods as recursive helper function to decode_line_1. |
| 1627 | This allows multiple inheritance to work. |
| 1628 | Also, once one or more matches has been found, do not look in |
| 1629 | base-classes. (Baseclass methods would be overridden, anyway.) |
| 1630 | symtab.h: |
| 1631 | Removed baseclasses array in struct type. |
| 1632 | Instead of using baseclasses[i], use fields[i-1]. |
| 1633 | Added virtual_field_bits[i] to indicate if the i'th baseclass is virtual. |
| 1634 | Changed sign convention of voffset (previous was inconsistent). |
| 1635 | tm-news.h: |
| 1636 | Some macros (CALL_DUMMY and relatives) were missing. Put them back. |
| 1637 | utils.c: |
| 1638 | Used to assume existence of vsprintf. Re-written to not need it |
| 1639 | if HAVE_VPRINTF is undefined. |
| 1640 | valops.c: |
| 1641 | typecmp was too pessimistic. Made it less so. |
| 1642 | valprint.c: |
| 1643 | Don't print space after address. |
| 1644 | If vtable points to a misc symbol (with 0 offset), print it, |
| 1645 | since that indicates the actual class of the object. |
| 1646 | Changed ype_print_derivation_info to use new inheritance |
| 1647 | scheme (without baseclasses vector). |
| 1648 | values.c: |
| 1649 | In value_primitive_field, fixed some bugs left over from previous set of fixes. |
| 1650 | Also, changes needed because TYPE_BASECLASSES were removed. |
| 1651 | xm-news.h: |
| 1652 | REGISTER_U_ADDR didn't work for PC. Rewrote to use an array. |
| 1653 | |
| 1654 | Tue Aug 21 20:08:54 1990 John Gilmore (gnu at cygint) |
| 1655 | |
| 1656 | * source.c: |
| 1657 | If there is no path set, and the symbols don't indicate what directory |
| 1658 | a file was compiled in, look in the current directory. But either |
| 1659 | a path or a known compilation directory will prevent this. |
| 1660 | |
| 1661 | * dbxread.c: |
| 1662 | Three independent bug fixes: |
| 1663 | * Remove the #if 0 block that breaks some stuff. |
| 1664 | * SunOS 4.1 fixed the promoted-parameter-wrong-addr bug in Sun C; |
| 1665 | adapt gdb to either SunOS 4.0.* or 4.1. |
| 1666 | * MAX_OF_TYPE and MIN_OF_TYPE thinko. By tedg@sun, I think. |
| 1667 | |
| 1668 | * symtab.c: |
| 1669 | Instantiate the class T when looking for methods in it. (Tiemann@sun) |
| 1670 | |
| 1671 | * valprint.c: |
| 1672 | (type_print) Demangle the name being printed. |
| 1673 | (type_print_base) Handle botched demangling without coredump (tiemann). |
| 1674 | |
| 1675 | * values.c: |
| 1676 | (check_stub_method): Document routine. |
| 1677 | (tiemann) fix bug for no-arg functions |
| 1678 | Avoid clobbering beyond end of malloc'd storage. |
| 1679 | Terminate the argument list properly. |
| 1680 | |
| 1681 | Sat Aug 18 01:29:59 1990 Per Bothner (bothner@cs.wisc.edu) |
| 1682 | |
| 1683 | * Changes merged by John Gilmore: |
| 1684 | |
| 1685 | breakpoint.c: |
| 1686 | In breakpoint_1, use new print_address_symbolic instead |
| 1687 | of find_pc_partial_function. (This forces use of assembler-level |
| 1688 | addresses, and avoids misleading non-mangled source-level names.) |
| 1689 | cplus-dem.c: |
| 1690 | Generalize ansi argument such that -1 means skip arglist totally. |
| 1691 | Removed global variable print_ansi_qualifiers (which made |
| 1692 | code non-reentrant), in favor of extra explicit arguments |
| 1693 | to internal routines. |
| 1694 | printcmd.c: |
| 1695 | Add new helper function print_address_symbolic. |
| 1696 | Use find_pc_misc_function instead of find_pc_partial_function |
| 1697 | (since we want assembler-level symbols here). |
| 1698 | stack.c: |
| 1699 | Print unknown function as just "f (...)", not "f (...) (...)". |
| 1700 | Use new fputs_demangled explicitly. |
| 1701 | symtab.c: |
| 1702 | Fixed a typing violation (problem: value.h cannot be imported |
| 1703 | without renaming many variable in this file). |
| 1704 | lookup_symbol: If no matching misc_func, look for a C++-mangled name. |
| 1705 | decode_line_1: Moved forward some never-reached code. |
| 1706 | Made decode_line_2 skip function prologues correctly. |
| 1707 | utils.c: |
| 1708 | fputs_filtered should not demangle by default. |
| 1709 | Add new fputs_demangled to demangle on demand.. |
| 1710 | valops.c: |
| 1711 | Change value_struct_elt to use value_primitive_field (using recursive |
| 1712 | utility function search_struct_field). This allows foo.bar to work |
| 1713 | for multiple inheritance (so far only for data fields). |
| 1714 | Change check_field in the same way (recursive helper function |
| 1715 | to support multiple inheritance). |
| 1716 | (Note: there are more of these problems that I haven't fixed. |
| 1717 | Any code that says TYPE_BASECLASS (t, 1) is probably wrong.) |
| 1718 | value_of_this: 'this' symbol name is now just "this", note "$this". |
| 1719 | valprint.c: |
| 1720 | Don't print static members. |
| 1721 | Avoid printing "members of <type>" if there are none. |
| 1722 | Simplified type_print_derivation_info by merging duplicate code. |
| 1723 | Remove useless blank lines in type_print_base (ptype command). |
| 1724 | value.h: |
| 1725 | Added declaration of new routine value_primitive_field. |
| 1726 | values.c: |
| 1727 | Added value_primitive_field which is generalized version of |
| 1728 | value_field that can handle multiple inheritance (non-zero offsets etc). |
| 1729 | Re-implemented value_field to call value_primitive_field. |
| 1730 | |
| 1731 | Fri Aug 17 23:33:44 1990 John Gilmore (gnu at cygint) |
| 1732 | |
| 1733 | * infcmd.c -- insert else to avoid 'delete env' coredump when you |
| 1734 | delete the whole environment. Karl Berry reported the bug. |
| 1735 | * source.c - fix openp to avoid //'s in filenames, which |
| 1736 | trigger an Emacs bug causing it to not be able to find files |
| 1737 | when running gdb in a window. |
| 1738 | * dbxread.c - zap the #if 0 that botches the add-file code. |
| 1739 | It seems to work a lot better without all the code commented out. |
| 1740 | |
| 1741 | Fri Jul 20 16:58:46 1990 John Gilmore (gnu at cygnus.com) |
| 1742 | |
| 1743 | * Merge Tiemann's and Ted Goldstein's changes, detailed below, |
| 1744 | into gdb-3.90.9. |
| 1745 | |
| 1746 | Tue Jul 17 19:34:33 1990 Ted Goldstein (tedg at golem) |
| 1747 | |
| 1748 | * Makefile - added a ${CFLAGS} to a couple of entries, |
| 1749 | added remote-sa.sparc.c |
| 1750 | * added remote.sa-sparc.c, a modification of remote.c |
| 1751 | which conducts a dialog directly with the SparcStation prom. |
| 1752 | * breakpoint.c, infrun.c, sparcdep.c added |
| 1753 | remote_insert_breakpoint(), and remote_remove_breakpoint() |
| 1754 | to breakpoint.c instead of directly writing breakpoint instructions. |
| 1755 | * sparcdep.c on remote_debugging,there is no need |
| 1756 | to remove signle step breakpoint instructions. |
| 1757 | * main.c added "-epoch" flag and "int epoch_interface" to main.c |
| 1758 | global variable |
| 1759 | * printcmd.c - epoch interface sends lisp expressions to open up |
| 1760 | epoch windows on inspection. |
| 1761 | * valprint.c - added arrayprint, and addressprint and made adding |
| 1762 | format controls easier |
| 1763 | * wait.h added a couple of undef's because we were getting |
| 1764 | complaints about WSTOPSIG and WTERMSIG begin redefined. |
| 1765 | |
| 1766 | |
| 1767 | Wed Jul 4 05:27:51 1990 Michael Tiemann (tiemann at masham) |
| 1768 | |
| 1769 | * symtab.c (decode_line_1): Add support for handling method stubs |
| 1770 | in the type information. |
| 1771 | |
| 1772 | Tue Jul 3 09:39:18 1990 Michael Tiemann (tiemann at masham) |
| 1773 | |
| 1774 | * values.c (baseclass_addr): Run loop from INDEX+1 to |
| 1775 | N_BASECLASSES; otherwise, we can still get into a loop. |
| 1776 | @@ This should be restructured to use a cleaner search strategy. |
| 1777 | |
| 1778 | Sun Jul 1 12:28:51 1990 Michael Tiemann (tiemann at masham) |
| 1779 | |
| 1780 | * dbxread.c (define_symbol,read_type): Grok GNU C++'s new |
| 1781 | abbreviation "Tt" for tags which have the same name as their |
| 1782 | typedecls. |
| 1783 | |
| 1784 | Fri Jun 29 01:03:46 1990 Michael Tiemann (tiemann at masham) |
| 1785 | |
| 1786 | * symtab.c (list_symbols): add ability to set breakpoints on all |
| 1787 | the functions which match a particular regular expression. |
| 1788 | |
| 1789 | Tue Jun 26 04:26:29 1990 Michael Tiemann (tiemann at masham) |
| 1790 | |
| 1791 | * cplus-dem.c (cplus_demangle): New parameter ANSI says whether we |
| 1792 | should print ANSI qualifiers (such as `const' and `volatile'). |
| 1793 | All callers changed to call with ANSI == 1, except from |
| 1794 | `check_method_stub', which uses old-style syntax. |
| 1795 | |
| 1796 | * symseg.h (struct fn_field): Remove unneccessary `args' field. |
| 1797 | * symtab.h (TYPE_FN_FIELD_ARGS): Redefined. |
| 1798 | |
| 1799 | * values.c (check_stub_method): New function. |
| 1800 | |
| 1801 | * cplus-dem.c (do_type): Handle "long long" (encoded as 'x'). |
| 1802 | |
| 1803 | * dbxread.c (read_type): Handle new GNU C++ method type stubs. |
| 1804 | * valprint (type_print_base): Ditto. |
| 1805 | |
| 1806 | * symtab.c (gdb_mangle_typename): New function. |
| 1807 | |
| 1808 | Tue Jun 5 00:18:43 1990 Michael Tiemann (tiemann at gzilla) |
| 1809 | |
| 1810 | * breakpoint.c (catch_command): New function. Provides a |
| 1811 | mechanism to set breakpoints based on catch clauses. |
| 1812 | (disable_catch): Similar, but disables breakpoints on catch |
| 1813 | clauses. |
| 1814 | (delete_catch): Similar, but deleted breakpoints on catch clauses. |
| 1815 | |
| 1816 | Sun Jun 3 22:54:08 1990 Michael Tiemann (tiemann at gzilla) |
| 1817 | |
| 1818 | * blockframe.c (blockvector_for_pc): New function. |
| 1819 | * blockframe.c (block_for_pc): Changed to call |
| 1820 | `blockvector_for_pc' and get the block itself. |
| 1821 | |
| 1822 | * stack.c (catch_info): New function. Prints info about |
| 1823 | exceptions which can be caught in the current frame. |
| 1824 | * stack.c (print_frame_label_vars): New function. Similar to |
| 1825 | `print_frame_local_vars'. |
| 1826 | * stack.c (print_block_frame_labels): Prints out labels that are |
| 1827 | defined in this frame. These labels are exceptions that can be |
| 1828 | caught. |
| 1829 | |
| 1830 | * dbxread.c: Updated to handle N_CATCH symtab types. |
| 1831 | |
| 1832 | Thu May 3 22:10:00 1990 Michael Tiemann (tiemann at teacake) |
| 1833 | |
| 1834 | * valprint.c (everywhere): TYPE_NAME (TYPE) no longer comes in the |
| 1835 | form "struct ..." for GNU C++. Don't flush any part of TYPE_NAME |
| 1836 | when printing the type. |
| 1837 | |
| 1838 | Wed May 2 22:43:04 1990 Michael Tiemann (tiemann at teacake) |
| 1839 | |
| 1840 | * valprint.c (val_print): Use `baseclass_addr' to access the |
| 1841 | baseclasses pointed to via the derived class object at VALADDR. |
| 1842 | |
| 1843 | * values.c (baseclass_addr): New function. Casts derived pointers |
| 1844 | to baseclass pointers taking virtual baseclasses and multiple |
| 1845 | inheritance into account. |
| 1846 | |
| 1847 | Sat May 5 12:39:18 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1848 | |
| 1849 | * Version 3.90.9. |
| 1850 | |
| 1851 | Fri May 4 12:12:55 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1852 | |
| 1853 | * breakpoint.c (watch_command, bpstat_stop_status): Deal with |
| 1854 | exp_valid_block field correctly. |
| 1855 | |
| 1856 | * infrun.c (wait_for_inferior): When checking "don't even think |
| 1857 | about breakpoints" if stop_signal == SIGTRAP && trap_expected, |
| 1858 | also check step_resume_breakpoint. |
| 1859 | Insert breakpoints and continue (not step) if |
| 1860 | step_resume_break_address != NULL, even if another_trap. |
| 1861 | If trap_expected and we enter sigtramp, then set up a |
| 1862 | step_resume_break. |
| 1863 | If trap_expected is set when we hit the step_resume_break, |
| 1864 | set another_trap. |
| 1865 | When calling resume and trap_expected says tell resume to step |
| 1866 | (2 places), also check step_resume_break_address. |
| 1867 | |
| 1868 | * infrun.c (wait_for_inferior): Don't set |
| 1869 | prev_{pc,sp,func_{start,name}} before calling wait (). |
| 1870 | Do set them after exiting loop. |
| 1871 | Move their declarations outside functions. |
| 1872 | (start_inferior): Initialize them. |
| 1873 | |
| 1874 | Thu May 3 00:15:11 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1875 | |
| 1876 | * infrun.c (wait_for_inferior, after check for trap_expected > 1): |
| 1877 | Restore old code which distinguishes between trap_expected and |
| 1878 | running_in_shell, just make the latter take any non-TRAP signal, |
| 1879 | not just SEGV. |
| 1880 | |
| 1881 | * values.c (allocate_value): Zero VALUE_OPTIMIZED_OUT flag. |
| 1882 | |
| 1883 | * Makefile.dist (pinsn.o): Use PINSN_CC to compile. |
| 1884 | xconfig/3b1 (CC,PINSN_CC): Define. |
| 1885 | |
| 1886 | * xconfig/altos, altos-dep.c: Rename altos-dep.c to altos-xdep.c. |
| 1887 | |
| 1888 | * Version 3.90.8 |
| 1889 | |
| 1890 | * breakpoint.c (bpstat_stop_status), |
| 1891 | infrun.c (wait_for_inferior) [SHIFT_INST_REGS]: New code. |
| 1892 | |
| 1893 | * param.h, tm-88k.h: Define ADDR_BITS_*. |
| 1894 | infcmd.c (jump_command, read_pc), infrun.c (wait_for_inferior), |
| 1895 | printcmd.c (do_one_display): Use them. |
| 1896 | |
| 1897 | * utils.c: Split #ifdef USG into a USG_UTILS and a QUEUE_MISSING. |
| 1898 | xm-88k.h: Define USG_UTILS. |
| 1899 | |
| 1900 | Wed May 2 00:05:33 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1901 | |
| 1902 | * printcmd.c (printf_command) [__INT_VARARGS_H]: New code. |
| 1903 | (printf_command): Add from_tty parameter. |
| 1904 | |
| 1905 | * valprint.c (value_print): Check VALUE_OPTIMIZED_OUT flag. |
| 1906 | |
| 1907 | * value.h: Add optimized_out field and change lazy field to |
| 1908 | char. Add macro VALUE_OPTIMIZED_OUT. |
| 1909 | |
| 1910 | * i386-pinsn.c: Change from Eirik Fuller to write to stream directly |
| 1911 | instead of stuffing things in buffers (oappend, etc). |
| 1912 | |
| 1913 | * breakpoint.c (bpstat_do_actions): If *BSP is set to NULL by |
| 1914 | execute_command, exit both loops. |
| 1915 | |
| 1916 | * Makefile.dist: Don't set TARGET_ARCH. Add .c.o rule. |
| 1917 | |
| 1918 | Tue May 1 17:07:23 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1919 | |
| 1920 | * Makefile.dist (RAPP_OBS, rapp), |
| 1921 | rgdb.c, rserial.c, rudp.c, serial.c, udp.c, xdep.h, |
| 1922 | remote.h: Added. |
| 1923 | m68k-xdep.c, coredep.c: Wrap in #if !defined (RDB). |
| 1924 | |
| 1925 | * valops.c (value_struct_elt), values.c (value_static_field): |
| 1926 | Change error messages to remove references to `info methods'. |
| 1927 | |
| 1928 | Tue Apr 24 10:25:10 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1929 | |
| 1930 | * More 88k changes: |
| 1931 | infrun.c (start_inferior): Add START_INFERIOR_HOOK. |
| 1932 | infcmd.c [SHIFT_INST_REGS]: New code. |
| 1933 | findvar.c (read_relative_register_raw_bytes): Return a value. |
| 1934 | infcmd.c (do_registers_info): Check value from |
| 1935 | read_relative_register_raw_bytes. |
| 1936 | |
| 1937 | * command.c (delete_cmd): Free the struct cmd_list_element(s) |
| 1938 | we are removing. |
| 1939 | |
| 1940 | Mon Apr 23 10:42:21 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1941 | |
| 1942 | * More 88k changes: |
| 1943 | findvar.c (get_saved_register): New function. |
| 1944 | findvar.c: Rewrite code which called find_saved_register to |
| 1945 | call get_saved_register instead. |
| 1946 | |
| 1947 | Sun Apr 22 14:47:51 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1948 | |
| 1949 | * valprint.c (val_print): Change error message printed when |
| 1950 | the type has TYPE_FLAG_STUB set. |
| 1951 | |
| 1952 | * valprint.c (val_print): Check for TYPE_CODE_UNDEF. |
| 1953 | |
| 1954 | * findvar.c (write_register): Set register_valid (regno). |
| 1955 | |
| 1956 | * valops.c (call_function): Check for NULL return from block_for_pc. |
| 1957 | |
| 1958 | Fri Apr 20 11:31:23 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1959 | |
| 1960 | * findvar.c (write_register): Add PREPARE_TO_STORE. |
| 1961 | {sun3,sparc,symmetry}-xdep.c (PREPARE_TO_STORE): Add. |
| 1962 | infptrace.c, {mips,pyr,symmetry,sun3,arm,hp300hpux}-xdep.c |
| 1963 | (store_inferior_registers): Don't call read_register_bytes. |
| 1964 | symmetry-xdep.c (store_inferior_registers): |
| 1965 | #if 0 out code to fetch registers. |
| 1966 | |
| 1967 | * values.c (value_as_long): Call COERCE_ARRAY. |
| 1968 | |
| 1969 | * tm-sun3.h: Include tm-68k.h not m-68k.h |
| 1970 | |
| 1971 | * sparc-tdep.c (single_step): Set next_pc, npc4 within |
| 1972 | if (!one_stepped), not outside it. |
| 1973 | |
| 1974 | * Changes from Data General for 88k: |
| 1975 | * coffread.c (read_file_hdr): Add *88*MAGIC. |
| 1976 | * coffread.c (have_symbol_file_p): New function. |
| 1977 | * coffread.c [COFF_CHECK_X_ZEROES] [TDESC]: New code. |
| 1978 | * coffread.c (read_one_sym): If there is more than one |
| 1979 | aux entry, don't give an error message, just ignore the |
| 1980 | extra ones. |
| 1981 | * coffread.c (process_coff_symbol): Replace clipper with |
| 1982 | BELIEVE_PCC_PROMOTION in #ifdef's. |
| 1983 | * coffread.c: Define L_LNNO32 if not defined. |
| 1984 | (enter_linenos): Use it. |
| 1985 | * blockframe.c: Add INIT_FRAME_PC hook and use it in |
| 1986 | get_prev_frame_info. |
| 1987 | m-m88k.h: Use INIT_{FRAME_PC,EXTRA_FRAME_INFO} to do tdesc stuff. |
| 1988 | Use dummy versions of FRAME_CHAIN_*. |
| 1989 | * Makefile.dist, xconfig/i386*: Rename M_CLIBS to XM_CLIBS and add |
| 1990 | TM_CLIBS and CDEPS. |
| 1991 | tdesc/libdc.o: New target. |
| 1992 | tdesc.{c,h}, tdesc/*, {t,x}config/m88k: New files. |
| 1993 | |
| 1994 | Thu Apr 12 15:47:00 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1995 | |
| 1996 | * m68k-opcode.h (bras, bsrs): Use "Bw" not "Bg". |
| 1997 | |
| 1998 | Tue Apr 10 20:50:25 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 1999 | |
| 2000 | * Version 3.90.7. |
| 2001 | |
| 2002 | * xm-mips.h (BYTE_ORDER): If not defined, make it LITTLE_ENDIAN. |
| 2003 | |
| 2004 | * mips-xdep.c ({fetch,store}_inferior_registers): Remove variable |
| 2005 | offset and just use register_addr (regno, 1). |
| 2006 | (core_file_command): Remove variable reg_offset and just use |
| 2007 | register_addr (regno, 0). |
| 2008 | |
| 2009 | * gdbcore.h [COFF_FORMAT]: #undef a_magic before redefining it. |
| 2010 | |
| 2011 | * infrun.c ("if (trap_expected && stop_signal != SIGTRAP)", near end |
| 2012 | of wait_for_inferior): Always pass 0 as first arg to resume. |
| 2013 | #if 0 out "SIGSEGV in shell" test right above it (now redundant). |
| 2014 | |
| 2015 | * i386-pinsn.c (oappend_address): New function. |
| 2016 | (oappend): Make it "static void" and declare at top of file. |
| 2017 | (OP_J, OP_DIR): Use oappend_address. |
| 2018 | |
| 2019 | Mon Apr 9 15:22:09 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2020 | |
| 2021 | * mips-xdep.c: Include <mips/inst.h> not "mips/inst.h". |
| 2022 | |
| 2023 | * wait.h [HAVE_WAIT_STRUCT]: Put #defines in #if !defined so that |
| 2024 | it's OK if they are defined in <sys/wait.h>. |
| 2025 | |
| 2026 | * findvar.c (fetch_registers): Pass "registers", not "®isters", |
| 2027 | to remote_fetch_registers. |
| 2028 | |
| 2029 | * mips-tdep.c (_initialize_mipsdep): Remove hex_disassembler |
| 2030 | and re-write skip_prologue to use add_set_cmd. |
| 2031 | |
| 2032 | * Makefile.dist (alldeps.mak): Don't put \ after the last |
| 2033 | filename in each list. |
| 2034 | |
| 2035 | Sun Apr 8 01:59:19 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2036 | |
| 2037 | * Version 3.90.6. |
| 2038 | |
| 2039 | * Makefile.dist (alldeps.mak): "XM_FILE" -> "XM_FILE=". |
| 2040 | |
| 2041 | * valarith.c (value_x_{un,bin}op): use "operator" not "operator " |
| 2042 | to match dbxread.c change of 16 Mar 90. |
| 2043 | |
| 2044 | * valarith.c (value_x_unop): Pass &static_memfuncp, |
| 2045 | not static_memfuncp. |
| 2046 | |
| 2047 | * breakpoint.c: Add watchpoint stuff. |
| 2048 | breakpoint.h: Add bpstat_should_step. |
| 2049 | infrun.c (proceed, wait_for_inferior): Use it. |
| 2050 | breakpoint.h: Add bpstat_print (and rename old bpstat_print |
| 2051 | to bpstat_should_print). |
| 2052 | infrun.c (normal_stop): Use it. |
| 2053 | |
| 2054 | * value.h: Add value_free. Declare a few functions. |
| 2055 | |
| 2056 | Sat Apr 7 21:43:43 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2057 | |
| 2058 | * dbxread.c (read_dbx_symtab): Remove PROFILE_TYPES code and |
| 2059 | insert comment suggesting easy shell script equivalents. |
| 2060 | |
| 2061 | * values.c (unpack_long): Give better error messages for |
| 2062 | unrecognized sizes of ints and floats. |
| 2063 | |
| 2064 | Fri Apr 6 00:32:21 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2065 | |
| 2066 | * dbxread.c, gdbcore.h (IS_OBJECT_FILE): Check for a_drsize |
| 2067 | nonzero as well as a_trsize. |
| 2068 | |
| 2069 | * More places: Use SWAP_TARGET_AND_HOST. |
| 2070 | |
| 2071 | * valops.c (destructor_name_p): Only skip "struct " if present. |
| 2072 | |
| 2073 | * main.c (gdb_readline): Return NULL on end of file. |
| 2074 | |
| 2075 | * sparc-opcode.h: Add jmp 1+2, jmp 1+i, jmp i+1. |
| 2076 | |
| 2077 | * Makefile.dist: Make expread.tab.c unambiguously be in srcdir. |
| 2078 | |
| 2079 | * main.c: Split source_command into source_command and |
| 2080 | read_command_file. |
| 2081 | (main): Accept "-" as arg to +command for stdin. |
| 2082 | |
| 2083 | * dbxread.c (psymtab_to_symtab): Don't read string table. |
| 2084 | (symbol_file_command): Save string table size. |
| 2085 | |
| 2086 | * Version 3.90.5 |
| 2087 | |
| 2088 | * symtab.c: Remove declaration of lookup_misc_func. |
| 2089 | |
| 2090 | * mips-pinsn.c: Add use_hex_p stuff (re-worked from Forin stuff). |
| 2091 | |
| 2092 | * mips-opcode.h: Add bdelay field. |
| 2093 | mips-pinsn.c: Various changes from Forin, I think to make it look |
| 2094 | like the MIPS assembler format. |
| 2095 | mips-tdep.c, mips-xdep.c, mipsread.c: Various changes from Forin. |
| 2096 | |
| 2097 | * gdbcore.h: Declare register_addr. |
| 2098 | |
| 2099 | * gdbcore.h: Include <a.out.h>, before trying to redefine N_TXTADDR |
| 2100 | and friends. |
| 2101 | various: Don't include both a.out.h and gdbcore.h. |
| 2102 | |
| 2103 | * Makefile.dist (HFILES): Add param.h |
| 2104 | |
| 2105 | * utils.c (init_malloc): Moved here from mcheck.c and modified |
| 2106 | to use the standard mcheck.c |
| 2107 | Makefile.dist: Modify to reflect new mcheck. |
| 2108 | |
| 2109 | Thu Apr 5 16:38:28 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2110 | |
| 2111 | * valprint.c (val_print, print_hex_chars): Print integers |
| 2112 | larger than LONGEST. |
| 2113 | |
| 2114 | * valarith.c (value_sub): Give error message if attempt to |
| 2115 | subtract something of the wrong type from a pointer. |
| 2116 | |
| 2117 | * breakpoint.c (bpstat_stop_status): Initialize retval to NULL. |
| 2118 | |
| 2119 | * i386-tdep.c (i386_pop_frame): Change addr to adr. |
| 2120 | |
| 2121 | Wed Apr 4 05:21:50 1990 Jim Kingdon (kingdon at teenage-mutant) |
| 2122 | |
| 2123 | * main.c (command_line_input): return NULL on end of file. |
| 2124 | (execute_command): If p is NULL, return almost right away. |
| 2125 | (read_command_lines): Treat end of file like "end". |
| 2126 | |
| 2127 | * printcmd.c (print_frame_args): Change it so num is number |
| 2128 | of ints of args, not number of args. |
| 2129 | |
| 2130 | * xm-*.h: Make sure BYTE_ORDER is defined. |
| 2131 | Also fix various #includes of old names of things. |
| 2132 | |
| 2133 | * main.c (command_line_input): Fix comment code of 2 Apr. |
| 2134 | |
| 2135 | * values.c (value_from_long, unpack_long): SWAP_TARGET_AND_HOST. |
| 2136 | various: Replace {BYTES,WORDS}_BIG_ENDIAN with TARGET_BYTE_ORDER. |
| 2137 | valarith.c various: SWAP_TARGET_AND_HOST. |
| 2138 | dbxread.c (READ_FILE_HEADERS): SWAP_TARGET_AND_HOST. |
| 2139 | (SWAP_SYMBOL): New macro. Use it wherever symbuf_idx is incremented. |
| 2140 | exec.c (exec_file_command): SWAP_TARGET_AND_HOST. |
| 2141 | |
| 2142 | * valarith.c (value_subscripted_rvalue): Just bcopy() the |
| 2143 | appropriate bytes rather than playing strange games with |
| 2144 | value_from_long. |
| 2145 | |
| 2146 | * param.h (SWAP_TARGET_AND_HOST): New macro. |
| 2147 | |
| 2148 | * tm-np1.h (V7_REGNUM): Change from 27 to 26. |
| 2149 | (REGISTER_VIRTUAL_TYPE): Return correct result for vector regs. |
| 2150 | gould-tdep.c: New file. |
| 2151 | |
| 2152 | * Move reading of register before store from |
| 2153 | findvar.c (write_register) to |
| 2154 | infptrace.c, *-xdep.c (store_inferior_register). |
| 2155 | |
| 2156 | * findvar.c (fetch_registers, store_registers): New functions. |
| 2157 | write_register{,_bytes}: Use store_registers regardless of |
| 2158 | have_inferior_p. |
| 2159 | registers_valid: New variable. |
| 2160 | (supply_register, read_register, etc.): Use it. |
| 2161 | (read_register_gen): New variable. |
| 2162 | various: Use read_register_gen rather than read_register_bytes |
| 2163 | where appropriate. |
| 2164 | *-xdep.c (fetch_inferior_registers): Remove remote_debugging check. |
| 2165 | infrun.c (wait_for_inferior, start_inferior): Call registers_changed |
| 2166 | not fetch_inferior_registers. |
| 2167 | *-xdep.c (fetch_inferior_registers): Call registers_fetched if |
| 2168 | not setting registers via supply_register, and if fetching |
| 2169 | all registers. |
| 2170 | infptrace.c, *-xdep.c (fetch_inferior_registers): Add param, |
| 2171 | # of register to fetch (-1 for all). |
| 2172 | infptrace.c, hp300hpux-xdep.c (fetch_inferior_registers): |
| 2173 | Actually fetch only those registers needed. |
| 2174 | value.h: Declare all the extern register functions from findvar.c. |
| 2175 | |
| 2176 | * coffread.c (read_coff_symtab): Test for specific kinds of GCC |
| 2177 | labels (LI%.*, LPB%.*, etc), not just ??%.*. |
| 2178 | |
| 2179 | * coffread.c (record_misc_function): Use mf_text not mf_unknown. |
| 2180 | |
| 2181 | * utils.c,defs.h (lines_to_list): New function. |
| 2182 | source.c (select_source_symtab, list_command, forward_search_command, |
| 2183 | reverse_search_command), stack.c (print_frame_info): |
| 2184 | Use it instead of 10. |
| 2185 | |
| 2186 | * munch: If MUNCH_NM variable exists, use it. |
| 2187 | |
| 2188 | * main.c (initialize_main): Set rl_readline_name. |
| 2189 | main.c: #include readline.h and #undef savestring. |
| 2190 | Remove declarations of things declared in readline.h. |
| 2191 | |
| 2192 | * main.c (gdb_readline): If instream == 0, read from stdin. |
| 2193 | |
| 2194 | * main.c (main): Only call clearerr if ISATTY. Exit loop if |
| 2195 | feof (instream). |
| 2196 | |
| 2197 | * infcmd.c (detach_command): Set inferior_pid to 0 after |
| 2198 | calling remote_close. |
| 2199 | |
| 2200 | * main.c (main): If exec and sym files are the same, and there |
| 2201 | is an error reading execfile, don't try to read sym file. |
| 2202 | |
| 2203 | * infcmd.c (detach_command) [ATTACH_DETACH]: Don't try to detach |
| 2204 | from inferior when remote debugging. |
| 2205 | |
| 2206 | * source.c (reverse_search_command): Change while test from 1 to |
| 2207 | line > 1. |
| 2208 | |
| 2209 | Tue Apr 3 18:14:14 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2210 | |
| 2211 | * Version 3.90.4. |
| 2212 | |
| 2213 | * Makefile.dist (gdb.tar.Z): Use -z option to tar rather than |
| 2214 | creating gdb.tar and calling compress separately. |
| 2215 | |
| 2216 | * breakpoint.c (read_memory_nobpt): Do not treat bcopy as if it |
| 2217 | returned an "errno" value. |
| 2218 | |
| 2219 | * various: Make sure gdbcore.h is not included before a.out.h. |
| 2220 | |
| 2221 | * Makefile.dist (OPCODES): Add mips-opcode.h. |
| 2222 | |
| 2223 | * config.gdb: Print lists of {hosts,targets} after finding srcdir. |
| 2224 | When parsing +{host,target}=, strip off +{host,target}=, not +{x,t}m=. |
| 2225 | |
| 2226 | * Makefile.dist (gdb.tar): Do {t,x}config not just config. |
| 2227 | |
| 2228 | Mon Apr 2 02:42:23 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2229 | |
| 2230 | * sparc-opcode.h (inc): Fix incorrect lose field. |
| 2231 | |
| 2232 | * valarith.c (value_subscripted_rvalue): Use TARGET_BYTE_ORDER, |
| 2233 | rather than checking endianness at runtime. |
| 2234 | |
| 2235 | * main.c (comand_line_input): Accept comments anywhere, not |
| 2236 | just at starts of lines. |
| 2237 | |
| 2238 | Sat Mar 31 21:59:35 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2239 | |
| 2240 | * symtab.c (check_stub_type): Call lookup_symbol with 5 args. |
| 2241 | |
| 2242 | Fri Mar 30 15:23:52 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2243 | |
| 2244 | * frame.h: #include param.h. |
| 2245 | param.h: Protect against multiple inclusion. |
| 2246 | |
| 2247 | * i386-tdep.c (i386_get_frame_setup): Fix comment about what |
| 2248 | opcode 0x55 is. |
| 2249 | If 0x81 or 0x83 is followed by something besides 0xec, |
| 2250 | put codestream back where it was and return 0. |
| 2251 | [USE_MACHINE_REG_H]: Include <machine/reg.h> not <sys/reg.h> |
| 2252 | Move include of a.out.h above <sys/user.h>. |
| 2253 | (i386_frame_find_saved_regs): Make locals signed. |
| 2254 | (i386_frame_find_saved_regs, i386_push_dummy_frame, i386_pop_frame): |
| 2255 | Use REGISTER_BYTES, REGISTER_RAW_SIZE, etc. to deal with floating |
| 2256 | point registers. |
| 2257 | |
| 2258 | Wed Mar 28 18:33:40 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) |
| 2259 | |
| 2260 | * Makefile.dist (OTHERS): Add gdb.dvi. |
| 2261 | (gdb.dvi): New rule. |
| 2262 | |
| 2263 | * breakpoint.c (_initialize_breakpoint): Clean up docstrings so |
| 2264 | as not to mention subcommands (e.g. auto-display). |
| 2265 | Call add_cmd not add_abbrev_cmd for "disable breakpoint" and |
| 2266 | put it in class_alias. |
| 2267 | |
| 2268 | * breakpoint.c (set_breakpoint_count): New function. |
| 2269 | (set_breakpoint, break_command_1): Use it. |
| 2270 | |
| 2271 | * breakpoint.c (get_number): New function. |
| 2272 | (*_command, map_breakpoint_numbers): Use it. |
| 2273 | |
| 2274 | * infptrace.c (write_inferior_memory): Remove remote_debugging |
| 2275 | stuff (is handled in core.c). |
| 2276 | (read_inferior_memory): Remove #if 0'd out remote_debugging code. |
| 2277 | |
| 2278 | Tue Mar 27 16:51:27 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) |
| 2279 | |
| 2280 | * inferior.h: Include frame.h. |
| 2281 | |
| 2282 | * findvar.c (write_register): Replace sun4 #ifdef with |
| 2283 | check of CANNOT_STORE_REGISTER. |
| 2284 | xm-sparc.h: Define CANNOT_STORE_REGISTER. |
| 2285 | |
| 2286 | * sparc-tdep.c: Remove superfluous declaration of |
| 2287 | get_breakpoint_commands. |
| 2288 | |
| 2289 | * breakpoint.{c,h}: Add bpstat stuff. |
| 2290 | bpstat_do_action: Re-work do_breakpoint_commands into this. |
| 2291 | main.c (command_loop): Call bpstat_do_action not |
| 2292 | do_breakpoint_commands. |
| 2293 | inferior.h, infrun.c, breakpoint.c, infcmd.c: |
| 2294 | Rework breakpoint_commands and stop_breakpoint |
| 2295 | stuff to use bpstat instead. |
| 2296 | |
| 2297 | * infcmd.c (program_info): "info reg"->"info registers". |
| 2298 | |
| 2299 | * np1-opcode.h: Renamed from npl-opcode.h. |
| 2300 | gould-pinsn.c: Include np1-opcode.h. |
| 2301 | Makefile.dist (OPCODES): Change npl-opcode.h to np1-opcode.h |
| 2302 | |
| 2303 | * coffread.c (read_enum_type): Stop reading when we hit .eos. |
| 2304 | |
| 2305 | Mon Mar 26 15:52:35 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2306 | |
| 2307 | * Version 3.90.3. |
| 2308 | |
| 2309 | * breakpoint.c (read_memory_nobpt): New function. |
| 2310 | gdbcore.h: Declare read_memory_{nobpt,check}. |
| 2311 | mips-tdep.c: Use read_memory_nobpt not breakpoint_shadow_val. |
| 2312 | |
| 2313 | Fri Mar 23 14:26:38 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) |
| 2314 | |
| 2315 | * inflow.c (terminal_inferior): Reenable commented out |
| 2316 | inferior_thisrun_terminal check. |
| 2317 | (terminal_ours_1): If inferior_thisrun_terminal is nonzero, |
| 2318 | return immediately. |
| 2319 | |
| 2320 | * Makefile.dist: Rewrite DEPFILES, M_FILE, etc. stuff to deal |
| 2321 | with host & target separation. |
| 2322 | |
| 2323 | * config/*: Split into xconfig/* and tconfig/*. |
| 2324 | *-dep.c: Split into *-xdep.c and *-tdep.c. |
| 2325 | |
| 2326 | * main.c (main): Always pass two args to xrealloc. |
| 2327 | |
| 2328 | Thu Mar 22 20:29:25 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) |
| 2329 | |
| 2330 | * Makefile.dist ({,dist}clean): rm {x,t}m.h not param.h |
| 2331 | xgdb.o: Remove obsolete dependency (now in depend). |
| 2332 | |
| 2333 | * arm-pinsn.c: Include arm-opcode.h not opcode.h. |
| 2334 | |
| 2335 | * mips-pinsn.c, mips-opcode.h: New files from Bothner (from |
| 2336 | release of 24 Jan 90 with mips-opcode.h patch from 1 Feb 90). |
| 2337 | |
| 2338 | * utils.c (xmalloc): Return NULL on request for 0 bytes. |
| 2339 | |
| 2340 | Wed Mar 21 13:30:08 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) |
| 2341 | |
| 2342 | * config.gdb: Re-write machine stuff to deal with host & target. |
| 2343 | |
| 2344 | * xm-altos.h: Don't define HAVE_WAIT_STRUCT. |
| 2345 | |
| 2346 | * m-*.h: Split into xm-*.h and tm-*.h. |
| 2347 | |
| 2348 | * infrun.c (wait_for_inferior): Put #ifdef sony_news code |
| 2349 | in regardless of machine. |
| 2350 | |
| 2351 | * symtab.c (decode_line_1): Add quotes and capitalize error |
| 2352 | message "no class, struct, or union named". |
| 2353 | |
| 2354 | * Makefile.dist (cplus-dem.o): Compile with -Dnounderscore. |
| 2355 | |
| 2356 | * stack.c (print_frame_info): Use print_symbol to print function name. |
| 2357 | |
| 2358 | * symtab.c (output_source_filename): Don't print a comma if |
| 2359 | we are skipping a filename already printed. |
| 2360 | |
| 2361 | Tue Mar 20 10:48:54 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) |
| 2362 | |
| 2363 | * symtab.c (output_source_filename): Don't print a filename |
| 2364 | more than once. |
| 2365 | |
| 2366 | * utils.c (fprint_symbol): New function. |
| 2367 | defs.h: Decalare it. |
| 2368 | various: Use fprint_symbol to print symbol names. |
| 2369 | Makefile.dist (SFILES, OBS): Add cplus-dem.{c,o}. |
| 2370 | |
| 2371 | Mon Mar 19 17:11:03 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) |
| 2372 | |
| 2373 | * coffread.c (read_file_hdr): Add MC68K??MAGIC. |
| 2374 | |
| 2375 | * coffread.c (read_coff_symtab): Ignore swbeg and string label |
| 2376 | symbols. |
| 2377 | |
| 2378 | * coffread.c (read_coff_symtab): Increment num_object_files |
| 2379 | in case C_STAT not C_FILE. |
| 2380 | New variable in_source_file. Set it in case C_FILE. |
| 2381 | Check it in case C_STAT. |
| 2382 | |
| 2383 | * coffread.c [FUNCTION_EPILOGUE_SIZE]: New code. |
| 2384 | m-umax.h (FUNCTION_EPILOGUE_SIZE): Define. |
| 2385 | |
| 2386 | * config/3b1: New file. |
| 2387 | |
| 2388 | * config/sun*: Print message warning people to use GAS with GCC. |
| 2389 | |
| 2390 | Sun Mar 18 02:56:40 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) |
| 2391 | |
| 2392 | * infcmd.c (run_stack_dummy): Change error message. |
| 2393 | |
| 2394 | * m-68k.h (REGISTER_VIRTUAL_TYPE): Make pc, fp, sp char *. |
| 2395 | |
| 2396 | * m-mips.h (LONGEST, BUILTIN_TYPE_LONGEST): Remove. |
| 2397 | |
| 2398 | Sat Mar 17 21:27:49 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) |
| 2399 | |
| 2400 | * mips-dep.c: Remove infptrace.c stuff. |
| 2401 | |
| 2402 | * m-bigmips.h: New file. |
| 2403 | m-mips.h [MIPSEB]: Remove *_BIG_ENDIAN stuff. |
| 2404 | |
| 2405 | * m-sparc.h (FIX_CALL_DUMMY): Do not insert unimp instruction |
| 2406 | if function was compiled with gcc. |
| 2407 | |
| 2408 | * m-mips.h: Remove FIX_CALL_DUMMY_ALIGNED and make FIX_CALL_DUMMY |
| 2409 | use new args. |
| 2410 | |
| 2411 | * valops.c (call_function): New args to FIX_CALL_DUMMY. |
| 2412 | m-*.h (FIX_CALL_DUMMY): Take new args. |
| 2413 | |
| 2414 | * values.c (using_struct_return): New parameter gcc_p. |
| 2415 | valops.c (call_function): New variable using_gcc. |
| 2416 | valops.c (call_function) [REG_STRUCT_HAS_ADDR]: New code. |
| 2417 | |
| 2418 | * m-mips.h, mips-dep.c: New files from Forin. |
| 2419 | m-mips.h: Replace RETURN_STRUCT_BY_REF with USE_STRUCT_CONVENTION. |
| 2420 | |
| 2421 | Fri Mar 16 13:17:19 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2422 | |
| 2423 | * Makefile.dist: Add some dependencies of m-*.h files. |
| 2424 | (HFILES): Add m-68k.h. |
| 2425 | |
| 2426 | * dbxread.c (read_struct_type): Put "operator+" not "operator +" |
| 2427 | in symtab. |
| 2428 | |
| 2429 | * core.c: Split read_memory into read_memory_check and read_memory. |
| 2430 | breakpoint.c (insert_breakpoints): If can't read memory, |
| 2431 | tell user that error was due to seting breakpoints. |
| 2432 | |
| 2433 | Thu Mar 15 11:47:19 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2434 | |
| 2435 | * infrun.c [COFF_ENCAPSULATE]: Include a.out.encap.h. |
| 2436 | |
| 2437 | * blockframe.c (FRAMELESS_LOOK_FOR_PROLOGUE): Make it a function. |
| 2438 | various m-*.h: Call function not macro. |
| 2439 | frame.h: Declare the function. |
| 2440 | |
| 2441 | Wed Mar 14 02:44:51 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2442 | |
| 2443 | * sparc-dep.c: Include signame.h. |
| 2444 | |
| 2445 | * sparc-pinsn.c (print_insn): When looking for sethi before |
| 2446 | delayed branch, call read_memory_noerr not read_memory. |
| 2447 | |
| 2448 | * m-isi.h, m-sun3.h, m-news.h, m-hp300bsd.h, m-altos.h, |
| 2449 | m-hp300hpux.h, m-sun2.h: Merge machine stuff except inferior |
| 2450 | function call stuff into new file m-68k.h. Create m-3b1.h. |
| 2451 | |
| 2452 | Tue Mar 13 21:34:33 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2453 | |
| 2454 | * inflow.c (new_tty): If can't open tty, print error message |
| 2455 | before exiting. |
| 2456 | |
| 2457 | * blockframe.c: Remove declaration of psymtab_to_symtab. |
| 2458 | symtab.h: Declare psymtab_to_symtab. |
| 2459 | blockframe.c: Remove declarations of block_for_pc and |
| 2460 | find_pc_function_start. |
| 2461 | frame.h: Add declarations of block_for_pc and find_pc_function_start. |
| 2462 | Remove declaration of nonexistent function find_pc_function. |
| 2463 | values.c: include frame.h instead of declaring block_for_pc. |
| 2464 | |
| 2465 | * Version 3.90.2. |
| 2466 | |
| 2467 | Mon Mar 12 14:20:06 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2468 | |
| 2469 | * main.c (main): Delete superfluous "e" from long_options. |
| 2470 | |
| 2471 | Sat Mar 10 15:47:23 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2472 | |
| 2473 | * valprint.c (val_print): Print <%d bit integer> not just |
| 2474 | <large integer>. |
| 2475 | |
| 2476 | * dbxread.c (error_type): Fix loop that finds '\0' so that on |
| 2477 | exit, *pp points to the '\0', not the character after. |
| 2478 | (read_type): Make sure that places which call read_type and then |
| 2479 | try to read more input stop immediately with another error |
| 2480 | upon encountering '\0'. |
| 2481 | |
| 2482 | * dbxread.c (read_range_type): Fix check for large signed |
| 2483 | integral type to match comment and reality. Set TYPE_LENGTH based |
| 2484 | on n2bits for signed, n3bits for unsigned. |
| 2485 | |
| 2486 | * infcmd.c (cont_command): Print warning message if we |
| 2487 | decide to ignore the argument. |
| 2488 | |
| 2489 | * gdb.texinfo (attach): @xref{Attach} -> @xref{Remote}. |
| 2490 | |
| 2491 | Fri Mar 9 16:26:47 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2492 | |
| 2493 | * symtab.h (address_class): Reinstate LOC_EXTERNAL with rewritten |
| 2494 | comment. |
| 2495 | |
| 2496 | * expread.y (yyerror, parse_c_1): Make yyerror take a char * arg. |
| 2497 | |
| 2498 | * main.c (symbol_completion_function): Don't call error() on |
| 2499 | "info jkldskf". |
| 2500 | |
| 2501 | * m-npl.h (USE_STRUCT_CONVENTION): Change >= to >. |
| 2502 | |
| 2503 | Thu Mar 8 00:19:01 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2504 | |
| 2505 | * symseg.h: Nuke more symseg references including LOC_EXTERNAL. |
| 2506 | Put contents of symseg.h into symtab.h and remove symseg.h. |
| 2507 | |
| 2508 | Wed Mar 7 18:02:15 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2509 | |
| 2510 | * symtab.h (SYMBOL_LINE): New macro. |
| 2511 | symtab.c (decode_line_1): Accept variable as well as function. |
| 2512 | Lookup variable/function in selected block if no file specified. |
| 2513 | printcmd.c: #if 0 out whereis_command. |
| 2514 | |
| 2515 | * command.c (do_setshow_command): Call function with additional |
| 2516 | argument C. |
| 2517 | main.c (set_history_size_command): Take argument C. |
| 2518 | (set_verbose): New function to set docstring. |
| 2519 | (initialize_main): Put set_verbose in command list. |
| 2520 | command.c (lookup_cmd_1): Accept result_list NULL. |
| 2521 | |
| 2522 | * valprint.c (_initialize_valprint): Change docstring for |
| 2523 | "set unionprint" to normal set/show form. |
| 2524 | |
| 2525 | * command.c (add_show_from_set): Check that docstring starts with |
| 2526 | "Set " before assuming it does. |
| 2527 | |
| 2528 | * main.c (show_history): Call cmd_show_list. |
| 2529 | command.{c,h} (cmd_show_list): New function. |
| 2530 | command.h: Declare do_setshow_command. |
| 2531 | |
| 2532 | * command.h (cmd_list_element): New field completer. |
| 2533 | main.c (symbol_completion_function): Use it. |
| 2534 | symtab.h: Declare make_symbol_completion_list. |
| 2535 | command.c (add_cmd): Set completer. |
| 2536 | main.c, gdbcmd.h (noop_completer): New function. |
| 2537 | infcmd.c: Set completer for environment functions. |
| 2538 | |
| 2539 | * symtab.c (types_info, _initialize_symtab): #if 0 out. |
| 2540 | various: Use fputs_filtered, not fprintf_filtered(%s). |
| 2541 | |
| 2542 | * valprint.c (type_print_base): Check for integers larger than |
| 2543 | LONGEST. |
| 2544 | |
| 2545 | * sun3-dep.c: Include "signame.h" instead of directly declaring |
| 2546 | sys_siglist. |
| 2547 | |
| 2548 | Tue Mar 6 14:59:34 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2549 | |
| 2550 | * infrun.c (signals_info): Allow argument to be a signal name |
| 2551 | as well as an expression. |
| 2552 | (handle_command): Check for error from sig_number. |
| 2553 | |
| 2554 | * main.c (float_handler): Change error message. |
| 2555 | |
| 2556 | * inflow.c (create_inferior): If getenv ("SHELL") exists, use it |
| 2557 | instead of /bin/sh. |
| 2558 | |
| 2559 | * dbxread.c (read_dbx_symtab, case N_SO): New variable first_symnum. |
| 2560 | Pass it to {start,end}_psymtab. |
| 2561 | |
| 2562 | * dbxread.c (read_ofile_symtab): Increment symbuf_idx and symnum |
| 2563 | when calling process_symbol_pair. |
| 2564 | |
| 2565 | * symtab.c (sources_info, output_source_filename): |
| 2566 | Re-write so output_source_filename takes a first parameter |
| 2567 | instead of a next one. |
| 2568 | |
| 2569 | * dbxread.c (read_dbx_symtab, case N_SO): When incrementing |
| 2570 | symbuf_idx, increment symnum also. |
| 2571 | |
| 2572 | * values.c (set_internalvar_component): Use VALUE_CONTENTS, |
| 2573 | not VALUE_CONTENTS_RAW. |
| 2574 | |
| 2575 | * symmisc.c (free_symtab): Don't free filename (now in symbol_obstack). |
| 2576 | |
| 2577 | * environ.c (init_environ): Copy entire string, including |
| 2578 | terminating '\0'. |
| 2579 | |
| 2580 | * value.h, values.c: Rename value_lazy to value_fetch_lazy. |
| 2581 | values.c (value_of_internalvar): Call value_fetch_lazy. |
| 2582 | |
| 2583 | * dbxread.c (read_huge_number): Return an error on encountering |
| 2584 | a large decimal number. |
| 2585 | |
| 2586 | * dbxread.c (read_huge_number): Reverse sense of overflow test. |
| 2587 | |
| 2588 | * valprint.c (val_print, case TYPE_CODE_INT): Check for integers |
| 2589 | larger than LONGEST. |
| 2590 | |
| 2591 | * dbxread.c (read_ofile_symtab): When calling process_one_symbol, |
| 2592 | call it with desc and value rather than with bufp->n_{desc,value}. |
| 2593 | |
| 2594 | * defs.h (LONG_MAX): Define. |
| 2595 | |
| 2596 | * sun3-dep.c: Declare sys_siglist. |
| 2597 | |
| 2598 | * infptrace.c: Move include of gdbcore.h after a.out.h |
| 2599 | |
| 2600 | * Makefile.dist (expread.o, mcheck.o): Remove leading "./" not |
| 2601 | leading ".". |
| 2602 | |
| 2603 | * m-hp300hpux.h [!HPUX_VERSION_5]: Define KERNEL_U_ADDR_HPUX. |
| 2604 | infptrace.c [KERNEL_U_ADDR_HPUX] [KERNEL_U_ADDR_BSD]: |
| 2605 | Set kernel_u_addr using nlist(). |
| 2606 | m-hp300bsd.h: Define KERNEL_U_ADDR_BSD. |
| 2607 | |
| 2608 | Mon Mar 5 16:52:41 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2609 | |
| 2610 | * dbxread.c (read_dbx_symtab): If value of .o symbol is crazy, |
| 2611 | don't end psymtab. |
| 2612 | |
| 2613 | * dbxread.c (read_dbx_symtab): Ignore first of a pair of N_SO |
| 2614 | when both appear. |
| 2615 | (start_subfile, start_symtab): Extra parameter dirname. |
| 2616 | (start_subfile): Use obsavestring, not savestring, for name. |
| 2617 | various: Call start_{subfile,symtab} with extra argument. |
| 2618 | (end_symtab): Set dirname field in symtab. |
| 2619 | (read_ofile_symtab): Call process_symbol_pair on pair of N_SO. |
| 2620 | (process_symbol_pair): New function. |
| 2621 | symtab.h (symtab): New field dirname. |
| 2622 | source.c (open_source_file): New function. |
| 2623 | source.c: Use open_source_file instead of openp where appropriate. |
| 2624 | |
| 2625 | * defs.h (TARGET_CHAR_BIT): Define. |
| 2626 | |
| 2627 | Sun Mar 4 13:11:48 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2628 | |
| 2629 | * dbxread.c (fill_symbuf): Print error messages nicely. |
| 2630 | |
| 2631 | * Makefile.dist (SFILES): Put standalone.c at end. |
| 2632 | |
| 2633 | * Makefile.dist (alldeps.mak): Put out backslash after arm-convert.s. |
| 2634 | |
| 2635 | * symtab.{c,h} (builtin_type_error): New type. |
| 2636 | symseg.h (type_code): Add TYPE_CODE_ERROR. |
| 2637 | valprint.c (val_print, type_print_base), |
| 2638 | values.c (using_struct_return, set_return_value): |
| 2639 | Check for and deal with TYPE_CODE_ERROR. |
| 2640 | dbxread.c (error_type): New function |
| 2641 | (read_type and subroutines): Call error_type instead of error. |
| 2642 | |
| 2643 | * dbxread.c (read_huge_number): New function. |
| 2644 | (read_range_type): Use read_huge_number and check results |
| 2645 | to see if it is a large integral type. |
| 2646 | |
| 2647 | * symmisc.c: Remove symseg stuff. |
| 2648 | |
| 2649 | * Gould NP1 changes from (or inspired by) chpmjd@gdr.bath.ac.uk |
| 2650 | dbxread.c (read_dbx_symtab) [N_NBSTS]: |
| 2651 | Treat this and N_NBLCS like N_LCSYM, etc. |
| 2652 | (process_one_symbol) [BLOCK_ADDRESS_ABSOLUTE]: New code. |
| 2653 | m-npl.h (USE_STRUCT_CONVENTION): Add. |
| 2654 | (IGNORE_SYMBOL): Add 0xa4. |
| 2655 | (END_OF_TEXT_DEFAULT): Remove. |
| 2656 | (STRING_TABLE_OFFSET): don't add sizeof(int). |
| 2657 | [!HAVE_VPRINTF]: Define vprintf to be doprnt, not printf. |
| 2658 | (BLOCK_ADDRESS_ABSOLUTE): Define. |
| 2659 | (BREAKPOINT): Pad to size of machine word. |
| 2660 | (SAVED_PC_AFTER_CALL): Remove ` at start of line (!). |
| 2661 | (R2_REGNUM): Define. |
| 2662 | (SP_REGNUM, FP_REGNUM): Switch definitions. |
| 2663 | (REGISTER_U_ADDR): Use FP_REGNUM in place of SP_REGNUM. |
| 2664 | (STORE_STRUCT_RETURN, EXTACT_RETURN_VALUE, STORE_RETURN_VALUE, |
| 2665 | call function stuff): |
| 2666 | Replace bogus definitions with correct ones for NP1. |
| 2667 | (CANNOT_EXECUTE_STACK): Define. |
| 2668 | (FRAME_LOCALS_ADDRESS): Don't add 80. |
| 2669 | (FRAME_FIND_SAVED_REGS): Also get SP. |
| 2670 | gould-pinsn.c (findframe): Move framechain declaration outside #if 0. |
| 2671 | infptrace.c (write_inferior_memory): Check addr against text_end |
| 2672 | and use PT_WRITE_I or PT_WRITE_D as appropriate. |
| 2673 | (store_inferior_registers): Don't try to write registers in |
| 2674 | CANNOT_STORE_REGISTER. |
| 2675 | m-npl.h (CANNOT_STORE_REGISTER): Define. |
| 2676 | npl-opcode.h (lil): 0xf8080000 -> 0xf80b0000. |
| 2677 | |
| 2678 | * munch: Distinguish between BSD and System V nm by actually |
| 2679 | seeing what output from nm looks like. |
| 2680 | |
| 2681 | Fri Mar 2 13:43:36 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2682 | |
| 2683 | * printcmd.c (print_frame_args): Change highest_offset to point |
| 2684 | to next unprinted arg. |
| 2685 | |
| 2686 | * main.c (main): Print "type help for list of commands" along |
| 2687 | with the version. Follow it with a blank line. |
| 2688 | |
| 2689 | Thu Mar 1 14:49:26 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2690 | |
| 2691 | * valprint.c: Move print_address for function from value_print |
| 2692 | to val_print. |
| 2693 | |
| 2694 | Wed Feb 28 15:06:12 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2695 | |
| 2696 | * Makefile.dist (m-sun4os4.h): Depend on m-sparc.h |
| 2697 | |
| 2698 | * Makefile.dist (version.c): Depend on Makefile.dist, not Makefile. |
| 2699 | |
| 2700 | * Makefile.dist: Change MAKEFILES to Makefiles. |
| 2701 | |
| 2702 | * symtab.h: Declare get_sym_file. |
| 2703 | core.c: Include symtab.h. |
| 2704 | |
| 2705 | * Move signal name stuff from utils.c to signame.c |
| 2706 | Move signal name stuff from defs.h to signame.h. |
| 2707 | Makefile.dist (SFILES, HFILES, OBS): Add signame.{c,h,o}. |
| 2708 | |
| 2709 | Mon Feb 26 12:03:12 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2710 | |
| 2711 | * command.c (add_cmd): Don't call savestring on name. |
| 2712 | |
| 2713 | Sun Feb 25 15:52:18 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2714 | |
| 2715 | * printcmd.c (print_frame_args): Make highest_offset an int. |
| 2716 | New variable args_printed. |
| 2717 | (print_frame_nameless_args): Remove parameter end and add num |
| 2718 | and first. |
| 2719 | (print_frame_args): Change call to print_frame_nameless_args. |
| 2720 | |
| 2721 | Fri Feb 23 21:40:15 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2722 | |
| 2723 | * stack.c (up_command, down_command): |
| 2724 | Only print stack frame if from_tty. |
| 2725 | |
| 2726 | Thu Feb 22 12:01:36 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2727 | |
| 2728 | * expread.y: Inlcude value.h and don't cast return value from |
| 2729 | lookup_internalvar. |
| 2730 | |
| 2731 | * infrun.c: Remove code in #ifdef UMAX_PTRACE. |
| 2732 | |
| 2733 | * values.c (convenience_info): Print in form "$foo = 5". |
| 2734 | Don't print "Debugger convenience variables:" before first one. |
| 2735 | |
| 2736 | * Makefile.dist: Remove ADD_FILES from CLIBS. |
| 2737 | (gdb, kdb, xgdb): Put in ADD_FILES as well as CLIBS. |
| 2738 | |
| 2739 | * m-pyr.h: #if 0 out call dummy stuff. |
| 2740 | Put in POP_FRAME which just calls error(). |
| 2741 | valops.c: If CALL_DUMMY is not defined, put in dummy call_function |
| 2742 | which just prints an error message. |
| 2743 | |
| 2744 | Tue Feb 20 22:11:40 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2745 | |
| 2746 | * breakpoint.c (commands_command): Add arg from_tty. |
| 2747 | |
| 2748 | * main.c (main): Put if (!setjmp (to_top_level)) around calls |
| 2749 | to *_command made in response to command line arguments. |
| 2750 | |
| 2751 | Mon Feb 19 13:58:28 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2752 | |
| 2753 | * main.c (main): Use getopt_long_only. Move one-character options |
| 2754 | to long_options. Remove entries which are just unambiguous |
| 2755 | abbreviations of other options. |
| 2756 | |
| 2757 | * command.h: Add types cmd_types and var_types. |
| 2758 | Add fields type, var_type, and var to struct cmd_list_element. |
| 2759 | command.c (add_set_cmd, add_set_from_show): New functions. |
| 2760 | (add_cmd): Set c->var_type. |
| 2761 | (add_abbrev_cmd): Call add_cmd instead of duplicating code. |
| 2762 | main.c: Add showlist. |
| 2763 | Move parse_binary_operation from main.c to command.c. |
| 2764 | command.c (do_setshow_command): New function. |
| 2765 | gdbcmd.h: New file. |
| 2766 | Makefile.dist: Add gdbcmd.h. |
| 2767 | many files: Include gdbcmd.h, use add_set_cmd and add_show_from_set. |
| 2768 | Replace info * with show * where appropriate. |
| 2769 | utils.c (fputs_filtered): Use UINT_MAX in lines_per_page to mean |
| 2770 | no paging. |
| 2771 | defs.h: Define UINT_MAX. |
| 2772 | infcmd.c (run_command): Use execute_command, not set_args_command. |
| 2773 | main.c (execute_command): Call do_setshow_command if necessary. |
| 2774 | main.c (show_command, show_history): New functions. |
| 2775 | main.c (initialize_main): Call add_prefix_cmd |
| 2776 | for show and show history. |
| 2777 | |
| 2778 | * coffread.c (enter_linenos): Print error if |
| 2779 | file_offset < linetab_offset. |
| 2780 | |
| 2781 | Sun Feb 18 15:37:05 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2782 | |
| 2783 | * convex-dep.c (comm_registers_info): Fix typo. ("argc"->"arg"). |
| 2784 | |
| 2785 | Wed Feb 14 20:45:14 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2786 | |
| 2787 | * config.gdb: Create Makefile with make. |
| 2788 | |
| 2789 | * Makefile.dist, config.gdb: Move "srcdir=" line from Makefile.dist |
| 2790 | to new file Makefile.srcdir. |
| 2791 | |
| 2792 | * valprint.c: Include <errno.h>. |
| 2793 | |
| 2794 | * value.h: Declare value_coerce_function. |
| 2795 | |
| 2796 | * findvar.c: Add missing " after #include "gdbcore.h |
| 2797 | |
| 2798 | * main.c (main): Re-write command parsing to use getopt. |
| 2799 | On "gdb +help" print options with '+' not '-'. |
| 2800 | Makefile.dist: Add getopt. |
| 2801 | |
| 2802 | Tue Feb 13 00:08:27 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2803 | |
| 2804 | * Makefile.dist: Add "srcdir=." |
| 2805 | config.gdb: Edit srcdir= rather than adding it to the beginning. |
| 2806 | |
| 2807 | * pyr-dep.c: Make global_reg_offset, last_frame_offset not static. |
| 2808 | Move definition of reg_stack_offset to core.c [REG_STACK_SEGMENT]. |
| 2809 | |
| 2810 | * config/pyramid: Print message about alloca. |
| 2811 | |
| 2812 | * breakpoint.c (clear_command): When printing "no breakpoint" |
| 2813 | error, only use arg if non-NULL. |
| 2814 | |
| 2815 | * core.c (read_memory): Rename to read_memory_noerr. |
| 2816 | (read_memory): New function which calls read_memory and checks for err. |
| 2817 | gdbcore.h: Declare all extern core.c functions. |
| 2818 | move myread from core.c to utils.c. |
| 2819 | declare it in defs.h. |
| 2820 | (read_memory_integer): move from infcmd.c to core.c. |
| 2821 | gdbcore.h: Declare it. |
| 2822 | Many places: Remove error checking on read_memory, or call |
| 2823 | read_memory_noerr instead. Include "gdbcore.h" if calling either. |
| 2824 | |
| 2825 | * value.h (COERCE_ARRAY): Coerce functions to function pointers. |
| 2826 | valops.c (value_coerce_function): New function. |
| 2827 | |
| 2828 | * core.c, convex-dep.c, arm-dep.c (xfer_core_file): Return EIO |
| 2829 | if address out of bounds. |
| 2830 | |
| 2831 | * m-arm.h, arm-dep.c arm-pinsn.c arm-opcode.h: New files. |
| 2832 | dbxread.c, m-convex.h (VARIABLES_INSIDE_BLOCK): Add gcc_p parameter. |
| 2833 | Makefile.dist (alldeps.mak): Special case for arm-convert.s. |
| 2834 | dbxread.c (define_symbol): Check for local based on it not |
| 2835 | being any one of the known deftypes. |
| 2836 | values.c (using_struct_return): Use new macro USE_STRUCT_CONVENTION. |
| 2837 | |
| 2838 | * Makefile.dist, config.gdb: Put in srcdir stuff. |
| 2839 | |
| 2840 | Mon Feb 12 22:46:16 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2841 | |
| 2842 | * breakpoint.c: Add addr_string and cond_string fields to |
| 2843 | struct breakpoint. |
| 2844 | (break_command_1): Set them. Use mention (). |
| 2845 | (mention): Create with code from break_command_1. |
| 2846 | (breakpoint_re_set): New function. |
| 2847 | (breakpoint_clear): Remove. |
| 2848 | (condition_command): Set cond_string. |
| 2849 | (breakpoint_delete): Free cond_string and addr_string. |
| 2850 | Declare parse_c_1's type and remove casts to struct expression *. |
| 2851 | symmisc.c (free_all_symtabs): Don't call breakpoint_clear. |
| 2852 | dbxread.c, coffread.c (reread_symbols): Call breakpoint_re_set, |
| 2853 | Include breakpoint.h. |
| 2854 | breakpoint.h: New file. |
| 2855 | dbxread.c: Move declaration of symmisc.c functions to symtab.h. |
| 2856 | |
| 2857 | Sun Feb 11 17:29:23 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2858 | |
| 2859 | * symtab.c: Make lookup_block_symtab extern. |
| 2860 | symtab.h: Declare it. |
| 2861 | valops.c (value_of_this): Use it. |
| 2862 | |
| 2863 | Fri Feb 9 08:59:37 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2864 | |
| 2865 | * config/hp300hpux: Print message telling people to use gcc. |
| 2866 | |
| 2867 | * value.h: Declare print_floating. |
| 2868 | printcmd.c (print_scalar_formatted, case 'f'): Use print_floating. |
| 2869 | valprint.c (val_print, case TYPE_CODE_FLT): Use print_floating. |
| 2870 | valprint.c (print_floating): Make this function out of is_nan |
| 2871 | and the code which was in val_print. |
| 2872 | Put parentheses around high & 0xfffff. |
| 2873 | Print sign and fraction for NaN's. |
| 2874 | Print 17 digits not 16 for doubles. |
| 2875 | (is_nan): Remove. |
| 2876 | m-news.h, m-sun3.h: Define IEEE_FLOAT. |
| 2877 | |
| 2878 | * Rename gld-pinsn.c to gould-pinsn.c. |
| 2879 | config/{pn,npl}: Change name of gld-pinsn.c |
| 2880 | |
| 2881 | Tue Feb 6 00:25:36 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2882 | |
| 2883 | * infptrace.c: Define PT_ATTACH if not defined. |
| 2884 | m-hp300hpux.h: Define ATTACH_DETACH. |
| 2885 | |
| 2886 | * main.c (initialize_main): Change alias class to aliases. |
| 2887 | |
| 2888 | * dbxread.c: Search and destroy references to symsegs. |
| 2889 | Also remove some #if 0'd code. |
| 2890 | |
| 2891 | * core.c: Remove reread_exec. |
| 2892 | dbxread.c (reread_symbols): New function. |
| 2893 | dbxread.c (symbol_file_command): Set symfile_mtime. |
| 2894 | coffread.c: Same. |
| 2895 | infcmd.c (run_command): Call reread_symbols not reread_exec. |
| 2896 | |
| 2897 | * valprint.c (val_print): When printing string after char *, print |
| 2898 | it for "" just like any other string. |
| 2899 | |
| 2900 | * core.c (reread_exec): New procedure. |
| 2901 | infcmd.c (run_command): Call reread_exec. |
| 2902 | |
| 2903 | * coffread.c (symbol_file_command): Add from_tty. |
| 2904 | |
| 2905 | * dbxread.c (symbol_file_command): Only ask about loading new |
| 2906 | symbol table if from_tty. |
| 2907 | |
| 2908 | Mon Feb 5 02:25:25 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2909 | |
| 2910 | * inflow.c (inferior_died): Call breakpoint_clear_ignore_counts. |
| 2911 | |
| 2912 | * Makefile.dist (OBS): Remove dbxread.o and coffread.o. |
| 2913 | |
| 2914 | * config.gdb: Ignore files ending in '#' in config. |
| 2915 | |
| 2916 | * stack.c (backtrace_command): Add QUIT to get_prev_frame loops. |
| 2917 | |
| 2918 | Sat Feb 3 22:25:09 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2919 | |
| 2920 | * Makefile.dist (YACC): Don't use -v. |
| 2921 | |
| 2922 | Fri Feb 2 19:26:50 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) |
| 2923 | |
| 2924 | * createtags: Only change .o to .c at end of name. |
| 2925 | |
| 2926 | * Makefile.dist (alldeps.mak): new target. |
| 2927 | (Makefile): add alldeps.mak. |
| 2928 | (SOURCES): remove PINSNS. |
| 2929 | (TAGFILES: use ALLPARAM. |
| 2930 | (gdb.tar): add config/. |
| 2931 | |
| 2932 | * config.gdb: Check for M_FILE= not #param.h |
| 2933 | config/*: Make sure M_FILE= exists with space after M_FILE=. |
| 2934 | Makefile.dist (TAGS): Pass M_FILE and DEPFILES. |
| 2935 | createtags: Change .o to .c. Remove special tests for dep.c etc. |
| 2936 | |
| 2937 | * dbxread.c, coffread.c: Don't check COFF_FORMAT and READ_DBX_FORMAT. |
| 2938 | Makefile.dist: Move {dbx,coff}read.c from SFILES to ALLDEPFILES. |
| 2939 | config/*: add dbxread.o or coffread.o to depfiles. |
| 2940 | |
| 2941 | * Makefile.dist (depend): Depend on $(SOURCES), not force. |
| 2942 | |
| 2943 | Thu Feb 1 17:43:54 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2944 | |
| 2945 | * symmisc.c (print_symbol): Print newline after label. |
| 2946 | |
| 2947 | Wed Jan 31 22:35:38 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2948 | |
| 2949 | * dbxread.c (read_addl_syms): Remove code that checks for |
| 2950 | _etext. |
| 2951 | Move end_of_text_addr into read_dbx_symtab. |
| 2952 | (read_dbx_symtab): #if 0 out code which checks for _etext. |
| 2953 | |
| 2954 | Tue Jan 30 15:40:19 1990 Jim Kingdon (kingdon at albert.ai.mit.edu) |
| 2955 | |
| 2956 | * Makefile.dist (gdb.tar): Use readline's "make readline.tar" |
| 2957 | instead of having a list of readline files. |
| 2958 | |
| 2959 | * infrun.c (normal_stop): #if 0 out "you have found a bug in sh". |
| 2960 | |
| 2961 | * munch (-DSYSV): Check for .text at end of name. |
| 2962 | Optionally allow extra underscore before initialize. |
| 2963 | Remove space between #! and /bin/sh. |
| 2964 | |
| 2965 | * m-merlin.h: Put in clarifying comments about SHELL_FILE. |
| 2966 | Makefile.dist (install): Execute M_INSTALL. |
| 2967 | config/merlin: Define M_INSTALL. |
| 2968 | |
| 2969 | Mon Jan 29 04:32:09 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2970 | |
| 2971 | * inflow.c: Change all references to signal handlers from |
| 2972 | int (*)() to void (*)(). |
| 2973 | |
| 2974 | * main.c: Declare init_signals before use & make it void. |
| 2975 | Declare initialize_all_files. |
| 2976 | |
| 2977 | * Makefile.dist (config.status): New target. |
| 2978 | |
| 2979 | Sat Jan 27 00:19:50 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 2980 | |
| 2981 | * defs.h (enum command_class): Remove comma after last element. |
| 2982 | |
| 2983 | * Makefile.dist (gdb.tar.Z): Use compress <foo >bar rather |
| 2984 | than deleting gdb.tar.Z before starting. |
| 2985 | |
| 2986 | * dbxread.c (process_one_symbol): Compare context_stack_depth |
| 2987 | with !VARIABLES_INSIDE_BLOCK, not VARIABLES_INSIDE_BLOCK. |
| 2988 | |
| 2989 | * mcheck.c: Put whole file in #if defined MALLOC_RANGE_CHECK. |
| 2990 | |
| 2991 | * mcheck.c (checkhdr): Call fatal_dump_core not abort. |
| 2992 | |
| 2993 | * mcheck.c: Copy from malloc distribution. |
| 2994 | |
| 2995 | * main.c (main): Call init_malloc (). |
| 2996 | |
| 2997 | * main.c (initialize_signals): Rename to init_signals. |
| 2998 | |
| 2999 | Fri Jan 26 00:53:23 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) |
| 3000 | |
| 3001 | * *dep.c: Make core_file_command return void. |
| 3002 | |
| 3003 | * gdbcore.h [!KERNEL_U_ADDR]: Declare kernel_u_addr. |
| 3004 | infptrace.c [!KERNEL_U_ADDR]: Make it extern. |
| 3005 | |
| 3006 | * altos-dep.c (NBPG, UPAGES): Wrap #define in #if !defined. |
| 3007 | |
| 3008 | * m-pn.h (GOULD_PN): Define. |
| 3009 | *-pinsn.c: Include actual opcode table not just opcode.h |
| 3010 | |
| 3011 | * main.c [ALIGN_STACK_ON_STARTUP]: New code. |
| 3012 | m-i386.h: Define ALIGN_STACK_ON_STARTUP. |
| 3013 | |
| 3014 | * m-merlin.h (NO_SIGINTERRUPT, SHELL_FILE): Define. |
| 3015 | |
| 3016 | * Move code from infptrace [USE_PTRACE_GETREGS] to sun3-dep.c. |
| 3017 | m-sun{2,3}.h, m-sparc.h: Define FETCH_INFERIOR_REGISTERS. |
| 3018 | |
| 3019 | * Makefile.dist, config.gdb, config/*: |
| 3020 | Re-write to use machine-dependent makefiles instead of cpp. |
| 3021 | |
| 3022 | * m-hp300hpux.h: Define FETCH_INFERIOR_REGISTERS. |
| 3023 | infptrace.c: Put {fetch,store}_inferior_registers inside |
| 3024 | #if !defined FETCH_INFERIOR_REGISTERS. |
| 3025 | |
| 3026 | * Split execcore.c into exec.c and coredep.c. |
| 3027 | Move a bunch of stuff from coredep.c and *dep.c to gdbcore.h. |
| 3028 | |
| 3029 | * infptrace.c ({fetch,store}_inferior_registers): |
| 3030 | Use U_REGS_OFFSET to set offset. |
| 3031 | m-umax.h: Define U_REGS_OFFSET. |
| 3032 | |
| 3033 | * m-umax.h: Define PTRACE_{ATTACH,DETACH}. |
| 3034 | |
| 3035 | * m-i386.h (N_SET_MAGIC): Define. |
| 3036 | m-i386gas.h: add #undef N_SET_MAGIC. |
| 3037 | |
| 3038 | Thu Jan 25 18:39:45 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) |
| 3039 | |
| 3040 | * m-hp300bsd.h: Remove KERNEL_U_ADDR. |
| 3041 | |
| 3042 | * infptrace.c [!KERNEL_U_ADDR]: Get address of kernel u area |
| 3043 | at runtime. |
| 3044 | |
| 3045 | * infptrace.c: Replace numbers with PT_KILL, etc. |
| 3046 | (store_inferior_registers): Loop for as many words are in the register. |
| 3047 | |
| 3048 | * infptrace.c [NO_SINGLE_STEP]: Call single_step(). |
| 3049 | |
| 3050 | * kill_inferior{,_fast}: Declare as returning void. |
| 3051 | |
| 3052 | * m-sun3.h (USE_PTRACE_GETREGS): Define. |
| 3053 | |
| 3054 | * execcore.c: Add IS_OBJECT_FILE & related stuff. |
| 3055 | |
| 3056 | * infptrace.c: Include <sys/ptrace.h>. |
| 3057 | [ATTACH_DETACH] [USE_PTRACE_GETREGS]: New code. |
| 3058 | |
| 3059 | * Split default-dep.c into infptrace.c and execcore.c. |
| 3060 | |
| 3061 | * valprint.c [IEEE_FLOAT]: Change void * to char *. |
| 3062 | |
| 3063 | * breakpoint.c: Change printf_filtered(%s) to fputs_filtered. |
| 3064 | |
| 3065 | Wed Jan 24 00:35:52 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
| 3066 | |
| 3067 | * dbxread.c (symbol_file_command): When freeing everything, free |
| 3068 | the string table too. |
| 3069 | |
| 3070 | * Makefile.dist (gdb1): add "rm -f gdb1". |
| 3071 | |
| 3072 | * printcmd.c (print_scalar_formatted): If size is 0, use 'b' |
| 3073 | 'h', 'w', or 'g' depending on the type. |
| 3074 | |
| 3075 | * stack.c (backtrace_command): Read in symbols for frames we'll |
| 3076 | print before printing them. |
| 3077 | |
| 3078 | * valops.c (value_at): Don't print "I/O error" on EIO from |
| 3079 | ptrace. Don't print "out of bounds" for any ptrace error |
| 3080 | except EIO. |
| 3081 | |
| 3082 | * valprint.c (type_print_base, case TYPE_CODE_ENUM): |
| 3083 | Print "FOO = 5" not "FOO : 5". |
| 3084 | |
| 3085 | * symtab.{c,h}: Make lookup_misc_func extern. |
| 3086 | |
| 3087 | * Makefile.dist: Define VERSION in makefile, and generate |
| 3088 | version.c automatically. |
| 3089 | (gdb.tar): Use gdb-$(VERSION), not dist-gdb. |
| 3090 | |
| 3091 | * expread.y (yylex): Use lookup_primitive_typename to |
| 3092 | cut down on calls to lookup_symbol. |
| 3093 | symtab.{c,h} (lookup_primitive_typename): New function. |
| 3094 | (lookup_typename): Use it. |
| 3095 | |
| 3096 | * symtab.{c,h} (check_stub_type): New function. |
| 3097 | valprint.c (type_print_base, val_print, type_print_derivation_info), |
| 3098 | values.c (allocate_value): Call it. |
| 3099 | |
| 3100 | * printcmd.c (whereis_command): New function. |
| 3101 | symtab.c (lookup_symbol): Add symtab parameter. |
| 3102 | various: Pass additional argument to lookup_symbol. |
| 3103 | symseg.h (struct symbol): Add line field. |
| 3104 | dbxread.c (define_symbol): Set sym->line. |
| 3105 | |
| 3106 | * dbxread.c (symbol_file_command): Read string table into |
| 3107 | malloc'd memory (symfile_string_table) and leave it there. |
| 3108 | (psymtab_to_symtab): Use symfile_string_table. |
| 3109 | |
| 3110 | * utils.c (sig_abbrev): Return NULL if not found. |
| 3111 | infrun.c (sig_print_{header,info}): Consolidate duplicated |
| 3112 | code from handle_command, signals_info. |
| 3113 | (sig_print_info): Just print number if no name from sig_abbrev. |
| 3114 | |
| 3115 | * Makefile.dist (OTHERS): Add ChangeLog-3.x |
| 3116 | |
| 3117 | * infrun.c (restore_inferior_status): #if 0 out |
| 3118 | "Unable to restore previously selected frame" error message. |
| 3119 | |
| 3120 | * infrun.c (signals_info, handle_command): Print signal |
| 3121 | abbrevs along with numbers. |
| 3122 | |
| 3123 | * infrun.c (handle_command): Accept symbol signal names. |
| 3124 | |
| 3125 | * utils.c (sig_{number,abbrev}, init_sig): New functions. |
| 3126 | _initialize_utils: Call init_sig for each signal. |
| 3127 | defs.h: Declare them. |
| 3128 | |
| 3129 | * default-dep.c (read_inferior_memory): Check quit_flag in |
| 3130 | fetch loop. |
| 3131 | |
| 3132 | * Changes for lazy fetching (speeds things up for big objects): |
| 3133 | value.h (struct value): New field lazy. |
| 3134 | VALUE_CONTENTS_RAW, VALUE_LAZY, value_at_lazy: New. |
| 3135 | findvar.c (read_var_value): Set lazy instead of fetching. |
| 3136 | various: Copy into VALUE_CONTENTS_RAW, not VALUE_CONTENTS. |
| 3137 | valops.c: Add value_at_lazy, value_lazy. |
| 3138 | various: Call value_at_lazy instead of value_at. |
| 3139 | |
| 3140 | * symtab.h (LONGEST): Define. |
| 3141 | |
| 3142 | * m-*.h (LONGEST, BUILTIN_TYPE_LONGEST): Delete (in symtab.h). |
| 3143 | |
| 3144 | * infrun.c (wait_for_inferior): #if 0 out stop if ABOUT_TO_RETURN |
| 3145 | |
| 3146 | * version.c: Change version number to 4.0development |
| 3147 | |
| 3148 | For older changes see ChangeLog-3.x |
| 3149 | \f |
| 3150 | Local Variables: |
| 3151 | mode: indented-text |
| 3152 | left-margin: 8 |
| 3153 | fill-column: 74 |
| 3154 | version-control: never |
| 3155 | End: |