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