* top.c (print_gdb_version): Update copyright year.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
f935141e
SS
1Mon Mar 4 17:47:03 1996 Stan Shebs <shebs@andros.cygnus.com>
2
3 * top.c (print_gdb_version): Update copyright year.
4
11be829f
JL
5Mon Mar 4 14:44:54 1996 Jeffrey A Law (law@cygnus.com)
6
f935141e 7 From Peter Schauer:
11be829f
JL
8 * infrun.c (wait_for_inferior): Remove breakpoints and
9 switch terminal settings before calling SOLIB_ADD.
10 * solib.c (enable_break, SVR4 variant): Don't map in symbols
11 for the dynamic linker, the namespace pollution causes real
12 problems.
13
4f005fea
JSC
14Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk>
15
16 * remote-mips.c (common_breakpoint): Explicitly terminate the
17 returned buffer.
18
cf3c0938
SS
19Wed Feb 28 22:32:18 1996 Stan Shebs <shebs@andros.cygnus.com>
20
21 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
22 * remote.c (remote_detach): Send a command 'D' to the target
23 when detaching, update the function's comments.
24
8fe2b2c5
FF
25Wed Feb 28 15:50:12 1996 Fred Fish <fnf@cygnus.com>
26
27 * Makefile.in (VERSION): Bump version to 4.15.2 to establish
28 baseline for gdb 4.16 rerelease testing.
29
a4f39c06
JL
30Wed Feb 28 13:32:05 1996 Jeffrey A Law (law@cygnus.com)
31
32 * somsolib.c (som_solib_create_inferior_hook): Before returning
33 call clear_symtab_users.
34
35Tue Feb 27 00:04:46 1996 Stu Grossman (grossman@critters.cygnus.com)
36
37 * remote-e7000.c (e7000_open): Delete all breakpoints when
38 connecting to e7000. Change connect message to allow use of
39 monitor.exp in test suite.
40 * (e7000_load): Print transfer rate of download.
41 * symfile.c (generic_load): Print transfer rate of download.
42
8fa6fcf8
SS
43Sun Feb 25 13:58:33 1996 Stan Shebs <shebs@andros.cygnus.com>
44
45 * configure.in (mips*-*-vxworks*): New config.
46 * configure: Regenerated.
47
48 * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files.
49 * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual):
50 Remove, never used.
51
a97a483c
PS
52Sat Feb 24 12:30:28 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
53
54 * partial-stab.h (case N_FUN): Function symbols generated
55 by SPARCworks cc have a meaningless zero value, do not update
56 pst->textlow if the function symbol value is zero.
57
58 * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field
59 for function prototype declaration symbols.
60
b5eccf74
SG
61Fri Feb 23 22:33:04 1996 Stu Grossman (grossman@critters.cygnus.com)
62
63 * remote-e7000.c (e7000_load): New routine to download via the
64 network.
65 * (e7000_wait): Don't backup PC when we hit a breakpoint.
66 Apparantly new sh2 pods get this right...
67 * (e7000_ops): Add call to e7000_load.
68
b7f3b6d5
C
69Thu Feb 22 00:52:42 1996 J.T. Conklin <jtc@rtl.cygnus.com>
70
71 * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},
72 m68knbsd-nat.c: New files, support for NetBSD/m68k.
73
74 * configure.in (m68k-*-netbsd*): New config.
75 * configure: Regenerated.
76
6a6a552a
FF
77Wed Feb 21 19:00:21 1996 Fred Fish <fnf@ninemoons.com>
78
79 * standalone.c (open, _initialize_standalone): Fix obvious typos
80 reported by Martin Pool <martin@citr.uq.oz.au>.
81
13f6c7ea
JL
82Wed Feb 21 14:24:04 1996 Jeffrey A Law (law@cygnus.com)
83
84 * solib.c (solib_create_inferior_hook): Fix thinko.
85
464c6c5f
JL
86Tue Feb 20 23:59:19 1996 Jeffrey A Law (law@cygnus.com)
87
88 * solib.c (solib_break_names): Define for Solaris and Linux.
89 (enable_break): For SVR4 systems, first try to use the debugger
90 interfaces in the dynamic linker to track shared library events
91 as they happen, then fall back to BKPT_AT_SYMBOL code. Convert
92 BKPT_AT_SYMBOL code to use shared library event breakpoints.
93 (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code,
94 it no longer needs to restart/wait on the inferior.
95 * symfile.c (find_lowest_section): No longer static.
96 * symfile.h (find_lowest_section): Corresponding changes.
97
45c5fa78
FF
98Tue Feb 20 18:54:08 1996 Fred Fish <fnf@rtl.cygnus.com>
99
100 * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value.
101 (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE.
102 * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.
103 * config/mips/tm-mips.h: Ditto.
104 * config/pa/tm-hppa.h: Ditto.
105 * config/rs6000/tm-rs6000.h: Ditto.
106 * config/sparc/tm-sparc.h: Ditto.
107
48d27324
C
108Tue Feb 20 17:32:05 1996 J.T. Conklin <jtc@rtl.cygnus.com>
109
eb224848
C
110 * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o.
111
48d27324
C
112 * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined.
113 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
114 #ifdef'd out definitions --- Causes serious gdb failures on
115 the i386. Need to investigate further before enabling.
116
117 * i386b-nat.c (fetch_inferior_registers, store_inferior_registers,
118 fetch_core_registers): New functions. These functions are defined
119 if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored
120 with ptrace PT_GETREGS/PT_SETREGS.
121
95f6f926
SG
122Tue Feb 20 16:55:06 1996 Stu Grossman (grossman@critters.cygnus.com)
123
124 * findvar.c (extract_floating store_floating): Replace `long
125 double' with `DOUBLEST'.
126
cb91ea56
C
127Mon Feb 19 15:25:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
128
129 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
130 Define.
131
9263da6f
JL
132Mon Feb 19 10:32:05 1996 Jeffrey A Law (law@cygnus.com)
133
134 * symtab.h (looup_minimal_symbol_solib_trampoline): Declare.
135
136 * breakpoint.h (remove_solib_event_breakpoints): Declare.
137 * breakpoint.c (remove_solib_event_breakpoints): New function.
138 * somsolib.c (solib_create_inferior_hook): Remove all solib event
139 breakpoints before inserting any new ones. Use a solib event
140 breakpoint for the breakpoint at "_start".
141 Remove extraneous "\n" from calls to warning.
142
143 * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes
144 name array.
145
0708e99f
FF
146Mon Feb 19 01:09:32 1996 Doug Evans <dje@cygnus.com>
147
148 * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST
149 for CORE_ADDR values.
150 (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values.
151 * symfile.h (add_psymbol_{,addr}to_list): Add prototypes.
152
08dc1eeb
PS
153Sun Feb 18 14:37:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
154
155 * mipsread.c (mipscoff_symfile_read): Unconditionally add
156 alpha coff dynamic symbols for all symbol files. Makes skipping
157 over the trampoline code work when stepping from a function in a
158 shared library into a function in a different shared library.
159
1d6afd7f
SG
160Sun Feb 18 09:27:10 1996 Stu Grossman (grossman@cygnus.com)
161
162 * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. Define
163 RETURN_VALUE_ON_STACK to return long doubles on the stack.
164
0708e99f 165Sat Feb 17 16:33:11 1996 Fred Fish <fnf@cygnus.com>
176b2bee
FF
166
167 * Makefile.in (ch-exp.o): Add dependencies.
168 (various): Add gdb_string.h to dependencies that need it.
169
dcb6a7c0
FF
170Sat Feb 17 08:57:50 1996 Fred Fish <fnf@cygnus.com>
171
172 * symmisc.c (print_symbol_bcache_statistics): Update description for
173 printing byte cache statistics.
174
aa220473
SG
175Thu Feb 16 16:02:03 1996 Stu Grossman (grossman@cygnus.com)
176
177 * Add native support for long double data type.
178 * c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST
179 to store actual data. Change types of INT and FLOAT tokens to
180 typed_val_int and typed_val_float respectively. Create new token
181 DOUBLE_KEYWORD to specify the string `double'. Make production
182 for FLOAT use type determined by parse_number. Add production for
183 "long double" data type.
184 * (parse_number): Use sscanf to parse numbers as float, double or
185 long double depending upon the type of typed_val_float.dval. Also
186 allow user to specify `f' or `l' suffix to explicitly specify
187 float or long double constants. Change typed_val to
188 typed_val_int.
189 * (yylex): Change typed_val to typed_val_int. Also, scan for
190 "double" keyword.
191 * coffread.c (decode_base_type): Add support for T_LNGDBL basic
192 type.
193 * configure, configure.in: Add check for long double support in
194 the host compiler.
195 * defs.h: Define DOUBLEST appropriatly depending on whether
196 HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes
197 for functions that handle this type.
198 * expression.h (union exp_element): doubleconst is now type
199 DOUBLEST.
200 * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST.
201 * findvar.c (extract_floating): Make return value be DOUBLEST.
202 Also, add support for numbers with size of long double.
203 * (store_floating): Arg `val' is now type DOUBLEST. Handle all
204 floating types.
205 * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now
206 DOUBLEST.
207 * valarith.c (value_binop): Change temp variables v1, v2 and v to
208 type DOUBLEST. Coerce type of result to long double if either op
209 was of that type.
210 * valops.c (value_arg_coerce): If argument type is bigger than
211 double, coerce to long double.
212 * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and
213 arg type is float and > 8 bytes, then use pointer-to-object
214 calling conventions.
215 * valprint.c (print_floating): Arg doub is now type DOUBLEST.
216 Use appropriate format and precision to print out floating point
217 values.
218 * value.h: Fixup prototypes for value_as_double,
219 value_from_double, and unpack_double to use DOUBLEST.
220 * values.c (record_latest_value): Remove check for invalid
221 floats. Allow history to store them so that people may examine
222 them in hex if they want.
223 * (value_as_double unpack_double): Change return value to DOUBLEST.
224 * (value_from_double): Arg `num' is now DOUBLEST.
225 * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target
226 specific) to expect certain types to always be returned on the stack.
227
2ad5709f
FF
228Fri Feb 16 14:00:54 1996 Fred Fish <fnf@cygnus.com>
229
230 * bcache.c, bcache.h: New files to implement a byte cache.
231 * Makefile.in (SFILES): Add bcache.c.
232 (symtab_h): Add bcache.h.
233 (HFILES_NO_SRCDIR): add bcache.h
234 (COMMON_OBJS): Add bcache.o
235 (bcache.o): New target.
236 * dbxread.c (start_psymtab): Make global_syms & static_syms
237 type "partial_symbol **".
238 * hpread.c (hpread_start_symtab): Ditto.
239 * os9kread.c (os9k_start_psymtab): Ditto.
240 * stabsread.h (start_psymtab): Ditto.
241 * {symfile.c, symfile.h} (start_psymtab_common): Ditto.
242 * maint.c (maintenance_print_statistics): Call
243 print_symbol_bcache_statistics.
244 * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc
245 and free pointers.
246 * solib.c (allocate_rt_common_objfile): Ditto.
247 * symfile.c (reread_symbols): Ditto.
248 (free_objfile): Free psymbol bcache when objfile is freed.
249 (objfile_relocate): Use new indirect psymbol pointers.
250 * objfiles.h (struct objfile): Add psymbol cache.
251 * symfile.c (compare_psymbols): Now passed pointers to pointers to
252 psymbols.
253 (reread_symbols): Free psymbol bcache when freeing other objfile
254 resources.
255 (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new
256 psymbol using the psymbol bcache.
257 (init_psymbol_list): Psymbol lists now contain pointers rather than
258 the actual psymbols.
259 * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically
260 grown arrays of pointers.
261 (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol
262 bcache.
263 * symmisc.c (print_partial_symbols): Now takes pointer to pointer
264 to partial symbol.
265 (print_symbol_bcache_statistics): New function to print per objfile
266 bcache statistics.
267 (print_partial_symbol, print_partial_symbols,
268 maintenance_check_symtabs, extend_psymbol_list):
269 Account for change to pointer to pointer to partial symbol.
270 * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2,
271 make_symbol_completion_list):
272 Account for change to pointer to pointer to partial symbol.
273 * symtab.h (bcache.h): Include.
274 * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms
275 type "partial_symbol **".
276
4a1d2ce2
FF
277Fri Feb 16 10:02:34 1996 Fred Fish <fnf@cygnus.com>
278
279 * dwarfread.c (free_utypes): New function.
280 (read_file_scope): Call free_utypes as cleanup, rather than just
281 freeing the utypes pointer.
282
81afee37
FF
283Thu Feb 15 21:40:52 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
284
285 * demangle.c (is_cplus_marker): New function, checks if a
286 character is one of the commonly used C++ marker characters.
287 * defs.h (is_cplus_marker): Add prototype.
288 * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle),
289 cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol),
290 stabsread.c (define_symbol, read_member_functions, read_struct_fields),
291 symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P),
292 values.c (vb_match): Use is_cplus_marker instead of comparison
293 with CPLUS_MARKER.
294
14b22711
FF
295Thu Feb 15 18:08:13 1996 Fred Fish <fnf@cygnus.com>
296
297 * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly
298 delete entirely someday.
299
884fb64c
SS
300Thu Feb 15 15:25:34 1996 Stan Shebs <shebs@andros.cygnus.com>
301
302 * mpw-make.sed: Edit out makefile rebuild rule.
303 (host_alias, target_alias): Comment out instead of deleting.
304 (@LIBS@): Edit out references.
305
f1d39876
FF
306Tue Feb 13 22:56:46 1996 Fred Fish <fnf@cygnus.com>
307
308 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
309 Use n_psyms in OBJSTAT, not psyms.
310
311Mon Feb 12 15:59:31 1996 Doug Evans <dje@charmed.cygnus.com>
312
313 * configure.in (sparclet-*-aout*): New config.
314 * configure: Regenerated.
315
c37c7c6c
FF
316Mon Feb 12 14:17:52 1996 Fred Fish <fnf@cygnus.com>
317
318 * somsolib.c (som_solib_add): Use xmalloc rather than bare
319 unchecked call to malloc.
320 * remote-mips.c (pmon_load_fast): ditto.
321 * remote-mm.c (mm_open): ditto.
322 * hpread.c (hpread_lookup_type): ditto.
323 * remote-adapt.c (adapt_open): ditto.
324
6405302d
FF
325Mon Feb 12 13:11:32 1996 Fred Fish <fnf@cygnus.com>
326
327 * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
328 allocate_saved_f77_common_node, allocate_common_entry_node,
329 add_common_block): Use xmalloc rather than malloc, some of which
330 were unchecked.
331 * gnu-regex.c: At same point as other gdb specific changes
332 #undef malloc and then #define it to xmalloc.
333 * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than
334 bare unchecked calls to malloc/realloc.
335 * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare
336 unchecked call to malloc.
337
ff7116e2
SG
338Wed Feb 7 11:31:26 1996 Stu Grossman (grossman@cygnus.com)
339
340 * symtab.c (gdb_mangle_name): Change opname var to be const to
341 match return val of cplus_mangle_name.
342 * i960-tdep.c: Change arg types of next_insn to match callers.
343
b0ee0cf2
FF
344Wed Feb 7 07:34:24 1996 Fred Fish <fnf@cygnus.com>
345
346 * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These
347 apparently aren't needed in any reasonably recent version of
348 linux.
349
ec49fc98
PB
350Tue Feb 6 21:37:03 1996 Per Bothner <bothner@kalessin.cygnus.com>
351
352 * stabsread.c (read_range_type): If !self-subrange and language
353 is Chill, assume a true range. If a true_range is a sub_subrange,
354 use builtin_type_int for index_type.
355
356Tue Feb 6 18:38:51 1996 J.T. Conklin <jtc@slave.cygnus.com>
357
358 * nindy-share/nindy.c (say): Use stdarg.h macros when compiling
359 with an ANSI compiler.
360
f0b0d915
TT
361start-sanitize-gdbtk
362Tue Feb 6 16:31:25 1996 Tom Tromey <tromey@creche.cygnus.com>
363
364 * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
365 double-clicking will work again.
366 (create_asm_win): Put "break" at end of all B1 bindings.
367 (create_file_win): Lower "sel" tag, don't raise it.
368 (ensure_line_visible): New proc.
369 (update_listing, update_assembly): Use it.
370 (create_copyright_window): Destroy window on Leave event.
371 (create_command_window): Put "break" at end of all B2 bindings.
372
373end-sanitize-gdbtk
263af172
SC
374Mon Feb 5 18:24:28 1996 Steve Chamberlain <sac@slash.cygnus.com>
375
376 From Michael_Snyder@NeXT.COM (Michael Snyder):
377 * valops.c (value_arg_coerce): Coerce float to double, unless the
378 function prototype specifies float.
379
fc71ad23 380Mon Feb 5 09:51:55 1996 Tom Tromey <tromey@creche.cygnus.com>
8bdae156 381
fc71ad23
TT
382 * language.c (set_language_command): Use languages table when
383 printing available languages.
384
385Sat Feb 3 12:22:05 1996 Fred Fish <fnf@cygnus.com>
386
387 Fix problems reported by Hans Verkuil (hans@wyst.hobby.nl):
388 * command.c (add_cmd): Add missing initialization for enums member.
389 Reorder members to match structure declaration to make it easier to
390 tell when one is missing.
391 * exec.c (exec_file_command): Fix problem where filename in malloc'd
392 memory is referenced after being freed.
8bdae156 393
255181a9
PS
394Sat Feb 3 03:26:21 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
395
396 * dwarfread.c (read_func_scope): Avoid GDB core dumps if
397 AT_name tag is missing.
398
399 * procfs.c (procfs_stopped_by_watchpoint): Fix logic when
400 FLTWATCH and FLTKWATCH are defined.
401
402 * remote.c (remote_read_bytes): Advance memaddr for transfers,
403 return number of bytes transferred for partial reads.
404
405 * top.c (init_signals): Reset SIGTRAP to SIG_DFL.
406
454ffae5
SC
407Fri Feb 2 13:40:50 1996 Steve Chamberlain <sac@slash.cygnus.com>
408
409 * win32-nat.c (mappings): Add ppc registers.
9a763320 410 (child_resume): Turn off step for ppc.
454ffae5 411
3d78f532
SC
412Thu Feb 1 10:29:31 1996 Steve Chamberlain <sac@slash.cygnus.com>
413
414 * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
415 xm-cygwin32.h): New.
416 * config/i386/(*win32*): Becomes *cygwin32*.
417 * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32.
418 (powerpcle-*-cygwin32): New.
419 * configure: Regenerate.
420 * win32-nat.c (child_create_inferior): Call CreateProcess
421 with the right program arg.
422
4ad70253
JL
423Thu Feb 1 11:01:10 1996 Jeffrey A Law (law@cygnus.com)
424
425 * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.
426
0db5a6fe
FF
427Wed Jan 31 19:01:28 1996 Fred Fish <fnf@cygnus.com>
428
429 * serial.c: Change fputc/fputs/fprintf to _unfiltered forms.
430
28bc5ef7
SS
431Wed Jan 31 18:36:27 1996 Stan Shebs <shebs@andros.cygnus.com>
432
97abaf19
SS
433 * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
434
28bc5ef7
SS
435 * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
436
97abaf19
SS
437 * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to
438 here from config/i386/xm-i386mach.h, fix name.
439 * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h.
440 * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to
441 here from config/i386/xm-ptx4.h.
442 * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h.
443 * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h.
444 * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h.
445 * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h.
446 * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h.
447
28bc5ef7
SS
448 * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
449 (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
450 * config/sparc/sun4sol2.mh (NAT_FILE): Update.
28bc5ef7 451
17280c3f
JL
452Wed Jan 31 17:20:26 1996 Jeffrey A Law (law@cygnus.com)
453
454 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software
455 floating point correctly.
456 (STORE_RETURN_VALUE): Likewise.
457 * config/pa/tm-pro.h (SOFT_FLOAT): define.
458
44e9f3b3
FF
459Wed Jan 31 13:34:52 1996 Fred Fish <fnf@cygnus.com>
460
461 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
462 Define to what should be reasonable values. However, apparently
463 a bug in linux mmap prevents mapped symbol tables from working.
464
ad1e42be
FF
465Tue Jan 30 18:26:19 1996 Fred Fish <fnf@cygnus.com>
466
467 * defs.h (errno.h>: Move #include closer to head of file to solve
468 obscure problem with systems that declare perror with const arg, in
469 both errno.h and stdio.h, and const is defined away by intervening
470 local include.
471
d3ba76fc
FF
472Tue Jan 30 15:41:10 1996 Fred Fish <fnf@cygnus.com>
473
474 From Jon Reeves <reeves@zk3.dec.com>:
475 * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr.
476 (mem_fault_routine): Fix misplaced volatile type qualifier in decl.
477
f6ade5dd
FF
478Mon Jan 29 19:05:58 1996 Fred Fish <fnf@cygnus.com>
479
480 * Makefile.in (diststuff): Make all-doc; diststuff target does not
481 exist in doc/Makefile.in.
482
cdea3fd3
SS
483Mon Jan 29 18:44:57 1996 Stan Shebs <shebs@andros.cygnus.com>
484
485 * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.
486
d221b17e
WM
487Mon Jan 29 00:10:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
488
cdea3fd3
SS
489 * ch-valprint.c (calculate_array_length): New function to
490 determine the length of an array type.
d221b17e
WM
491 (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
492 array type is zero, call calculate_array_length.
493
cdea3fd3
SS
494 * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The
495 values may not be sorted. Scan all entries and set the real lower
496 and upper bound.
d221b17e 497
fa9f5840
FF
498Sun Jan 28 15:50:42 1996 Fred Fish <fnf@cygnus.com>
499
500 * config/xm-linux.h: Move include of solib.h and #define of
501 SVR4_SHARED_LIBS from here ...
502 * config/nm-linux.h: ...to here.
503
4708ac65
FF
504Sat Jan 27 10:34:05 1996 Fred Fish <fnf@cygnus.com>
505
506 * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
507 Also check for gregset_t and fpregset_t types.
508 * configure: Regenerate.
509 * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H
510 is defined.
511 (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T
512 and HAVE_FPREGSET_T are defined. These changes allow systems
513 like linux that are migrating to /proc support to use a single
514 configuration for both new and old versions.
515
516 * config/i386/linux.mt: Note that this is now for both a.out and
517 ELF systems.
518 * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o,
519 i386v4-nat.o
520 * config/i386/tm-linux.h (tm-sysv4.h): Include.
521 * config/i386/xm-linux.h (solib.h): Include
522 (SVR4_SHARED_LIBS): Define.
523 * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined.
524 (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined.
cdea3fd3
SS
525 (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T
526 defined.
4708ac65 527
a77bf669
SS
528Fri Jan 26 13:48:14 1996 Stan Shebs <shebs@andros.cygnus.com>
529
530 * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
531 * config/i386/xm-sun386.h: Ditto.
532 * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto.
533
534Thu Jan 25 16:05:53 1996 Tom Tromey <tromey@creche.cygnus.com>
535
536 * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@.
537
a4b4479a
SC
538Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com>
539
540 From Greg McGary <gkm@gnu.ai.mit.edu>:
541 * dcache.c (dcache_peek, dcache_poke): Advance addr for
542 multi-byte I/O.
543
4133a76e
JL
544Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com)
545
546 * infrun.c (normal_stop): Fix test for shared library event.
547
146ee7db
DE
548Thu Jan 25 03:26:38 1996 Doug Evans <dje@charmed.cygnus.com>
549
550 * configure.in (sparc64-*-*): Add default host configuration.
551start-sanitize-gdbtk
552 (sparc64-*-solaris2* host): Link statically if GCC used.
553end-sanitize-gdbtk
554 (sparc64-*-solaris2*): Add target configuration.
b23b4cb5 555 * configure: Regenerated.
146ee7db
DE
556 * sparc/sp64sol2.mt: New file.
557
76336191
DE
558Wed Jan 24 22:31:37 1996 Doug Evans <dje@charmed.cygnus.com>
559
560 * Makefile.in (RUNTEST): srcdir renamed to rootsrc.
561
1a57cd09
TT
562Wed Jan 24 15:42:24 1996 Tom Tromey <tromey@creche.cygnus.com>
563
564 * Makefile.in (lint): Close backquotes.
565
566start-sanitize-gdbtk
567Wed Jan 24 15:28:41 1996 Tom Tromey <tromey@creche.cygnus.com>
568
569 * gdbtk.tcl, gdbtk.c: Updated copyrights.
570
571 * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or
572 greater.
573 * configure: Rebuilt.
574
575end-sanitize-gdbtk
e8f1ad9a
FF
576Wed Jan 24 13:19:10 1996 Fred Fish <fnf@cygnus.com>
577
578 * NEWS: Make note of new record and replay feature for
579 remote debug sessions.
580 * serial.c (gdbcmd.h): Include.
581 (serial_logfile, serial_logfp, serial_reading, serial_writing):
582 Define here, for remote debug session logging.
583 (serial_log_command, serial_logchar, serial_write, serial_readchar):
584 New functions for remote debug session logging.
585 (serial_open): Open remote debug session log file when needed.
586 (serial_close): Close remote debug session log file when needed.
587 (_initialize_serial): Add set/show commands for name of remote
588 debug session log file.
589 * serial.h (serial_readchar): Declare
590 (SERIAL_READCHAR): Call serial_readchar().
591 (SERIAL_WRITE): Call serial_write().
592 (serial_close): Declare as extern.
593 (serial_logfile, serial_logfp): Declare.
594 * top.c (execute_command): Declare serial_logfp. Log user command
595 in remote debug session log if log file is open.
596 * remote-array.c (array_wait): #ifdef out echo to gdb_stdout.
597 (array_read_inferior_memory): Rewrite to fix memory overwrite bug.
598 * remote-array.c (SREC_SIZE): Remove, duplicates define in
599 monitor.h.
600 * remote-array.c (hexchars, hex2mem): Remove, unused.
601 * gdbserver/low-linux.c (store_inferior_registers): Remove
602 unnecessary extern declaration of registers[].
603 * gdbserver/Makefile.in (all): Add gdbreplay.
604 * gdbserver/gdbreplay.c: New file.
605 * gdbserver/README: Give example of recording a remote
606 debug session with gdb and then replaying it with gdbreplay.
607
c6038971
PB
608Tue Jan 23 18:02:35 1996 Per Bothner <bothner@kalessin.cygnus.com>
609
610 * stabsread.c (rs6000_builtin_type): Make bool type unsigned.
611 (read_one_struct_field): Support boolean bitfields.
612 * c-valprint.c (c_val_print): Print booleans properly.
613
5a8d8b8d
SS
614Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com>
615
616 * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
617 Remove, never used.
618 * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
619
ec5f347c
PB
620Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com>
621
9293e886
PB
622 * ch-exp.c (parse_tuple): Error if invalid mode.
623
533bda77
PB
624 * value.h (COERCE_ARRAY): Don't coerce enums.
625 (COERCE_ENUM): Don't COERCE_REF.
626 (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM).
627 * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let
628 value_cast handle it otherwise); do *not* COERCE_ENUM either way.
629 * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY.
630 Add COERCE_REF before COERCE_ENUM.
631 * values.c (value_as_long): Simplify.
632
633 * valops.c (value_array): Create internalvar if !c_style_arrays.
634
ec5f347c
PB
635 * language.c (lang_bool_type): Add Fortran support.
636 * eval.c (OP_BOOL): Use LA_BOOL_TYPE.
637
87273c71
JL
638Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
639
640 * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.
641 All references changed.
642 * breakpoint.c (bpstat_what): Add shlib_event to the class types.
643 Update state table. Reformat so that it's still readable.
644 When we hit the shlib_event breakpoint, set the calss of shlib_event.
645 (breakpoint_1): Add "shlib events" as a breakpoint type.
646 Print the shlib_event breakpoint like other breakpoints.
647 (create_solib_event_breakpoint): New function.
648 (breakpoint_re_set_one): Handle solib_event breakpoints.
649 * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type.
650 (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS
651 action.
652 (create_solib_event_breakpoint): Declare.
653 * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat.
654 (normal_stop): Inform the user when the inferior stoped due
655 to a shared library event.
a77bf669 656 (_initialize_infrun): Add new set/show variable "stop-on-solib-events"
87273c71
JL
657 to control whether or not gdb continues the inferior or stops it when
658 a shared library event occurs.
659 * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function.
660 * somsolib.c (TODO list): Update.
661 (som_solib_create_inferior_hook): Arrange for gdb to be notified
662 when significant shared library events occur.
663 * hppa-tdep.c (find_unwind_entry): No longer static.
664
fc941258
DE
665Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com>
666
5a8d8b8d
SS
667 * printcmd.c (print_insn): Pass fprintf_unfiltered to
668 INIT_DISASSEMBLE_INFO.
669start-sanitize-gdbtk
670 * gdbtk.c (gdb_disassemble): Likewise.
671end-sanitize-gdbtk
fc941258 672
b3fd4c06
SS
673Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com>
674
675 * remote.c (remotebreak): New GDB variable.
676 (remote_break): New global.
677 (remote_interrupt): Send a break instead of ^C if remote_break.
678 * NEWS: Describe the new variable.
679
d2f5fa49
DE
680Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com>
681
682 * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.
683
8c038399
FF
684Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com>
685
686 * hp300ux-nat.c (getpagesize): Remove unused function
687 fetch_core_registers.
688 (hp300ux_core_fns): Remove, is unused.
689 (_initialize_core_hp300ux): Remove, is unused.
690 (gdbcore.h): Remove #include, no longer needed.
691
a0d76829
JL
692Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com)
693
694 * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
695 ptrace bug in aix4.1.3 on the rs6000.
696
b6768627
SS
697Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com>
698
699 * remote-hms.c (hms_ops): Add value for to_thread_alive.
700 * remote-nindy.c (nindy_ops): Ditto.
701 * remote-udi.c (udi_ops): Ditto.
702
090d784a
JSC
703Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk>
704
705 * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
706 pmon_checkset, pmon_make_fastrec, pmon_check_ack,
707 pmon_load_fast): New functions. Support for the PMON monitor world.
708 (common_open): New function to merge support for different monitors.
709 (mips_open): Use common_open().
710 (mips_send_command): New function.
711 (mips_send_packet): Scan out-of-sequence packets.
712 (mips_enter_debug, mips_exit_debug): New functions.
713 (pmon_ops): New target definition structure.
714
4e327047
TT
715Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com)
716
717 * Makefile.in (CLIBS): Add LIBS to allow libraries to be
718 specified on the make command line (via make LIBS=xxx).
719start-sanitize-gm
720 * configure.in (enable-gm): magic.o -> gmagic.o.
721end-sanitize-gm
722
723start-sanitize-gdbtk
724Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com>
725
726 * gdbtk.tcl (create_expr_window): Many changes to update GUI.
727 (add_expr): Changes from create_expr_window.
728 (create_command_window): Set focus.
729 (delete_expr): Rewrote.
730 (expr_update_button): New proc.
731 (add_expr): Put bindings on FocusIn, FocusOut.
732 Don't allow .file_popup to be torn off.
733end-sanitize-gdbtk
734
1aac3d3c
JL
735Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com)
736
737 * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
738 is set but there are no psymtabs.
739
c84e5000
SC
740Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com>
741
742 * dsrec.c (load_srec): Remove unused variable.
743 monitor.c (monitor_expect): Don't expect a ^C to echo.
744 * serial.c (serial_open): Add parallel interface.
745 * sh3-rom.c (parallel, parallel_in_use): New.
746 (sh3_load): If parallel_in_use, download though the
747 parallel port.
748 (sh3_open): Open parallel port if specified.
749 (sh3_close): New function.
750 (_inititalize_sh3): Add sh3_close hook and documentation.
751 * monitor.c (monitor_close): Export.
752 * monitor.h (monitor_close): Add prototype.
753
2c441e7f
SS
754Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com>
755
756 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
757 * remote.c (remotetimeout): New GDB variable, use to set the
758 remote timeout for reading.
759
4e327047
TT
760start-sanitize-gdbtk
761Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com>
762
763 * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
764 (update_listing): Use lassign. Use "see" to scroll. Don't need
765 screen_top, screen_bot, screen_height.
766 (update_assembly): Use "see" to scroll.
767 (textscrollproc): Removed.
768 (create_file_win): Don't use textscrollproc.
769 (asmscrollproc): Removed.
770 (create_asm_window): Don't use asmscrollproc.
771 (create_asm_win): Ditto.
772 (screen_height, screen_top, screen_bot): Removed.
773 (run_editor): New proc.
774 (build_framework): Use it.
775 (create_file_win, create_source_window): Don't use textscrollproc.
776 (create_breakpoints_window): Set -xscrollcommand on canvas.
777 (not_implemented_yet): Default button is 0.
778 (delete_char): Don't use tk_textBackspace.
779 (create_command_window): Allow Tk bindings to fire after deleting
780 character.
781 (create_command_window): Make Delete delete left, not right.
782end-sanitize-gdbtk
783
3730a0ed
FF
784Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cirdan.cygnus.com>
785
786 * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
787 to get "struct core_fns" defined.
788 * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
2c441e7f 789 Are dependent upon gdbcore_h.
3730a0ed 790
7ef89313
PB
791Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com>
792
793 * symfile.c (decrement_reading_symtab): New function.
794 * symfile.c, symtab.h (currently_reading_symtab): New variable.
795 * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab.
796 * gdbtypes.c (check_typedef): Don't call lookup_symbol if
797 currently_reading_symtab (since that could infinitely recurse).
798
1c486a2b
PB
799Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com>
800
34cfa2da
PB
801 * stabsread.c (read_struct_type): Trivial simplification.
802
1c486a2b
PB
803 * stabsread.c (define-symbol): Use invisible references
804 for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
34cfa2da 805 * valops.c (call_function_by_hand): Likewise.
1c486a2b
PB
806 * eval.c (evaluate_subexp_standard): When known, use the formal
807 parameter type as the expected type when evaluating arg expressions.
808 * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT).
809
4e327047
TT
810start-sanitize-gdbtk
811Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com>
812
813 * main.c (main): Disable window interface if --help or --version
814 specified.
815
816 * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
817
818 Changes in sync with expect:
819 * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
820 CY_AC_PATH_TK.
821 * aclocal.m4: Replaced with version from expect.
822 * configure: Regenerated.
823end-sanitize-gdbtk
a1df8e78 824
a1956677
BK
825Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
826
827 * configure.in, configure: Recognize rs6000-*-aix4*.
828 * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
829 * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
830 * config/rs6000/xm-aix4.h: New file.
831 * config/xm-aix4.h: New file.
832
3730a0ed 833Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com>
0d14c7df
FF
834
835 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
836 * gdbserver/low-linux.c: New file.
837 * remote.c (remote_read_bytes): Fix aborts on larger packets.
838
839 * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
840 Define.
841 * stabsread.c (define_symbol): If register value is too large,
842 tell what it is and what max is.
843
4e327047
TT
844start-sanitize-gdbtk
845Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com>
846
847 * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
848 gdbtk_tcl_flush): Use "see", not "yview".
849 (gdbtk_tcl_query): Use questhead bitmap.
850 various: Always wrap condition of 'if' in {...}.
851 (add_breakpoint_frame): Set -value on radiobuttons.
852 (lassign): New proc.
853 (add_breakpoint_frame): Use lassign, not series of assignments.
854 (decr): Made faster.
855 (interactive_cmd): Use "see", not "yview".
856 (not_implemented_yet): Use warning bitmap.
857 (update_expr): Don't allow $expr to be evalled by Tcl.
858 (create_expr_window): Don't use "focus".
859 (delete_char, delete_line): Define globally.
860 (delete_line, delete_char, create_command_window, update_autocmd,
861 build_framework, create_asm_win, create_file_win): Use "see", not
862 "yview".
863 (create_copyright_window, center_window, bind_widget_after_class):
864 New procs.
865 (FSBox,create_command_window, create_autocmd_window): Binding
866 changes for Tk4.
867 (textscrollproc): Define globally.
868 (build_framework): tk_menuBar no longer needed. Keys Prior, Next,
869 Home, End, Up, and Down are all defined by Tk.
870 (apply_filespec): Use error bitmap in dialog.
871 (files_command): Don't use tk_listboxSingleSelect.
872 (files_command): Don't use "uniq" to remove duplicates from a
873 list.
874 (update_assembly): Use lassign.
875 (create_asm_win): Removed redundant bindings.
876 (listing_window_button_1, file_popup_menu): Use tk_popup.
877 (ButtonRelease-1 binding): Just remove tag from window; rest
878 handled by Tk.
879
880 * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
881 (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
882 (gdbtk_call_command): Ditto.
883end-sanitize-gdbtk
884
60d5a517
JL
885Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com)
886
887 * hpread.c (hpread_build_psymtabs): Finish Jan 4th
888 enum namespace -> enum_namespace change.
889
d1f5c804
WM
890Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
891
2c441e7f
SS
892 * ch-exp.c (parse_primval): In case ARRAY, add missing
893 FORWARD_TOKEN ().
d1f5c804 894
1f233758
SS
895Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com>
896
897 * remote-mips.c (mips_receive_header): Recognize \012 instead
898 of \n, but write \n when program sends a \012.
899 * ser-mac.c (mac_input_buffer): Increase size of buffer.
900
ed3b618d
JL
901Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com)
902
903 * infptrace.c (initialize_infptrace): Move function out of
904 #ifdef conditional; put code within the function inside an
905 #ifdef conditional.
436d4143
JL
906
907 * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
908 arguments. Sorting is now dependent on OBJF_REORDERED. All
909 callers/references changed.
910 * dbxread.c (read_ofile_symtab): Correctly determine value for
911 last_source_start_addr for reordered executables.
912 (process_one_symbol): Handle N_FUN with no name as an end of
913 function marker.
914 * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
915 is the high text address for a psymtab.
916 (case N_SO): Likewise.
917 (case N_FUN): Handle N_FUN with no name as an end of function
918 marker.
919 * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
920 at the same address rather than a random subset of them.
921 * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
922 * elfread.c (elf_symfile_init): Similarly.
923 * somread.c (som_symfile_init): Similarly.
924 * xcoffread.c (xcoff_symfile_init): Similarly.
925
5351b2a0
SG
926Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com)
927
928 * stack.c (print_stack_frame print_frame_info) symmisc.c
929 (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
930 that catch_errors doesn't get blindsided by QUIT and lose the
931 cleanup chain. This fixes a problem where ^C while in a
932 user-defined command sometimes leaves instream NULL and causes a
933 segfault in command_loop.
934
127841e4
BK
935Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
936
937 * configure.in, configure: Add `-ldl -lw' for Solaris linking.
938
6b4fe21d
SC
939Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com>
940
941 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
942 config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
943 srec.o renamed to dsrec.o.
944
0fe1522a
SG
945Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com)
946
947 * breakpoint.c (remove_breakpoint): Change error to warning so
948 that hardware watchpoint removal problems won't leave breakpoint
949 traps in the target.
d039321c 950start-sanitize-gdbtk
0fe1522a 951 * configure configure.in: Make --enable-gdbtk be the default.
d039321c 952end-sanitize-gdbtk
0fe1522a
SG
953 * remote-e7000.c (e7000_insert_breakpoint,
954 e7000_remove_breakpoint): Use e7000 based breakpoints, not memory
955 breakpoints.
956 * (e7000_wait): Adjust PC back by two when we see a breakpoint to
957 compensate for e7000 maladjustment.
958 * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug
959 which prevented hardware watchpoints from working.
960
7531f36e
FF
961Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cirdan.cygnus.com>
962
963 * infptrace.c (udot_info): New function.
964 (PT_*): Define each individually if that one is not defined.
7531f36e
FF
965 * rs6000-nat.c (kernel_u_size): New function
966 Include <sys/user.h> for "struct user"
7531f36e
FF
967 * alpha-nat.c (kernel_u_size): New function.
968 Include <sys/user.h> for "struct user"
7531f36e
FF
969 * sparc-nat.c (kernel_u_size): New function.
970 Include <sys/user.h> for "struct user"
7531f36e 971 * i386b-nat.c (kernel_u_size): New function.
7531f36e 972 * i386v-nat.c (kernel_u_size): New function.
7531f36e
FF
973 * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
974 (kernel_u_size): Declare.
7531f36e
FF
975 * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
976 (kernel_u_size): Declare.
7531f36e
FF
977 * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
978 (kernel_u_size): Declare.
7531f36e
FF
979 * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
980 (kernel_u_size): Declare.
7531f36e
FF
981 * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
982 (kernel_u_size): Declare.
7531f36e 983
1750a5ef
SC
984Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com>
985
986 * mdebugread.c (mylookup_symbol): enum namespace becomes
987 enum_namespace type.
988 * symfile.c (add_psymbol_to_list)
989 (add_psymbol_addr_to_list): Ditto.
990 * symtab.c (lookup_partial_symbol): Ditto.
991 (lookup_symbol): Ditto.
992 (lookup_block_symbol): Ditto.
993 * win32-nat.c (handle_load_dll): Use incoming dll base.
994 (child_wait): Catch DLL load errors.
995 (create_child_inferior): Translated between paths correctly.
996
e33aefba
FF
997Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com>
998
999 * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
1000 from NUM_REGS to get number of general registers that we care about.
e33aefba
FF
1001 * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
1002 of number of general regs and number of floating point regs.
e33aefba 1003
e02a2ad9
SC
1004Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com>
1005
a3b64bf9
SC
1006 * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
1007 (SKIP_TRAMPOLINE_CODE): New.
1008 * config/i386/xm-win32.h (CANT_FORK): Deleted.
1009 (SLASH*) Changed to use unix style slash.
e02a2ad9
SC
1010 * symtab.h (namespace enum): becomes typedef to avoid namespace
1011 collision in C++.
1012 * infcmd.c (path_command): Use empty string if PATH name not set.
1013 * i386-tdep.c (skip_trampoline_code): New function.
1014 * srec.c: Renamed dsrec.c to avoid filename collision.
1015 * Makefile.in: Cope with renaming.
e02a2ad9 1016
ef4d6187 1017Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com>
5eccb7dc 1018
ef4d6187
FF
1019 * symmisc.c (print_objfile_statistics): Print memory use statistics
1020 for objfile psymbol, symbol, and type obstacks.
5eccb7dc 1021
ef4d6187 1022Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com>
3dcd429f 1023
ef4d6187
FF
1024 * config/mips/nm-irix5.h: Restore.
1025 (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
1026 from Lee Iverson <leei@ai.sri.com>.
1027 * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
1028 * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
3dcd429f 1029
ef4d6187 1030For older changes see ChangeLog-95
bd5635a1
RP
1031\f
1032Local Variables:
1033mode: indented-text
1034left-margin: 8
1035fill-column: 74
1036version-control: never
1037End:
This page took 0.380215 seconds and 4 git commands to generate.