* configure.in (case host): Add i386sco5 host.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Sun Apr 7 13:32:41 1996 Fred Fish <fnf@rtl.cygnus.com>
2
3 * configure.in (case host): Add i386sco5 host.
4 * configure: Regenerate.
5
6 From: Robert Lipe <robertl@dgii.com>
7 Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This
8 target is an SVR3.2 with COFF, ELF, and shared libes, but
9 no /proc.
10 * config/i386/i386sco5.mh: New file.
11 * config/i386/nm-i386sco5.h: New file.
12
13 Sat Apr 6 08:55:22 1996 Fred Fish <fnf@cygnus.com>
14
15 * bcache.c (bcache): When size of chunk to cache is exactly equal to
16 BCACHE_MAXLENGTH, stash chunk as unique copy.
17
18 Sat Apr 6 00:46:26 1996 Fred Fish <fnf@cygnus.com>
19
20 * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef.
21 (add_psymbol_to_list): Add an arg for passing CORE_ADDR values and
22 use it, rather than calling add_psymbol_addr_to_list.
23 (add_psymbol_addr_to_list): Delete.
24 (add_psymbol_to_list): Make psymbol static to avoid random data in
25 gaps due to alignment of structure members.
26 * symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST,
27 ADD_PSYMBOL_ADDR_TO_LIST): Remove. Real world tests show no
28 performance improvements by inlining via complicated macros and
29 they just make gdb larger and harder to maintain.
30 * dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST
31 and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to
32 add_psymbol_to_list with appropriate long or CORE_ADDR args.
33 (add_partial_symbol): Ditto.
34 * partial-stab.h: Ditto.
35 * os9kread.c (read_os9k_psymtab): Ditto
36 * mdebugread.c (parse_partial_symbols): Ditto.
37 (handle_psymbol_enumerators): Ditto.
38 (demangle.h): Include.
39 * hpread.c (hpread_build_psymtabs): Ditto.
40 (hpread_build_psymtabs): Ditto.
41 (demangle.h): Include
42
43 start-sanitize-gdbtk
44 Fri Apr 5 13:44:40 1996 Stan Shebs <shebs@andros.cygnus.com>
45
46 * gdbtk.c (running_now): New global variable.
47 (gdb_cmd): Test it before executing any command.
48 (gdbtk_call_command): Set it when inferior is running.
49 * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and
50 disable interaction with command window's text appropriately.
51
52 Fri Apr 5 13:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
53
54 * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since
55 some versions of the kernel don't support it.
56 end-sanitize-gdbtk
57
58 Thu Apr 4 20:16:55 1996 Fred Fish <fnf@cygnus.com>
59
60 * configure.in: Check for setpgid function.
61 * config.in: Regenerate with autoheader.
62 * configure: Regenerate with autoconf.
63 * inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL
64 if it is actually defined.
65 (gdb_setpgid): Use HAVE_SETPGID.
66 * ch-exp.c: Change include of <string.h> to "gdb_string.h".
67 * c-exp.y, f-exp.y, m2-exp.y: Ditto.
68 * c-exp.y, serial.c: Include <ctype.h>.
69 * config/m68k/nm-news.h: Add typedef for pid_t which is
70 apparently missing from <sys/types.h>. Enclose entire
71 file in NM_NEWS_H ifndef and define when included.
72 * config/mips/nm-news-mips.h: Ditto.
73 * config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL,
74 REGISTER_CONVERT_TO_RAW): Change name of temporary variable.
75
76 Thu Apr 4 19:04:18 1996 Stan Shebs <shebs@andros.cygnus.com>
77
78 * arm-xdep.c: Move native-specific code to here from arm-tdep.c.
79 * arm-tdep.c (arm_apcs_32): New global.
80 (arm_addr_bits_remove, arm_saved_pc_after_call,
81 arm_push_dummy_frame, arm_pop_frame): New functions.
82 (arm_skip_prologue): Updated version from Richard Earnshaw.
83 (_initialize_arm_tdep): Add set/show "apcs32".
84 * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call
85 arm_addr_bits_remove.
86 (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call.
87 (frame_find_saved_regs): Declare properly.
88 (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame.
89 (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of
90 explicit mask.
91 * config/arm/nm-arm.h: New file.
92 * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS):
93 Move definitions to nm-arm.h.
94 * config/arm/arm.mh (NAT_FILE): Define.
95
96 * symfile.c (generic_load): Initialize data_count properly.
97
98 Thu Apr 4 17:17:53 1996 Fred Fish <fnf@cygnus.com>
99
100 * symmisc.c (print_objfile_statistics): Print memory used by
101 psymbol cache obstack.
102
103 Thu Apr 4 15:43:07 1996 Stan Shebs <shebs@andros.cygnus.com>
104
105 * symfile.c (report_transfer_performance): New function.
106 (generic_load): Call it to report transfer rate.
107 * remote-e7000.c (e7000_load): Ditto.
108
109 Mon Apr 1 16:31:00 1996 Stan Shebs <shebs@andros.cygnus.com>
110
111 * mpw-make.sed: Change references to config.h to be in objdir,
112 edit out rules to rebuild config.h.
113
114 Mon Apr 1 08:32:23 1996 Fred Fish <fnf@cygnus.com>
115
116 * hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status before
117 proceeding.
118
119 Sun Mar 31 16:15:43 1996 Fred Fish <fnf@.cygnus.com>
120
121 * hppah-nat.c (store_inferior_registers, store_inferior_registers,
122 fetch_register, child_xfer_memory): Use call_ptrace function supplied
123 by infptrace.c rather than calling ptrace directly.
124
125 Sun Mar 31 15:39:00 1996 Stan Shebs <shebs@andros.cygnus.com>
126
127 * mon960-rom.c: Cleanups and elimination of unused code,
128 clarify documentation string.
129 (mon960_serial, mon960_ttyname): Remove.
130 * config/i960/tm-mon960.h (ADDITIONAL_OPTIONS,
131 ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove.
132
133 Sat Mar 30 11:00:22 1996 Fred Fish <fnf@cygnus.com>
134
135 * configure.in: Check whether printf family supports printing
136 long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so.
137 * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE.
138 * configure: Regenerate.
139 * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE.
140 * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE.
141 * configure.in: Fix have_gregset and have_fpregset autoconf
142 variable names so that they match the pattern required to
143 cache them.
144
145 Fri Mar 29 21:39:56 1996 Fred Fish <fnf@cygnus.com>
146
147 * core-aout.c (fetch_core_registers): Cast core_reg_size to int
148 before testing against reg_ptr.
149 * eval.c (evaluate_subexp_standard): Cast type of
150 TYPE_FN_FIELD_VOFFSET to int.
151 * findvar.c (extract_signed_integer, extract_unsigned_integer,
152 extract_long_unsigned_integer): Cast type of sizeof to int.
153 * values.c (unpack_field_as_long, modify_field): Ditto.
154 * valops.c (value_assign, call_function_by_hand): Ditto.
155 * infcmd.c (do_registers_info): Ditto.
156 * ser-tcp.c (tcp_open): Ditto.
157 * remote.c (putpkt): Ditto.
158 * dcache.c (dcache_peek): Ditto.
159 * dcache.c (dcache_poke): Ditto.
160 * m2-exp.y (yylex): Ditto.
161 * gnu-regex.c (re_match_2): Ditto.
162 * f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef
163 out unused macro definition and variables.
164 * inftarg.c (proc_wait): Move from main.c to here, and make static.
165 * valprint.c (val_print_string): Change bufsize from int to unsigned.
166 * main.c (wait.h): Include.
167 * top.c (command_line_input): Remove unused variable "c".
168 * f-typeprint.c (f_type_print_varspec_prefix): Add missing enum
169 value TYPE_CODE_TYPEDEF to switch statement.
170 (f_type_print_varspec_suffix): Add missing enum value
171 TYPE_CODE_TYPEDEF to switch statement.
172 * ch-exp.c (parse_primval): Add remaining enumeration values to
173 switch statement, with no specific action.
174 (ch_lex): Add LOC_UNRESOLVED in switch statement.
175 (pushback_token): Ifdef out, since code using it is ifdef'd out.
176 * stabsread.c (cleanup_undefined_types): Remove unused label
177 "badtype".
178 * objfiles.h (print_symbol_bcache_statistics): Add prototype.
179 * maint.c (objfiles.h): Include.
180 (maintenance_print_statistics): Remove unused variable "temp".
181 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
182 unused variable "found_file_symbol".
183 * m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch.
184 * language.c (lang_bool_type): Use existing function local type
185 variable rather than create block local variables.
186 * solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS.
187 * infptrace.c (wait.h, command.h): Include.
188 * ser-tcp.c (gdb_string.h): Include
189 * i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR.
190 (i386_get_frame_setup): Change "pc" from int to CORE_ADDR.
191 * command.c (complete_on_enum): Make assignment used as truth value
192 explictly check against NULL.
193 (wait.h): Include.
194 * infrun.c (wait_for_inferior): Ifdef out prologue_pc since code
195 that uses it is ifdef'd out.
196 * parser-defs.h: Add prototype for write_dollar_variable.
197 * infrun.c: Add prototype for write_pc_pid.
198 * breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs.
199 * symmisc.c (bcache.h): Include.
200 * bcache.h: Add prototype for print_bcache_statistics.
201 * symfile.c: Include <time.h>.
202 * printcmd.c (print_scalar_formatted): Change len to unsigned int.
203 * valarith.c (value_equal): Cast result of TYPE_LENGTH to int.
204 * valarith.c (value_binop): Change result_len, promoted_len1,
205 and promoted_len2 to unsigned int.
206 * valarith.c (value_subscripted_rvalue): Change elt_offs and
207 elt_size to unsigned int.
208 * valops.c (value_array): Change typelength to unsigned int.
209 (destructor_name_p): Change len to unsigned int.
210 * scm-lang.h (scm_parse): Add prototype for scm_unpack.
211 * symfile.c (decrement_reading_symtab): Change return type to void.
212 * valarith.c (value_subscript): Remove unused variable "word".
213 (value_subscript): Remove unused variable "tint".
214 * valops.c (auto_abandon): Ifdef out, since code using it is also
215 ifdef'd out.
216 * eval.c (init_array_element): Remove unused variable "val".
217 * Makefile.in (values.o): Depends on scm-lang.h.
218 (command.o): Depends upon wait_h.
219 (ser-tcp.o): Depends upon gdb_string.h.
220 (infptrace.o): Depends upon wait_h and command_h.
221 (maint.o): Depends on objfiles.h and symfile.h.
222 * values.c (allocate_repeat_value): Remove unused variable
223 "element_type".
224 (scm-lang.h): Include.
225 * breakpoint.c (create_longjmp_breakpoint): Enclose in
226 GET_LONGJMP_TARGET define, unused otherwise.
227 * config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint,
228 i386_remove_watchpoint and i386_stopped_by_watchpoint.
229
230 Thu Mar 28 12:53:19 1996 Doug Evans <dje@canuck.cygnus.com>
231
232 * configure.in (sparc64-*-solaris2*): Delete.
233 Stick with sparc-*-solaris2*.
234 * configure: Regenerated.
235
236 Thu Mar 28 06:51:26 1996 Fred Fish <fnf@cygnus.com>
237
238 * valops.c (value_assign): Make copy of internal variable value
239 before returning it as a new value, since it is owned by the
240 internal variable and will be freed along with it.
241
242 Wed Mar 27 08:36:17 1996 Jeffrey A Law (law@cygnus.com)
243
244 * From Peter Schauer.
245 * breakpoint.c (breakpoint_re_set_one): Keep temporary
246 breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy
247 and bp_step_resume in case breakpoint_re_set_one is called due
248 to a step over a dlopen call.
249 * infrun.c (wait_for_inferior): Always remove breakpoints from
250 inferior in BPSTAT_WHAT_CHECK_SHLIBS case.
251
252 Tue Mar 26 13:15:32 1996 Fred Fish <fnf@cygnus.com>
253
254 * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
255 non-prototyped case over prototyped case for C.
256 * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto.
257
258 Sat Mar 23 17:24:28 1996 Fred Fish <fnf@cygnus.com>
259
260 * os9kread.c (os9k_process_one_symbol): Note nonportable
261 assumption that an int can hold a char *.
262
263 * bcache.h (struct hashlink): Wrap data[] inside union with
264 double to force longest alignment.
265 (BCACHE_DATA): New macro to access data[].
266 (BCACHE_ALIGNMENT): New macro to get offset to data[].
267 * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get
268 address of cached data. Use BCACHE_ALIGNMENT to compute
269 amount of space to allocate for each hashlink struct.
270
271 Sat Mar 23 12:14:02 1996 Fred Fish <fnf@cygnus.com>
272
273 * ch-lang.c (evaluate_subexp_chill): Fix typo.
274
275 Thu Mar 21 08:27:19 1996 Fred Fish <fnf@cygnus.com>
276
277 * Makefile.in (VERSION): Bump version to 4.15.3
278
279 Thu Mar 21 10:56:41 1996 Ian Lance Taylor <ian@cygnus.com>
280
281 * config.in: Rename from config.h.in.
282 * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
283 Change CONFIG_HEADERS test in AC_OUTPUT accordingly.
284 * configure: Rebuild.
285 * Makefile.in (stamp-h): Depend upon config.in, not config.h.in.
286 Set CONFIG_HEADERS to config.h:config.in.
287
288 Tue Mar 19 12:47:51 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
289
290 * partial-stab.h (case N_ENDM): Finish current partial symbol
291 table for Solaris 2 cc.
292
293 Tue Mar 19 10:39:15 1996 Jeffrey A Law (law@cygnus.com)
294
295 * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
296 PC in the registers array. From Peter Schauer.
297
298 Mon Mar 18 13:47:09 1996 Fred Fish <fnf@cygnus.com>
299
300 * symfile.c (reread_symbols): Reinitialize bcache struct
301 members to zero using memset. Also use memset to reinit
302 global_psymbols and static_psymbols, rather than explicitly
303 resetting each structure member.
304
305 Sat Mar 16 19:47:36 1996 Fred Fish <fnf@cygnus.com>
306
307 * configure.in: Add fragment to create stamp-h.
308
309 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
310 * configure.in (AC_CHECK_HEADERS): Check for link.h.
311 * configure: Regenerate with autoconf.
312 * config.h.in: Regenerate with autoheader.
313 * config/i386/nm-linux.h: Include solib.h only if HAVE_LINK_H
314 is defined.
315 * solib.c: Exclude most of the code if HAVE_LINK_H is not defined.
316 * config/i386/linux.mh: Reinstate XM_CLIBS, it is needed for
317 older a.out based systems.
318
319 Sat Mar 16 16:45:43 1996 Fred Fish <fnf@cygnus.com>
320
321 * config.h.in: New file.
322 * acconfig.h: New file, for autoheader.
323 * configure.in (AC_CONFIG_HEADER): Add, generate config.h.
324 * configure: Regenerate.
325 * Makefile.in (defs_h): Add config.h
326 (distclean): Remove config.h and stamp-h during distclean.
327 (config.h, stamp-h): New targets to remake config.h when necessary.
328 * defs.h (config.h): Include before any other includes or defines.
329 * i386-tdep.c (gdb_string.h): Move include after include of defs.h.
330 * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
331
332 Sat Mar 16 14:55:27 1996 Fred Fish <fnf@cygnus.com>
333
334 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
335 * Makefile.in (INSTALLED_LIBS): Make sure that @LIBS@ will not
336 result in an empty line, to work around a bug in native Ultrix 4.4
337 and OSF/1-3.2C make.
338
339 Sat Mar 16 13:33:17 1996 Fred Fish <fnf@cygnus.com>
340
341 * configure.in: Add gdbserver to configdirs under linux.
342 * configure: Regenerate.
343
344 Fri Mar 15 12:06:58 1996 J.T. Conklin <jtc@rtl.cygnus.com>
345
346 * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
347 * config/i386/tm-nbsd.h (NUM_REGS): Define.
348
349 Thu Mar 14 10:31:18 1996 Jeffrey A Law (law@cygnus.com)
350
351 * solib.c (solib_break_names): Add _r_debug_state for
352 vanilla SVR4 implementations. From Peter Schauer.
353
354 Mon Mar 11 14:24:57 1996 Dawn Perchik <dawn@critters.cygnus.com>
355
356 * mon960-rom.c: New file; support mon960 rom monitor on i960.
357 * monitor.c (monitor_debug): Change remotedebug to buffer strings.
358 * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before
359 epecting prompt and echo during open.
360 * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to
361 determine if break should be sent as stop command.
362 * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN.
363 * i960-tdep.c (mon960_frame_chain_valid): New function for getting
364 stack frame on mon960.
365 * Makefile.in: Add mon960 files.
366 * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960;
367 added i960-nindy-coff* and i960-nindy-elf* for target nindy.
368 * configure: Regenerated.
369 * config/i960/mon960.mt, config/i960/tm-mon960.h: New files;
370 support mon960 rom monitor on i960.
371
372 Mon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com>
373
374 With Michael Snyder:
375 * i386-tdep.c (skip_trampoline_code): Fix strncmp length.
376 * win32-nat.c (CHECK, DEBUG*, debug_*): New.
377 (handle_load_dll): Don't reload symbols.
378 (handle_exception): Use the DEBUG_* names.
379 (child_wait): Add DEBUG_* code.
380 (_initialize_inftarg): Add new commands to set debug_ names.
381
382 Mon Mar 11 09:19:58 1996 Jeffrey A Law (law@cygnus.com)
383
384 * From Peter Schauer:
385 * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE.
386 (bpstat_stop_status): Likewise.
387 (remove_solib_event_breakpoints): Likewise.
388 (clear_momentary_breakpoints): Likewise.
389 (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint
390 if we still can't read the memory for that breakpoint.
391 (mention): Add bp_shlib_event case to keep gcc quiet.
392
393 Fri Mar 8 12:08:12 1996 Jeffrey A Law (law@cygnus.com)
394
395 * breakpoint.h (enum enable): New enum shlib_disabled for
396 shared library breakpoints that have been temporarily disabled.
397 * breakpoint.c: Handle temporarily disabled shared library
398 breakpoints like disabled breakpoints in most places.
399 (insert_breakpoints): Use shlib_disabled to indicate
400 that an unsettable breakpoint is only temporarily disabled.
401 (re_enable_breakpoints_in_shlibs): New function.
402 * corelow.c (solib_add_stub): After adding shared libraries,
403 try to reenable any temporarily disabled breakpoints.
404 * infcmd.c (attach_command): Likewise.
405 * infrun.c (wait_for_inferior): Likewise.
406
407 Fri Mar 8 11:41:25 1996 Ian Lance Taylor <ian@cygnus.com>
408
409 * defs.h (extract_long_unsigned_integer): Declare.
410 * findvar.c (extract_long_unsigned_integer): New function.
411 * printcmd.c (print_scalar_formatted): Use it.
412 * valprint.c (val_print_type_code_int): Likewise.
413
414 Thu Mar 7 17:40:50 1996 Stan Shebs <shebs@andros.cygnus.com>
415
416 * infcmd.c (do_registers_info): Ignore anonymous registers.
417 * sh-tdep.c (set processor): New command to set specific
418 processor type.
419 (sh_reg_names, sh3_reg_names): Arrays of register names for
420 SH and SH3 processors.
421 (sh_set_processor_type): New function.
422 * sh3-rom.c (sh3_open): Call it.
423 (sh3_regname): Add names of all the bank registers.
424 (sh3_supply_register): Clean up formatting.
425 * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include
426 bank registers.
427 (REGISTER_NAMES): Add names of bank registers.
428 (FP15_REGNUM): Define.
429 (REGISTER_VIRTUAL_TYPE): Use it.
430 * monitor.c: Clean up some comments.
431
432 Thu Mar 7 12:09:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
433
434 * i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the
435 s* and t* symbols too.
436
437 Thu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk>
438
439 * symfile.c (generic_load): Avoid division by zero.
440
441 Wed Mar 6 17:57:59 1996 Jeffrey A Law (law@cygnus.com)
442
443 * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
444 not just those with HANDLE_SVR4_EXEC_EMULATORS.
445
446 From Peter Schauer:
447 * breakpoint.c (internal_breakpoint_number): Move to file scope.
448 (create_solib_event_breakpoint): Use an internal breakpoint number.
449
450 Wed Mar 6 00:32:44 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
451
452 * valarith.c (value_in): Change builtin_type_chill_bool to
453 LA_BOOL_TYPE.
454
455 Tue Mar 5 23:48:36 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
456
457 * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
458 (match_string_literal): Handle control sequence.
459 (match_character_literal): Deto.
460
461 * ch-lang.c (chill_printchar): Change formating of nonprintable
462 characters from C'xx' to ^(num).
463 (chill_printstr): Deto.
464 (value_chill_card, value_chill_max_min): New functions to process
465 Chill's CARD, MAX, MIN.
466 (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN.
467
468 * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN
469 for Chill's CARD, MAX, MIN.
470
471 * valarith.c (value_in): Add processing of TYPE_CODE_RANGE
472 and change return type from builtin_type_int to
473 builtin_type_chill_bool.
474
475 Tue Mar 5 18:54:04 1996 Stan Shebs <shebs@andros.cygnus.com>
476
477 * config/nm-nbsd.h (link_object, lo_name, etc): Move to here
478 from config/nm-nbsd.h.
479 * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here
480 from config/sparc/tm-nbsd.h.
481
482 * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
483 instead of in config/m68k/xm-hp300hpux.h.
484
485 Tue Mar 5 12:05:35 1996 J.T. Conklin <jtc@rtl.cygnus.com>
486
487 * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
488 implementation for NetBSD systems.
489
490 Mon Mar 4 23:44:16 1996 Per Bothner <bothner@kalessin.cygnus.com>
491
492 * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT.
493 (value_concat): Handle varying strings (add COERCE_VARYING_ARRAY).
494
495 * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error
496 if "function" is pointer to non-function.
497
498 Mon Mar 4 17:47:03 1996 Stan Shebs <shebs@andros.cygnus.com>
499
500 * top.c (print_gdb_version): Update copyright year.
501
502 Mon Mar 4 14:44:54 1996 Jeffrey A Law (law@cygnus.com)
503
504 From Peter Schauer:
505 * infrun.c (wait_for_inferior): Remove breakpoints and
506 switch terminal settings before calling SOLIB_ADD.
507 * solib.c (enable_break, SVR4 variant): Don't map in symbols
508 for the dynamic linker, the namespace pollution causes real
509 problems.
510
511 Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk>
512
513 * remote-mips.c (common_breakpoint): Explicitly terminate the
514 returned buffer.
515
516 Wed Feb 28 22:32:18 1996 Stan Shebs <shebs@andros.cygnus.com>
517
518 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
519 * remote.c (remote_detach): Send a command 'D' to the target
520 when detaching, update the function's comments.
521
522 Wed Feb 28 15:50:12 1996 Fred Fish <fnf@cygnus.com>
523
524 * Makefile.in (VERSION): Bump version to 4.15.2 to establish
525 baseline for gdb 4.16 rerelease testing.
526
527 Wed Feb 28 13:32:05 1996 Jeffrey A Law (law@cygnus.com)
528
529 * somsolib.c (som_solib_create_inferior_hook): Before returning
530 call clear_symtab_users.
531
532 Tue Feb 27 00:04:46 1996 Stu Grossman (grossman@critters.cygnus.com)
533
534 * remote-e7000.c (e7000_open): Delete all breakpoints when
535 connecting to e7000. Change connect message to allow use of
536 monitor.exp in test suite.
537 * (e7000_load): Print transfer rate of download.
538 * symfile.c (generic_load): Print transfer rate of download.
539
540 Sun Feb 25 13:58:33 1996 Stan Shebs <shebs@andros.cygnus.com>
541
542 * configure.in (mips*-*-vxworks*): New config.
543 * configure: Regenerated.
544
545 * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files.
546 * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual):
547 Remove, never used.
548
549 Sat Feb 24 12:30:28 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
550
551 * partial-stab.h (case N_FUN): Function symbols generated
552 by SPARCworks cc have a meaningless zero value, do not update
553 pst->textlow if the function symbol value is zero.
554
555 * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field
556 for function prototype declaration symbols.
557
558 Fri Feb 23 22:33:04 1996 Stu Grossman (grossman@critters.cygnus.com)
559
560 * remote-e7000.c (e7000_load): New routine to download via the
561 network.
562 * (e7000_wait): Don't backup PC when we hit a breakpoint.
563 Apparantly new sh2 pods get this right...
564 * (e7000_ops): Add call to e7000_load.
565
566 Thu Feb 22 00:52:42 1996 J.T. Conklin <jtc@rtl.cygnus.com>
567
568 * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},
569 m68knbsd-nat.c: New files, support for NetBSD/m68k.
570
571 * configure.in (m68k-*-netbsd*): New config.
572 * configure: Regenerated.
573
574 Wed Feb 21 19:00:21 1996 Fred Fish <fnf@ninemoons.com>
575
576 * standalone.c (open, _initialize_standalone): Fix obvious typos
577 reported by Martin Pool <martin@citr.uq.oz.au>.
578
579 Wed Feb 21 14:24:04 1996 Jeffrey A Law (law@cygnus.com)
580
581 * solib.c (solib_create_inferior_hook): Fix thinko.
582
583 Tue Feb 20 23:59:19 1996 Jeffrey A Law (law@cygnus.com)
584
585 * solib.c (solib_break_names): Define for Solaris and Linux.
586 (enable_break): For SVR4 systems, first try to use the debugger
587 interfaces in the dynamic linker to track shared library events
588 as they happen, then fall back to BKPT_AT_SYMBOL code. Convert
589 BKPT_AT_SYMBOL code to use shared library event breakpoints.
590 (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code,
591 it no longer needs to restart/wait on the inferior.
592 * symfile.c (find_lowest_section): No longer static.
593 * symfile.h (find_lowest_section): Corresponding changes.
594
595 Tue Feb 20 18:54:08 1996 Fred Fish <fnf@rtl.cygnus.com>
596
597 * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value.
598 (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE.
599 * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.
600 * config/mips/tm-mips.h: Ditto.
601 * config/pa/tm-hppa.h: Ditto.
602 * config/rs6000/tm-rs6000.h: Ditto.
603 * config/sparc/tm-sparc.h: Ditto.
604
605 Tue Feb 20 17:32:05 1996 J.T. Conklin <jtc@rtl.cygnus.com>
606
607 * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o.
608
609 * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined.
610 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
611 #ifdef'd out definitions --- Causes serious gdb failures on
612 the i386. Need to investigate further before enabling.
613
614 * i386b-nat.c (fetch_inferior_registers, store_inferior_registers,
615 fetch_core_registers): New functions. These functions are defined
616 if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored
617 with ptrace PT_GETREGS/PT_SETREGS.
618
619 Tue Feb 20 16:55:06 1996 Stu Grossman (grossman@critters.cygnus.com)
620
621 * findvar.c (extract_floating store_floating): Replace `long
622 double' with `DOUBLEST'.
623
624 Mon Feb 19 15:25:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
625
626 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
627 Define.
628
629 Mon Feb 19 10:32:05 1996 Jeffrey A Law (law@cygnus.com)
630
631 * symtab.h (looup_minimal_symbol_solib_trampoline): Declare.
632
633 * breakpoint.h (remove_solib_event_breakpoints): Declare.
634 * breakpoint.c (remove_solib_event_breakpoints): New function.
635 * somsolib.c (solib_create_inferior_hook): Remove all solib event
636 breakpoints before inserting any new ones. Use a solib event
637 breakpoint for the breakpoint at "_start".
638 Remove extraneous "\n" from calls to warning.
639
640 * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes
641 name array.
642
643 Mon Feb 19 01:09:32 1996 Doug Evans <dje@cygnus.com>
644
645 * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST
646 for CORE_ADDR values.
647 (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values.
648 * symfile.h (add_psymbol_{,addr}to_list): Add prototypes.
649
650 Sun Feb 18 14:37:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
651
652 * mipsread.c (mipscoff_symfile_read): Unconditionally add
653 alpha coff dynamic symbols for all symbol files. Makes skipping
654 over the trampoline code work when stepping from a function in a
655 shared library into a function in a different shared library.
656
657 Sun Feb 18 09:27:10 1996 Stu Grossman (grossman@cygnus.com)
658
659 * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. Define
660 RETURN_VALUE_ON_STACK to return long doubles on the stack.
661
662 Sat Feb 17 16:33:11 1996 Fred Fish <fnf@cygnus.com>
663
664 * Makefile.in (ch-exp.o): Add dependencies.
665 (various): Add gdb_string.h to dependencies that need it.
666
667 Sat Feb 17 08:57:50 1996 Fred Fish <fnf@cygnus.com>
668
669 * symmisc.c (print_symbol_bcache_statistics): Update description for
670 printing byte cache statistics.
671
672 Thu Feb 16 16:02:03 1996 Stu Grossman (grossman@cygnus.com)
673
674 * Add native support for long double data type.
675 * c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST
676 to store actual data. Change types of INT and FLOAT tokens to
677 typed_val_int and typed_val_float respectively. Create new token
678 DOUBLE_KEYWORD to specify the string `double'. Make production
679 for FLOAT use type determined by parse_number. Add production for
680 "long double" data type.
681 * (parse_number): Use sscanf to parse numbers as float, double or
682 long double depending upon the type of typed_val_float.dval. Also
683 allow user to specify `f' or `l' suffix to explicitly specify
684 float or long double constants. Change typed_val to
685 typed_val_int.
686 * (yylex): Change typed_val to typed_val_int. Also, scan for
687 "double" keyword.
688 * coffread.c (decode_base_type): Add support for T_LNGDBL basic
689 type.
690 * configure, configure.in: Add check for long double support in
691 the host compiler.
692 * defs.h: Define DOUBLEST appropriatly depending on whether
693 HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes
694 for functions that handle this type.
695 * expression.h (union exp_element): doubleconst is now type
696 DOUBLEST.
697 * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST.
698 * findvar.c (extract_floating): Make return value be DOUBLEST.
699 Also, add support for numbers with size of long double.
700 * (store_floating): Arg `val' is now type DOUBLEST. Handle all
701 floating types.
702 * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now
703 DOUBLEST.
704 * valarith.c (value_binop): Change temp variables v1, v2 and v to
705 type DOUBLEST. Coerce type of result to long double if either op
706 was of that type.
707 * valops.c (value_arg_coerce): If argument type is bigger than
708 double, coerce to long double.
709 * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and
710 arg type is float and > 8 bytes, then use pointer-to-object
711 calling conventions.
712 * valprint.c (print_floating): Arg doub is now type DOUBLEST.
713 Use appropriate format and precision to print out floating point
714 values.
715 * value.h: Fixup prototypes for value_as_double,
716 value_from_double, and unpack_double to use DOUBLEST.
717 * values.c (record_latest_value): Remove check for invalid
718 floats. Allow history to store them so that people may examine
719 them in hex if they want.
720 * (value_as_double unpack_double): Change return value to DOUBLEST.
721 * (value_from_double): Arg `num' is now DOUBLEST.
722 * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target
723 specific) to expect certain types to always be returned on the stack.
724
725 Fri Feb 16 14:00:54 1996 Fred Fish <fnf@cygnus.com>
726
727 * bcache.c, bcache.h: New files to implement a byte cache.
728 * Makefile.in (SFILES): Add bcache.c.
729 (symtab_h): Add bcache.h.
730 (HFILES_NO_SRCDIR): add bcache.h
731 (COMMON_OBJS): Add bcache.o
732 (bcache.o): New target.
733 * dbxread.c (start_psymtab): Make global_syms & static_syms
734 type "partial_symbol **".
735 * hpread.c (hpread_start_symtab): Ditto.
736 * os9kread.c (os9k_start_psymtab): Ditto.
737 * stabsread.h (start_psymtab): Ditto.
738 * {symfile.c, symfile.h} (start_psymtab_common): Ditto.
739 * maint.c (maintenance_print_statistics): Call
740 print_symbol_bcache_statistics.
741 * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc
742 and free pointers.
743 * solib.c (allocate_rt_common_objfile): Ditto.
744 * symfile.c (reread_symbols): Ditto.
745 (free_objfile): Free psymbol bcache when objfile is freed.
746 (objfile_relocate): Use new indirect psymbol pointers.
747 * objfiles.h (struct objfile): Add psymbol cache.
748 * symfile.c (compare_psymbols): Now passed pointers to pointers to
749 psymbols.
750 (reread_symbols): Free psymbol bcache when freeing other objfile
751 resources.
752 (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new
753 psymbol using the psymbol bcache.
754 (init_psymbol_list): Psymbol lists now contain pointers rather than
755 the actual psymbols.
756 * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically
757 grown arrays of pointers.
758 (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol
759 bcache.
760 * symmisc.c (print_partial_symbols): Now takes pointer to pointer
761 to partial symbol.
762 (print_symbol_bcache_statistics): New function to print per objfile
763 bcache statistics.
764 (print_partial_symbol, print_partial_symbols,
765 maintenance_check_symtabs, extend_psymbol_list):
766 Account for change to pointer to pointer to partial symbol.
767 * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2,
768 make_symbol_completion_list):
769 Account for change to pointer to pointer to partial symbol.
770 * symtab.h (bcache.h): Include.
771 * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms
772 type "partial_symbol **".
773
774 Fri Feb 16 10:02:34 1996 Fred Fish <fnf@cygnus.com>
775
776 * dwarfread.c (free_utypes): New function.
777 (read_file_scope): Call free_utypes as cleanup, rather than just
778 freeing the utypes pointer.
779
780 Thu Feb 15 21:40:52 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
781
782 * demangle.c (is_cplus_marker): New function, checks if a
783 character is one of the commonly used C++ marker characters.
784 * defs.h (is_cplus_marker): Add prototype.
785 * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle),
786 cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol),
787 stabsread.c (define_symbol, read_member_functions, read_struct_fields),
788 symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P),
789 values.c (vb_match): Use is_cplus_marker instead of comparison
790 with CPLUS_MARKER.
791
792 Thu Feb 15 18:08:13 1996 Fred Fish <fnf@cygnus.com>
793
794 * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly
795 delete entirely someday.
796
797 Thu Feb 15 15:25:34 1996 Stan Shebs <shebs@andros.cygnus.com>
798
799 * mpw-make.sed: Edit out makefile rebuild rule.
800 (host_alias, target_alias): Comment out instead of deleting.
801 (@LIBS@): Edit out references.
802
803 Tue Feb 13 22:56:46 1996 Fred Fish <fnf@cygnus.com>
804
805 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
806 Use n_psyms in OBJSTAT, not psyms.
807
808 Mon Feb 12 15:59:31 1996 Doug Evans <dje@charmed.cygnus.com>
809
810 * configure.in (sparclet-*-aout*): New config.
811 * configure: Regenerated.
812
813 Mon Feb 12 14:17:52 1996 Fred Fish <fnf@cygnus.com>
814
815 * somsolib.c (som_solib_add): Use xmalloc rather than bare
816 unchecked call to malloc.
817 * remote-mips.c (pmon_load_fast): ditto.
818 * remote-mm.c (mm_open): ditto.
819 * hpread.c (hpread_lookup_type): ditto.
820 * remote-adapt.c (adapt_open): ditto.
821
822 Mon Feb 12 13:11:32 1996 Fred Fish <fnf@cygnus.com>
823
824 * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
825 allocate_saved_f77_common_node, allocate_common_entry_node,
826 add_common_block): Use xmalloc rather than malloc, some of which
827 were unchecked.
828 * gnu-regex.c: At same point as other gdb specific changes
829 #undef malloc and then #define it to xmalloc.
830 * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than
831 bare unchecked calls to malloc/realloc.
832 * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare
833 unchecked call to malloc.
834
835 Wed Feb 7 11:31:26 1996 Stu Grossman (grossman@cygnus.com)
836
837 * symtab.c (gdb_mangle_name): Change opname var to be const to
838 match return val of cplus_mangle_name.
839 * i960-tdep.c: Change arg types of next_insn to match callers.
840
841 Wed Feb 7 07:34:24 1996 Fred Fish <fnf@cygnus.com>
842
843 * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These
844 apparently aren't needed in any reasonably recent version of
845 linux.
846
847 Tue Feb 6 21:37:03 1996 Per Bothner <bothner@kalessin.cygnus.com>
848
849 * stabsread.c (read_range_type): If !self-subrange and language
850 is Chill, assume a true range. If a true_range is a sub_subrange,
851 use builtin_type_int for index_type.
852
853 Tue Feb 6 18:38:51 1996 J.T. Conklin <jtc@slave.cygnus.com>
854
855 * nindy-share/nindy.c (say): Use stdarg.h macros when compiling
856 with an ANSI compiler.
857
858 start-sanitize-gdbtk
859 Tue Feb 6 16:31:25 1996 Tom Tromey <tromey@creche.cygnus.com>
860
861 * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
862 double-clicking will work again.
863 (create_asm_win): Put "break" at end of all B1 bindings.
864 (create_file_win): Lower "sel" tag, don't raise it.
865 (ensure_line_visible): New proc.
866 (update_listing, update_assembly): Use it.
867 (create_copyright_window): Destroy window on Leave event.
868 (create_command_window): Put "break" at end of all B2 bindings.
869
870 end-sanitize-gdbtk
871 Mon Feb 5 18:24:28 1996 Steve Chamberlain <sac@slash.cygnus.com>
872
873 From Michael_Snyder@NeXT.COM (Michael Snyder):
874 * valops.c (value_arg_coerce): Coerce float to double, unless the
875 function prototype specifies float.
876
877 Mon Feb 5 09:51:55 1996 Tom Tromey <tromey@creche.cygnus.com>
878
879 * language.c (set_language_command): Use languages table when
880 printing available languages.
881
882 Sat Feb 3 12:22:05 1996 Fred Fish <fnf@cygnus.com>
883
884 Fix problems reported by Hans Verkuil (hans@wyst.hobby.nl):
885 * command.c (add_cmd): Add missing initialization for enums member.
886 Reorder members to match structure declaration to make it easier to
887 tell when one is missing.
888 * exec.c (exec_file_command): Fix problem where filename in malloc'd
889 memory is referenced after being freed.
890
891 Sat Feb 3 03:26:21 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
892
893 * dwarfread.c (read_func_scope): Avoid GDB core dumps if
894 AT_name tag is missing.
895
896 * procfs.c (procfs_stopped_by_watchpoint): Fix logic when
897 FLTWATCH and FLTKWATCH are defined.
898
899 * remote.c (remote_read_bytes): Advance memaddr for transfers,
900 return number of bytes transferred for partial reads.
901
902 * top.c (init_signals): Reset SIGTRAP to SIG_DFL.
903
904 Fri Feb 2 13:40:50 1996 Steve Chamberlain <sac@slash.cygnus.com>
905
906 * win32-nat.c (mappings): Add ppc registers.
907 (child_resume): Turn off step for ppc.
908
909 Thu Feb 1 10:29:31 1996 Steve Chamberlain <sac@slash.cygnus.com>
910
911 * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
912 xm-cygwin32.h): New.
913 * config/i386/(*win32*): Becomes *cygwin32*.
914 * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32.
915 (powerpcle-*-cygwin32): New.
916 * configure: Regenerate.
917 * win32-nat.c (child_create_inferior): Call CreateProcess
918 with the right program arg.
919
920 Thu Feb 1 11:01:10 1996 Jeffrey A Law (law@cygnus.com)
921
922 * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.
923
924 Wed Jan 31 19:01:28 1996 Fred Fish <fnf@cygnus.com>
925
926 * serial.c: Change fputc/fputs/fprintf to _unfiltered forms.
927
928 Wed Jan 31 18:36:27 1996 Stan Shebs <shebs@andros.cygnus.com>
929
930 * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
931
932 * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
933
934 * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to
935 here from config/i386/xm-i386mach.h, fix name.
936 * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h.
937 * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to
938 here from config/i386/xm-ptx4.h.
939 * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h.
940 * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h.
941 * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h.
942 * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h.
943 * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h.
944
945 * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
946 (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
947 * config/sparc/sun4sol2.mh (NAT_FILE): Update.
948
949 Wed Jan 31 17:20:26 1996 Jeffrey A Law (law@cygnus.com)
950
951 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software
952 floating point correctly.
953 (STORE_RETURN_VALUE): Likewise.
954 * config/pa/tm-pro.h (SOFT_FLOAT): define.
955
956 Wed Jan 31 13:34:52 1996 Fred Fish <fnf@cygnus.com>
957
958 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
959 Define to what should be reasonable values. However, apparently
960 a bug in linux mmap prevents mapped symbol tables from working.
961
962 Tue Jan 30 18:26:19 1996 Fred Fish <fnf@cygnus.com>
963
964 * defs.h (errno.h>: Move #include closer to head of file to solve
965 obscure problem with systems that declare perror with const arg, in
966 both errno.h and stdio.h, and const is defined away by intervening
967 local include.
968
969 Tue Jan 30 15:41:10 1996 Fred Fish <fnf@cygnus.com>
970
971 From Jon Reeves <reeves@zk3.dec.com>:
972 * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr.
973 (mem_fault_routine): Fix misplaced volatile type qualifier in decl.
974
975 Mon Jan 29 19:05:58 1996 Fred Fish <fnf@cygnus.com>
976
977 * Makefile.in (diststuff): Make all-doc; diststuff target does not
978 exist in doc/Makefile.in.
979
980 Mon Jan 29 18:44:57 1996 Stan Shebs <shebs@andros.cygnus.com>
981
982 * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.
983
984 Mon Jan 29 00:10:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
985
986 * ch-valprint.c (calculate_array_length): New function to
987 determine the length of an array type.
988 (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
989 array type is zero, call calculate_array_length.
990
991 * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The
992 values may not be sorted. Scan all entries and set the real lower
993 and upper bound.
994
995 Sun Jan 28 15:50:42 1996 Fred Fish <fnf@cygnus.com>
996
997 * config/xm-linux.h: Move include of solib.h and #define of
998 SVR4_SHARED_LIBS from here ...
999 * config/nm-linux.h: ...to here.
1000
1001 Sat Jan 27 10:34:05 1996 Fred Fish <fnf@cygnus.com>
1002
1003 * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
1004 Also check for gregset_t and fpregset_t types.
1005 * configure: Regenerate.
1006 * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H
1007 is defined.
1008 (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T
1009 and HAVE_FPREGSET_T are defined. These changes allow systems
1010 like linux that are migrating to /proc support to use a single
1011 configuration for both new and old versions.
1012
1013 * config/i386/linux.mt: Note that this is now for both a.out and
1014 ELF systems.
1015 * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o,
1016 i386v4-nat.o
1017 * config/i386/tm-linux.h (tm-sysv4.h): Include.
1018 * config/i386/xm-linux.h (solib.h): Include
1019 (SVR4_SHARED_LIBS): Define.
1020 * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined.
1021 (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined.
1022 (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T
1023 defined.
1024
1025 Fri Jan 26 13:48:14 1996 Stan Shebs <shebs@andros.cygnus.com>
1026
1027 * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
1028 * config/i386/xm-sun386.h: Ditto.
1029 * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto.
1030
1031 Thu Jan 25 16:05:53 1996 Tom Tromey <tromey@creche.cygnus.com>
1032
1033 * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@.
1034
1035 Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com>
1036
1037 From Greg McGary <gkm@gnu.ai.mit.edu>:
1038 * dcache.c (dcache_peek, dcache_poke): Advance addr for
1039 multi-byte I/O.
1040
1041 Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com)
1042
1043 * infrun.c (normal_stop): Fix test for shared library event.
1044
1045 Thu Jan 25 03:26:38 1996 Doug Evans <dje@charmed.cygnus.com>
1046
1047 * configure.in (sparc64-*-*): Add default host configuration.
1048 start-sanitize-gdbtk
1049 (sparc64-*-solaris2* host): Link statically if GCC used.
1050 end-sanitize-gdbtk
1051 (sparc64-*-solaris2*): Add target configuration.
1052 * configure: Regenerated.
1053 * sparc/sp64sol2.mt: New file.
1054
1055 Wed Jan 24 22:31:37 1996 Doug Evans <dje@charmed.cygnus.com>
1056
1057 * Makefile.in (RUNTEST): srcdir renamed to rootsrc.
1058
1059 Wed Jan 24 15:42:24 1996 Tom Tromey <tromey@creche.cygnus.com>
1060
1061 * Makefile.in (lint): Close backquotes.
1062
1063 start-sanitize-gdbtk
1064 Wed Jan 24 15:28:41 1996 Tom Tromey <tromey@creche.cygnus.com>
1065
1066 * gdbtk.tcl, gdbtk.c: Updated copyrights.
1067
1068 * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or
1069 greater.
1070 * configure: Rebuilt.
1071
1072 end-sanitize-gdbtk
1073 Wed Jan 24 13:19:10 1996 Fred Fish <fnf@cygnus.com>
1074
1075 * NEWS: Make note of new record and replay feature for
1076 remote debug sessions.
1077 * serial.c (gdbcmd.h): Include.
1078 (serial_logfile, serial_logfp, serial_reading, serial_writing):
1079 Define here, for remote debug session logging.
1080 (serial_log_command, serial_logchar, serial_write, serial_readchar):
1081 New functions for remote debug session logging.
1082 (serial_open): Open remote debug session log file when needed.
1083 (serial_close): Close remote debug session log file when needed.
1084 (_initialize_serial): Add set/show commands for name of remote
1085 debug session log file.
1086 * serial.h (serial_readchar): Declare
1087 (SERIAL_READCHAR): Call serial_readchar().
1088 (SERIAL_WRITE): Call serial_write().
1089 (serial_close): Declare as extern.
1090 (serial_logfile, serial_logfp): Declare.
1091 * top.c (execute_command): Declare serial_logfp. Log user command
1092 in remote debug session log if log file is open.
1093 * remote-array.c (array_wait): #ifdef out echo to gdb_stdout.
1094 (array_read_inferior_memory): Rewrite to fix memory overwrite bug.
1095 * remote-array.c (SREC_SIZE): Remove, duplicates define in
1096 monitor.h.
1097 * remote-array.c (hexchars, hex2mem): Remove, unused.
1098 * gdbserver/low-linux.c (store_inferior_registers): Remove
1099 unnecessary extern declaration of registers[].
1100 * gdbserver/Makefile.in (all): Add gdbreplay.
1101 * gdbserver/gdbreplay.c: New file.
1102 * gdbserver/README: Give example of recording a remote
1103 debug session with gdb and then replaying it with gdbreplay.
1104
1105 Tue Jan 23 18:02:35 1996 Per Bothner <bothner@kalessin.cygnus.com>
1106
1107 * stabsread.c (rs6000_builtin_type): Make bool type unsigned.
1108 (read_one_struct_field): Support boolean bitfields.
1109 * c-valprint.c (c_val_print): Print booleans properly.
1110
1111 Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com>
1112
1113 * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
1114 Remove, never used.
1115 * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
1116
1117 Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com>
1118
1119 * ch-exp.c (parse_tuple): Error if invalid mode.
1120
1121 * value.h (COERCE_ARRAY): Don't coerce enums.
1122 (COERCE_ENUM): Don't COERCE_REF.
1123 (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM).
1124 * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let
1125 value_cast handle it otherwise); do *not* COERCE_ENUM either way.
1126 * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY.
1127 Add COERCE_REF before COERCE_ENUM.
1128 * values.c (value_as_long): Simplify.
1129
1130 * valops.c (value_array): Create internalvar if !c_style_arrays.
1131
1132 * language.c (lang_bool_type): Add Fortran support.
1133 * eval.c (OP_BOOL): Use LA_BOOL_TYPE.
1134
1135 Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
1136
1137 * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.
1138 All references changed.
1139 * breakpoint.c (bpstat_what): Add shlib_event to the class types.
1140 Update state table. Reformat so that it's still readable.
1141 When we hit the shlib_event breakpoint, set the calss of shlib_event.
1142 (breakpoint_1): Add "shlib events" as a breakpoint type.
1143 Print the shlib_event breakpoint like other breakpoints.
1144 (create_solib_event_breakpoint): New function.
1145 (breakpoint_re_set_one): Handle solib_event breakpoints.
1146 * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type.
1147 (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS
1148 action.
1149 (create_solib_event_breakpoint): Declare.
1150 * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat.
1151 (normal_stop): Inform the user when the inferior stoped due
1152 to a shared library event.
1153 (_initialize_infrun): Add new set/show variable "stop-on-solib-events"
1154 to control whether or not gdb continues the inferior or stops it when
1155 a shared library event occurs.
1156 * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function.
1157 * somsolib.c (TODO list): Update.
1158 (som_solib_create_inferior_hook): Arrange for gdb to be notified
1159 when significant shared library events occur.
1160 * hppa-tdep.c (find_unwind_entry): No longer static.
1161
1162 Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com>
1163
1164 * printcmd.c (print_insn): Pass fprintf_unfiltered to
1165 INIT_DISASSEMBLE_INFO.
1166 start-sanitize-gdbtk
1167 * gdbtk.c (gdb_disassemble): Likewise.
1168 end-sanitize-gdbtk
1169
1170 Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com>
1171
1172 * remote.c (remotebreak): New GDB variable.
1173 (remote_break): New global.
1174 (remote_interrupt): Send a break instead of ^C if remote_break.
1175 * NEWS: Describe the new variable.
1176
1177 Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com>
1178
1179 * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.
1180
1181 Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com>
1182
1183 * hp300ux-nat.c (getpagesize): Remove unused function
1184 fetch_core_registers.
1185 (hp300ux_core_fns): Remove, is unused.
1186 (_initialize_core_hp300ux): Remove, is unused.
1187 (gdbcore.h): Remove #include, no longer needed.
1188
1189 Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com)
1190
1191 * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
1192 ptrace bug in aix4.1.3 on the rs6000.
1193
1194 Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com>
1195
1196 * remote-hms.c (hms_ops): Add value for to_thread_alive.
1197 * remote-nindy.c (nindy_ops): Ditto.
1198 * remote-udi.c (udi_ops): Ditto.
1199
1200 Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk>
1201
1202 * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
1203 pmon_checkset, pmon_make_fastrec, pmon_check_ack,
1204 pmon_load_fast): New functions. Support for the PMON monitor world.
1205 (common_open): New function to merge support for different monitors.
1206 (mips_open): Use common_open().
1207 (mips_send_command): New function.
1208 (mips_send_packet): Scan out-of-sequence packets.
1209 (mips_enter_debug, mips_exit_debug): New functions.
1210 (pmon_ops): New target definition structure.
1211
1212 Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com)
1213
1214 * Makefile.in (CLIBS): Add LIBS to allow libraries to be
1215 specified on the make command line (via make LIBS=xxx).
1216 start-sanitize-gm
1217 * configure.in (enable-gm): magic.o -> gmagic.o.
1218 end-sanitize-gm
1219
1220 start-sanitize-gdbtk
1221 Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com>
1222
1223 * gdbtk.tcl (create_expr_window): Many changes to update GUI.
1224 (add_expr): Changes from create_expr_window.
1225 (create_command_window): Set focus.
1226 (delete_expr): Rewrote.
1227 (expr_update_button): New proc.
1228 (add_expr): Put bindings on FocusIn, FocusOut.
1229 Don't allow .file_popup to be torn off.
1230 end-sanitize-gdbtk
1231
1232 Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com)
1233
1234 * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
1235 is set but there are no psymtabs.
1236
1237 Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com>
1238
1239 * dsrec.c (load_srec): Remove unused variable.
1240 * monitor.c (monitor_expect): Don't expect a ^C to echo.
1241 * serial.c (serial_open): Add parallel interface.
1242 * sh3-rom.c (parallel, parallel_in_use): New.
1243 (sh3_load): If parallel_in_use, download though the
1244 parallel port.
1245 (sh3_open): Open parallel port if specified.
1246 (sh3_close): New function.
1247 (_inititalize_sh3): Add sh3_close hook and documentation.
1248 * monitor.c (monitor_close): Export.
1249 * monitor.h (monitor_close): Add prototype.
1250
1251 Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com>
1252
1253 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
1254 * remote.c (remotetimeout): New GDB variable, use to set the
1255 remote timeout for reading.
1256
1257 start-sanitize-gdbtk
1258 Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com>
1259
1260 * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
1261 (update_listing): Use lassign. Use "see" to scroll. Don't need
1262 screen_top, screen_bot, screen_height.
1263 (update_assembly): Use "see" to scroll.
1264 (textscrollproc): Removed.
1265 (create_file_win): Don't use textscrollproc.
1266 (asmscrollproc): Removed.
1267 (create_asm_window): Don't use asmscrollproc.
1268 (create_asm_win): Ditto.
1269 (screen_height, screen_top, screen_bot): Removed.
1270 (run_editor): New proc.
1271 (build_framework): Use it.
1272 (create_file_win, create_source_window): Don't use textscrollproc.
1273 (create_breakpoints_window): Set -xscrollcommand on canvas.
1274 (not_implemented_yet): Default button is 0.
1275 (delete_char): Don't use tk_textBackspace.
1276 (create_command_window): Allow Tk bindings to fire after deleting
1277 character.
1278 (create_command_window): Make Delete delete left, not right.
1279 end-sanitize-gdbtk
1280
1281 Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cirdan.cygnus.com>
1282
1283 * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
1284 to get "struct core_fns" defined.
1285 * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
1286 Are dependent upon gdbcore_h.
1287
1288 Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com>
1289
1290 * symfile.c (decrement_reading_symtab): New function.
1291 * symfile.c, symtab.h (currently_reading_symtab): New variable.
1292 * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab.
1293 * gdbtypes.c (check_typedef): Don't call lookup_symbol if
1294 currently_reading_symtab (since that could infinitely recurse).
1295
1296 Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com>
1297
1298 * stabsread.c (read_struct_type): Trivial simplification.
1299
1300 * stabsread.c (define-symbol): Use invisible references
1301 for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
1302 * valops.c (call_function_by_hand): Likewise.
1303 * eval.c (evaluate_subexp_standard): When known, use the formal
1304 parameter type as the expected type when evaluating arg expressions.
1305 * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT).
1306
1307 start-sanitize-gdbtk
1308 Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com>
1309
1310 * main.c (main): Disable window interface if --help or --version
1311 specified.
1312
1313 * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
1314
1315 Changes in sync with expect:
1316 * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
1317 CY_AC_PATH_TK.
1318 * aclocal.m4: Replaced with version from expect.
1319 * configure: Regenerated.
1320 end-sanitize-gdbtk
1321
1322 Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
1323
1324 * configure.in, configure: Recognize rs6000-*-aix4*.
1325 * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
1326 * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
1327 * config/rs6000/xm-aix4.h: New file.
1328 * config/xm-aix4.h: New file.
1329
1330 Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com>
1331
1332 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
1333 * gdbserver/low-linux.c: New file.
1334 * remote.c (remote_read_bytes): Fix aborts on larger packets.
1335
1336 * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
1337 Define.
1338 * stabsread.c (define_symbol): If register value is too large,
1339 tell what it is and what max is.
1340
1341 start-sanitize-gdbtk
1342 Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com>
1343
1344 * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
1345 gdbtk_tcl_flush): Use "see", not "yview".
1346 (gdbtk_tcl_query): Use questhead bitmap.
1347 various: Always wrap condition of 'if' in {...}.
1348 (add_breakpoint_frame): Set -value on radiobuttons.
1349 (lassign): New proc.
1350 (add_breakpoint_frame): Use lassign, not series of assignments.
1351 (decr): Made faster.
1352 (interactive_cmd): Use "see", not "yview".
1353 (not_implemented_yet): Use warning bitmap.
1354 (update_expr): Don't allow $expr to be evalled by Tcl.
1355 (create_expr_window): Don't use "focus".
1356 (delete_char, delete_line): Define globally.
1357 (delete_line, delete_char, create_command_window, update_autocmd,
1358 build_framework, create_asm_win, create_file_win): Use "see", not
1359 "yview".
1360 (create_copyright_window, center_window, bind_widget_after_class):
1361 New procs.
1362 (FSBox,create_command_window, create_autocmd_window): Binding
1363 changes for Tk4.
1364 (textscrollproc): Define globally.
1365 (build_framework): tk_menuBar no longer needed. Keys Prior, Next,
1366 Home, End, Up, and Down are all defined by Tk.
1367 (apply_filespec): Use error bitmap in dialog.
1368 (files_command): Don't use tk_listboxSingleSelect.
1369 (files_command): Don't use "uniq" to remove duplicates from a
1370 list.
1371 (update_assembly): Use lassign.
1372 (create_asm_win): Removed redundant bindings.
1373 (listing_window_button_1, file_popup_menu): Use tk_popup.
1374 (ButtonRelease-1 binding): Just remove tag from window; rest
1375 handled by Tk.
1376
1377 * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
1378 (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
1379 (gdbtk_call_command): Ditto.
1380 end-sanitize-gdbtk
1381
1382 Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com)
1383
1384 * hpread.c (hpread_build_psymtabs): Finish Jan 4th
1385 enum namespace -> enum_namespace change.
1386
1387 Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
1388
1389 * ch-exp.c (parse_primval): In case ARRAY, add missing
1390 FORWARD_TOKEN ().
1391
1392 Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com>
1393
1394 * remote-mips.c (mips_receive_header): Recognize \012 instead
1395 of \n, but write \n when program sends a \012.
1396 * ser-mac.c (mac_input_buffer): Increase size of buffer.
1397
1398 Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com)
1399
1400 * infptrace.c (initialize_infptrace): Move function out of
1401 #ifdef conditional; put code within the function inside an
1402 #ifdef conditional.
1403
1404 * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
1405 arguments. Sorting is now dependent on OBJF_REORDERED. All
1406 callers/references changed.
1407 * dbxread.c (read_ofile_symtab): Correctly determine value for
1408 last_source_start_addr for reordered executables.
1409 (process_one_symbol): Handle N_FUN with no name as an end of
1410 function marker.
1411 * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
1412 is the high text address for a psymtab.
1413 (case N_SO): Likewise.
1414 (case N_FUN): Handle N_FUN with no name as an end of function
1415 marker.
1416 * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
1417 at the same address rather than a random subset of them.
1418 * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
1419 * elfread.c (elf_symfile_init): Similarly.
1420 * somread.c (som_symfile_init): Similarly.
1421 * xcoffread.c (xcoff_symfile_init): Similarly.
1422
1423 Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com)
1424
1425 * stack.c (print_stack_frame print_frame_info) symmisc.c
1426 (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
1427 that catch_errors doesn't get blindsided by QUIT and lose the
1428 cleanup chain. This fixes a problem where ^C while in a
1429 user-defined command sometimes leaves instream NULL and causes a
1430 segfault in command_loop.
1431
1432 Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
1433
1434 * configure.in, configure: Add `-ldl -lw' for Solaris linking.
1435
1436 Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com>
1437
1438 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
1439 config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
1440 srec.o renamed to dsrec.o.
1441
1442 Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com)
1443
1444 * breakpoint.c (remove_breakpoint): Change error to warning so
1445 that hardware watchpoint removal problems won't leave breakpoint
1446 traps in the target.
1447 start-sanitize-gdbtk
1448 * configure configure.in: Make --enable-gdbtk be the default.
1449 end-sanitize-gdbtk
1450 * remote-e7000.c (e7000_insert_breakpoint,
1451 e7000_remove_breakpoint): Use e7000 based breakpoints, not memory
1452 breakpoints.
1453 * (e7000_wait): Adjust PC back by two when we see a breakpoint to
1454 compensate for e7000 maladjustment.
1455 * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug
1456 which prevented hardware watchpoints from working.
1457
1458 Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cirdan.cygnus.com>
1459
1460 * infptrace.c (udot_info): New function.
1461 (PT_*): Define each individually if that one is not defined.
1462 * rs6000-nat.c (kernel_u_size): New function
1463 Include <sys/user.h> for "struct user"
1464 * alpha-nat.c (kernel_u_size): New function.
1465 Include <sys/user.h> for "struct user"
1466 * sparc-nat.c (kernel_u_size): New function.
1467 Include <sys/user.h> for "struct user"
1468 * i386b-nat.c (kernel_u_size): New function.
1469 * i386v-nat.c (kernel_u_size): New function.
1470 * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
1471 (kernel_u_size): Declare.
1472 * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
1473 (kernel_u_size): Declare.
1474 * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
1475 (kernel_u_size): Declare.
1476 * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
1477 (kernel_u_size): Declare.
1478 * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
1479 (kernel_u_size): Declare.
1480
1481 Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com>
1482
1483 * mdebugread.c (mylookup_symbol): enum namespace becomes
1484 enum_namespace type.
1485 * symfile.c (add_psymbol_to_list)
1486 (add_psymbol_addr_to_list): Ditto.
1487 * symtab.c (lookup_partial_symbol): Ditto.
1488 (lookup_symbol): Ditto.
1489 (lookup_block_symbol): Ditto.
1490 * win32-nat.c (handle_load_dll): Use incoming dll base.
1491 (child_wait): Catch DLL load errors.
1492 (create_child_inferior): Translated between paths correctly.
1493
1494 Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com>
1495
1496 * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
1497 from NUM_REGS to get number of general registers that we care about.
1498 * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
1499 of number of general regs and number of floating point regs.
1500
1501 Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com>
1502
1503 * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
1504 (SKIP_TRAMPOLINE_CODE): New.
1505 * config/i386/xm-win32.h (CANT_FORK): Deleted.
1506 (SLASH*) Changed to use unix style slash.
1507 * symtab.h (namespace enum): becomes typedef to avoid namespace
1508 collision in C++.
1509 * infcmd.c (path_command): Use empty string if PATH name not set.
1510 * i386-tdep.c (skip_trampoline_code): New function.
1511 * srec.c: Renamed dsrec.c to avoid filename collision.
1512 * Makefile.in: Cope with renaming.
1513
1514 Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com>
1515
1516 * symmisc.c (print_objfile_statistics): Print memory use statistics
1517 for objfile psymbol, symbol, and type obstacks.
1518
1519 Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com>
1520
1521 * config/mips/nm-irix5.h: Restore.
1522 (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
1523 from Lee Iverson <leei@ai.sri.com>.
1524 * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
1525 * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
1526
1527 For older changes see ChangeLog-95
1528 \f
1529 Local Variables:
1530 mode: indented-text
1531 left-margin: 8
1532 fill-column: 74
1533 version-control: never
1534 End:
This page took 0.069068 seconds and 4 git commands to generate.