| 1 | 1999-01-19 Jim Blandy <jimb@zwingli.cygnus.com> |
| 2 | |
| 3 | Use aclocal to generate GDB's aclocal.m4 script. |
| 4 | * acinclude.m4: New file, containing the hand-written local macro |
| 5 | definitions that used to be in aclocal.m4. Don't sinclude |
| 6 | ../bfd/aclocal.m4 any more; running aclocal in this directory will |
| 7 | get us the definitions we need. HOWEVER: Do sinclude |
| 8 | ../bfd/acinclude.m4, because we need the definition of |
| 9 | BFD_NEED_DECLARATION. |
| 10 | * aclocal.m4: Regenerated by aclocal. |
| 11 | * configure: Regenerated by autoconf. |
| 12 | |
| 13 | Tue Jan 19 10:27:23 1999 David Taylor <taylor@texas.cygnus.com> |
| 14 | |
| 15 | * breakpoint.c (disable_breakpoints_in_shlibs): new parameter, |
| 16 | silent, controls whether to print message about removal of shared |
| 17 | library breakpoints. |
| 18 | * breakpoint.h (disable_breakpoints_in_shlibs): decl updated. |
| 19 | * irix5-nat.c (clear_solib): call disable_breakpoints_in_shlibs. |
| 20 | * osfsolib.c (clear_solib): ditto. |
| 21 | * solib.c (clear_solib): ditto. |
| 22 | * somsolib.c (som_solib_restart): update call to |
| 23 | disable_breakpoints_in_shlibs. |
| 24 | |
| 25 | * target.h (child_post_attach): only declare if CHILD_POST_ATTACH |
| 26 | is define. |
| 27 | |
| 28 | Tue Jan 19 18:07:11 1999 Andrew Cagney <cagney@b1.cygnus.com> |
| 29 | |
| 30 | * corelow.c (solib_add_stub): Ditto. |
| 31 | (core_file_to_sym_file): Cast make_cleanup parameter. |
| 32 | |
| 33 | * solib.c (symbol_add_stub, solib_map_sections): Change argument |
| 34 | to PTR insted of a char*. Matches catch_errors interface. |
| 35 | |
| 36 | Mon Jan 18 14:01:24 1999 Andrew Cagney <cagney@b1.cygnus.com> |
| 37 | |
| 38 | * remote-array.c (array_open): Don't use fprintf_filtered to send |
| 39 | data to the log file. |
| 40 | |
| 41 | * remote-array.c (handle_load_dll): Change argument type to PTR so |
| 42 | that it is compatible with catch_errors. |
| 43 | * ocd.c (ocd_start_remote): Ditto. |
| 44 | * remote-sds.c (sds_start_remote): Ditto. |
| 45 | |
| 46 | * win32-nat.c (win32_child_thread_alive): Namespace proof |
| 47 | child_thread_alive. |
| 48 | (init_child_ops): Update. |
| 49 | |
| 50 | Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com> |
| 51 | |
| 52 | * remote-rdi.c (arm_rdi_open): Set gdb_hostif.hostosarg and |
| 53 | gdb_hostif.dbgarg to NULL instead of stdout. |
| 54 | (voiddummy, myprint, mywritec): Use gdb_stdout instead of stdout. |
| 55 | |
| 56 | Mon Jan 18 16:40:50 1999 Stan Shebs <shebs@andros.cygnus.com> |
| 57 | |
| 58 | * ser-ocd.c (ocd_open): Handle Unix case gracefully. |
| 59 | |
| 60 | * target.c (dummy_target): Don't initialize statically. |
| 61 | (init_dummy_target): New function, fills in dummy_target. |
| 62 | (initialize_targets): Use it. |
| 63 | * hpux-thread.c (hpux_thread_ops): Don't initialize statically. |
| 64 | (init_hpux_thread_ops): New function, fills in hpux_thread_ops. |
| 65 | (_initialize_hpux_thread): Use it. |
| 66 | * m3-nat.c (m3_ops): Don't initialize statically. |
| 67 | (init_m3_ops): New function, fills in m3_ops. |
| 68 | (_initialize_m3): Use it. |
| 69 | |
| 70 | 1999-01-18 Fernando Nasser <fnasser@totem.to.cygnus.com> |
| 71 | |
| 72 | * sol-thread.c: delete compile time initialization of target_ops |
| 73 | (_initialize_sol_thread): initialize target_ops at run time. |
| 74 | * hpux-thread.c: added target_ops entry. |
| 75 | * m3-nat.c: ditto. |
| 76 | |
| 77 | Mon Jan 18 15:19:13 1999 David Taylor <taylor@texas.cygnus.com> |
| 78 | |
| 79 | * procfs.c (procfs_ops): delete compile time initialization. |
| 80 | (_initialize_procfs): initialize procfs_ops at run time. |
| 81 | |
| 82 | Mon Jan 18 12:51:44 1999 Christopher Faylor <cgf@cygnus.com> |
| 83 | |
| 84 | * configure.in: Ensure that -luser32 is always linked in |
| 85 | for cygwin build. |
| 86 | * configure: Regenerated. |
| 87 | |
| 88 | Mon Jan 18 08:38:05 1999 Mark Alexander <marka@cygnus.com> |
| 89 | |
| 90 | * values.c (value_virtual_fn_field): Clear the pointed-to |
| 91 | offset when casting to the base class. |
| 92 | |
| 93 | Mon Jan 18 10:30:51 1999 David Taylor <taylor@texas.cygnus.com> |
| 94 | |
| 95 | * remote-udi.c (init_udi_ops): change non-existant udi_run_ops to |
| 96 | udi_ops; delete NULL initializers. |
| 97 | |
| 98 | Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com> |
| 99 | |
| 100 | * serial.c (serial_close): gdb_fclose tages gdb_file** arg, not |
| 101 | gdb_file*. |
| 102 | |
| 103 | * f-valprint.c, target.c, gdbarch.c: Pass gdb_stderr not stderr. |
| 104 | |
| 105 | Mon Jan 18 10:46:12 1999 Andrew Cagney <cagney@b1.cygnus.com> |
| 106 | |
| 107 | * stack.c (print_frame_info_base): Don't cast call to |
| 108 | catch_errors. |
| 109 | (print_args_stub): Change char* arg to PTR. |
| 110 | * symmisc.c (print_symbol): Ditto. |
| 111 | * top.c (quit_cover): Ditto. |
| 112 | * remote.c (remote_open_1, remote_start_remote): Ditto. |
| 113 | * infrun.c (normal_stop, hook_stop_stub, restore_selected_frame): |
| 114 | Ditto. |
| 115 | |
| 116 | * stack.c (backtrace_command): Cast first arg of make_cleanup to |
| 117 | make_cleanup_func. |
| 118 | * remote.c (remote_kill): Cast putpkt arg to catch_errors_ftype. |
| 119 | |
| 120 | Mon Jan 18 08:47:02 1999 Andrew Cagney <cagney@b1.cygnus.com> |
| 121 | |
| 122 | * defs.h (catch_errors_ftype): Define. |
| 123 | (catch_errors): Replace char* arg with PTR arg. |
| 124 | * top.c (catch_errors): Update |
| 125 | |
| 126 | * breakpoint.c (bpstat_stop_status, bpstat_stop_status, |
| 127 | delete_breakpoint, breakpoint_re_set): Delete all casts in call to |
| 128 | catch_errors. |
| 129 | (breakpoint_cond_eval, watchpoint_check, |
| 130 | cover_target_enable_exception_callback, breakpoint_re_set_one): |
| 131 | Arg is PTR not char*. |
| 132 | |
| 133 | * breakpoint.c (cover_target_enable_exception_callback): Change |
| 134 | type to int. Check for cast values of 0 and -1. Return a result! |
| 135 | (insert_breakpoints): Move declaration of SAL and ARGS to where |
| 136 | they are used. |
| 137 | |
| 138 | 1999-01-16 Fernando Nasser <fnasser@totem.to.cygnus.com> |
| 139 | |
| 140 | * remote.c (remote_query): new function - creates proper interface |
| 141 | to the remote protocol "q" command. |
| 142 | |
| 143 | Fri Jan 15 17:11:48 EST 1999 Zdenek Radouch (radouch@cygnus.com) |
| 144 | |
| 145 | * config/fr30/tm-fr30.h: Changed ABI to match GCC change |
| 146 | (always use pointer for structs passed by value). |
| 147 | |
| 148 | 1999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com> |
| 149 | |
| 150 | * target.h: added entry for target queries (to_query) |
| 151 | target.c: ditto. |
| 152 | |
| 153 | Thu Jan 14 18:29:17 1999 David Taylor <taylor@texas.cygnus.com> |
| 154 | |
| 155 | start-sanitize-carp start-sanitize-vr4xxx |
| 156 | * mips-tdep.c (mips_gdbarch_init): fix stream arg in |
| 157 | fprintf_unfiltered calls. |
| 158 | end-sanitize-carp end-sanitize-vr4xxx |
| 159 | * remote-mm.c (mm_wait): fix stream arg to gdb_flush. |
| 160 | * remote-udi.c (udi_wait): fix stream arg to fwrite. |
| 161 | * symmisc.c (maintenance_check_symtabs): fix stream argument to |
| 162 | print_address_numeric. |
| 163 | |
| 164 | Wed Jan 13 19:33:16 1999 David Taylor <taylor@texas.cygnus.com> |
| 165 | |
| 166 | * breakpoint.c (insert_breakpoints): insert cast to eliminate |
| 167 | warning. |
| 168 | |
| 169 | Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com> |
| 170 | |
| 171 | * infrun.c (set/show scheduler-locking) New command. Set a |
| 172 | mode bit that will control how GDB attempts to control thread |
| 173 | scheduling for step, continue, etc. (resume): make use of |
| 174 | the schedule-locking mode. |
| 175 | * target.h (struct target_ops): new field to_has_thread_control. |
| 176 | * sol-thread.c: initialize target_ops to_has_thread_control. |
| 177 | * procfs.c: ditto. |
| 178 | * target.c: ditto. |
| 179 | * m3-nat.c: ditto. |
| 180 | * remote.c: ditto. |
| 181 | * hpux-thread.c: ditto. |
| 182 | * thread.c: cull duplicate prototypes. Move prototypes to top. |
| 183 | * serial.c: indentation cleanup. |
| 184 | * breakpoint.c: add casts to eliminate compiler warnings. |
| 185 | |
| 186 | Tue Jan 12 17:00:00 1999 Edith Epstein <eepstein@sophia.cygnus.com> |
| 187 | |
| 188 | * inftarg.c (child_create_inferior): fixed HPUXHPPA specific |
| 189 | call to fork_inferior. The shell param is now NULL. |
| 190 | |
| 191 | 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com) |
| 192 | |
| 193 | * monitor.c (init_base_monitor_ops): Whitespace cleanup. |
| 194 | (_initialize_remote_monitors): Same. |
| 195 | |
| 196 | 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com) |
| 197 | |
| 198 | * monitor.c (init_monitor_ops): Initialize the monitor_ops |
| 199 | structure if it hasn't already been done. |
| 200 | |
| 201 | Tue Jan 12 14:50:10 1999 Stan Shebs <shebs@andros.cygnus.com> |
| 202 | |
| 203 | * inftarg.c (child_ops): Don't initialize statically. |
| 204 | (init_child_ops): New function, fills in child_ops. |
| 205 | (_initialize_inftarg): Use it. |
| 206 | (child_post_attach): Declare extern. |
| 207 | (child_wait): Fix ambiguous parens. |
| 208 | (child_attach_to_process): Remove unused local wstatus. |
| 209 | (child_insert_fork_catchpoint, child_remove_fork_catchpoint, |
| 210 | child_insert_vfork_catchpoint, child_remove_vfork_catchpoint, |
| 211 | child_has_forked, child_insert_exec_catchpoint, |
| 212 | child_remove_exec_catchpoint): Return a value. |
| 213 | |
| 214 | Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com> |
| 215 | |
| 216 | * remote.c (remote_wait): Add inferior_pid to thread list only |
| 217 | if it is not already there. |
| 218 | |
| 219 | 1999-01-11 Jason Molenda (jsm@bugshack.cygnus.com) |
| 220 | |
| 221 | * scm-tags.h: Update FSF's address on copyright notice. |
| 222 | * ser-e7kpc.c: Same. |
| 223 | * gnu-nat.h: Same. |
| 224 | |
| 225 | Mon Jan 11 13:45:57 1999 Stu Grossman <grossman@babylon-5.cygnus.com> |
| 226 | |
| 227 | * dwarf2read.c (dump_die): Change stderr to gdb_stderr. |
| 228 | * expprint.c (print_subexp): fprintf => fprintf_unfiltered. |
| 229 | * jv-typeprint.c (java_type_print_base): fputs => fputs_filtered. |
| 230 | * stack.c (struct function_bounds): Remove superfluous `typedef'. |
| 231 | * symfile.c (list_overlays_command): stdout => gdb_stdout. |
| 232 | * symmisc.c (maintenance_check_symtabs): stdout => gdb_stdout. |
| 233 | * utils.c (print_spaces): Make more efficient. |
| 234 | |
| 235 | Mon Jan 11 13:55:51 1999 David Taylor <taylor@texas.cygnus.com> |
| 236 | |
| 237 | * utils (print_spaces): fix arg to strcat; fix formatting. |
| 238 | |
| 239 | Fri Jan 8 11:57:24 1999 Stan Shebs <shebs@andros.cygnus.com> |
| 240 | |
| 241 | * exec.c (exec_ops): Don't initialize statically. |
| 242 | (init_exec_ops): New function, fills in exec_ops. |
| 243 | (_initialize_exec): Use it. |
| 244 | |
| 245 | Thu Jan 7 17:50:15 EST 1999 Zdenek Radouch (radouch@cygnus.com) |
| 246 | |
| 247 | Beta FR30 port. |
| 248 | * fr30-tdep.c |
| 249 | * config/fr30/tm-fr30.h |
| 250 | |
| 251 | Wed Jan 6 12:28:35 1999 David Taylor <taylor@texas.cygnus.com> |
| 252 | |
| 253 | * configure.in: Add an --enable-tui argument. Construct |
| 254 | tui/Makefile from tui/Makefile.in. Use AM_PROG_CC_STDC. If we |
| 255 | have the GUI, then we need this to process libgui.h. |
| 256 | (ENABLE_CFLAGS): define and export BUILD_TUI. |
| 257 | (AC_CHECK_HEADERS): Add check for term.h. |
| 258 | |
| 259 | * configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs. |
| 260 | |
| 261 | * config.in, configure : regenerated. |
| 262 | |
| 263 | * Makefile.in: Allow the TUI code to be conditionally enabled. |
| 264 | (TUI_LIBRARY): New variable, value are set by the configuration |
| 265 | script. Set to the empty string when the TUI isn't enabled. |
| 266 | (gdb$(GDBEXT)): Use those, instead of referring to all-tui and |
| 267 | tui/libtui.a directly. |
| 268 | (BUILD_TUI): build the tui -- only when configured with |
| 269 | --enable-tui. |
| 270 | (YLWRAP): use ylwrap to avoid problems on systems w/o bison. |
| 271 | (gdb$(EXEEXT)): make it dependent on BUILD_TUI. |
| 272 | (all-tui): remove dependency from phony target. |
| 273 | (c-exp.tab.c): use ylwrap instead of bison. |
| 274 | (jv-exp.tab.c): ditto. |
| 275 | (f-exp.tab.c): ditto. |
| 276 | (m2-exp.tab.c): ditto. |
| 277 | (ALLDEPFILES): add somread.c, hp-psymtab-read.c, hp-symtab-read.c. |
| 278 | (SFILES): remove the above files |
| 279 | (COMMON_OBS): remove somread.o |
| 280 | (SFILES): Add the tui files to this, so they get included in etags |
| 281 | tables. |
| 282 | (gdb$(EXEEXT)): Add all-tui to the list of dependencies, and add |
| 283 | tui/libtui.a to the link list. |
| 284 | (all-tui): New rule, which does a recursive make in the tui |
| 285 | subdir. |
| 286 | (tui/libtui.a): When recursing, pass down ${FLAGS_TO_PASS}. And |
| 287 | don't echo the make command. This is closer to what the other |
| 288 | recursions do. |
| 289 | (HFILES_NO_SRCDIR): add hpread.h |
| 290 | (COMMON_OBS): add hp-psymtab-read.o, hp-symtab-read.o |
| 291 | (SFILES): add hp-psymtab-read.c, hp-symtab-read.c add rules for |
| 292 | the new files. Remove hpread.c, hpread.o |
| 293 | (gdb$(EXEEXT)): Depend on the actual tui library, not on a |
| 294 | fictitious target. Since the fictitious target never existed, |
| 295 | make would always relink. |
| 296 | (tui/libtui.a): Always recurse to make sure the library is up to |
| 297 | date. |
| 298 | |
| 299 | Wed Jan 6 12:05:12 1999 Stan Shebs <shebs@andros.cygnus.com> |
| 300 | |
| 301 | * remote.c: Pacify --enable-build-warnings, reformat code |
| 302 | to conform to standards, fix spelling errors. |
| 303 | (ishex, stubhex, record_currthread, etc): Declare. |
| 304 | (ishex, stubhex): Declare char arg as int. |
| 305 | (pack_string): Comment out, never used but possibly useful. |
| 306 | (threadref_to_int, remote_get_threadinfo, etc): Make static. |
| 307 | |
| 308 | Wed Jan 6 11:43:32 1999 David Taylor <taylor@texas.cygnus.com> |
| 309 | |
| 310 | The following changes were made by Elena Zannoni |
| 311 | <ezannoni@cygnus.com> and Edith Epstein <eepstein@cygnus.com> as |
| 312 | part of a project to merge in changes made by HP. |
| 313 | |
| 314 | * c-exp.y: use external flag hp_som_som_object_present to decide |
| 315 | whether code was compiled by HP's compilers. Add two new C++ |
| 316 | tokens for true and false. |
| 317 | (yylex): check for template name is done differently for the |
| 318 | HP/aCC compiler case. Change some of the template processing code |
| 319 | for handling HP aCC templates. Handle true and false tokens. |
| 320 | |
| 321 | Tue Jan 5 11:13:36 1999 Michael Snyder <msnyder@cleaver.cygnus.com> |
| 322 | |
| 323 | * remote.c (record_curthread): Must not modify inferior_pid when |
| 324 | called from wait_for_inferior. Instead, if a new thread-id is |
| 325 | detected, call add_thread. |
| 326 | (MAGIC_NULL_PID): new macro, use instead of the magic number |
| 327 | "42000". |
| 328 | (remote_find_new_threads): if inferior_pid is unknown, get and use |
| 329 | the current thread id. |
| 330 | (remote_start_remote): on connecting, attempt to get the current |
| 331 | thread id for inferior_pid. |
| 332 | (remote_resume): If pid == -1, then resume any-thread (not the |
| 333 | current thread specifically). Also some cosmetic fixups. |
| 334 | |
| 335 | * thread.c (info_threads_command): don't initialize current_pid |
| 336 | until after call to FIND_NEW_THREADS (which may change inferior_pid). |
| 337 | Also some cosmetic fixups. |
| 338 | * infrun.c: cosmetic fixups and casts to avoid warnings. |
| 339 | * infcmd.c: cosmetic fixups, mainly long lines. |
| 340 | |
| 341 | Tue Jan 5 11:55:57 1999 David Taylor <taylor@texas.cygnus.com> |
| 342 | |
| 343 | * target.c (noprocess): terminate sentence with a period. |
| 344 | * breakpoint.c (catch_command_1): ditto. |
| 345 | |
| 346 | * c-valprint.c (c_value_print): remove hack^2 from HP; it causes |
| 347 | testsuite losses with no real gain. |
| 348 | |
| 349 | * inferior.h (START_INFERIOR_TRAPS_EXPECTED): restore, but only |
| 350 | if tm-*.h hasn't overridden default value. |
| 351 | |
| 352 | 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) |
| 353 | |
| 354 | * configure.in: Fix whitespace indentation for --help. |
| 355 | * configure: Regenerated. |
| 356 | |
| 357 | 1999-01-04 Manuel Bouyer <bouyer@antioche.lip6.fr> |
| 358 | |
| 359 | * main.c: Add --write command line option, document -w. |
| 360 | * gdb.1: Document --write. |
| 361 | |
| 362 | 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) |
| 363 | |
| 364 | * configure.in: Require autoconf 2.12.1 or higher. |
| 365 | * doc/configure.in: Ditto. |
| 366 | * nlm/configure.in: Ditto. |
| 367 | * rdi-share/configure.in: Ditto. |
| 368 | * testsuite/configure.in: Ditto. |
| 369 | * doc/Makefile.in: Don't hardcode $(SHELL). |
| 370 | * nlm/Makefile.in: Ditto. |
| 371 | * rdi-share/Makefile.in: Ditto. |
| 372 | * testsuite/Makefile.in: Ditto. |
| 373 | |
| 374 | Mon Jan 4 12:53:03 1999 Stan Shebs <shebs@andros.cygnus.com> |
| 375 | |
| 376 | * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded |
| 377 | inits of new fields, including ref to bogus field. |
| 378 | (vx_ops, vx_run_ops): Make static. |
| 379 | |
| 380 | Mon Jan 4 15:05:29 1999 David Taylor <taylor@texas.cygnus.com> |
| 381 | |
| 382 | * inferior.h (START_INFERIOR_TRAPS_EXPECTED): delete, |
| 383 | already defined in tm.h. |
| 384 | |
| 385 | * inftarg.c: change <sys/unistd.h> to <unistd.h> and |
| 386 | conditionalize its inclusion. |
| 387 | * infttrace.c: ditto. |
| 388 | |
| 389 | For older changes see ChangeLog-98 |
| 390 | \f |
| 391 | Local Variables: |
| 392 | mode: change-log |
| 393 | left-margin: 8 |
| 394 | fill-column: 74 |
| 395 | version-control: never |
| 396 | End: |