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