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