Handle case where sizeof long != sizeof int when examining a union.
[deliverable/binutils-gdb.git] / gdb / ChangeLog-95
CommitLineData
d1856a18
SS
1Fri Dec 29 16:30:58 1995 Stan Shebs <shebs@andros.cygnus.com>
2
3 * symfile.c (find_sym_fns): Add PowerMac to xcoff file recognition
4 kludge.
5
6start-sanitize-gdbtk
7Thu Dec 28 15:10:49 1995 Stan Shebs <shebs@andros.cygnus.com>
8
9 * README.GDBTK: Polish introductory paragraph.
10end-sanitize-gdbtk
11
12Fri Dec 22 11:05:59 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13
14 * configure.in (gdb_host): Add support for DG/UX running on x86 as
15 a host.
16 (all x86 targets and hosts): Add support for pentium-pro machines.
17
18 * configure: Rebuild.
19
20 * config/i386/i386dgux.mh: New file for DG/UX running on x86 host.
21
22Thu Dec 21 19:09:20 1995 Rob Savoye <rob@chinadoll.cygnus.com>
23
24 * remote-array.c (array_wait): Poll the keyboard along with the
25 serial port so users can tpye at the target while their
26 application is running.
27
28Thu Dec 21 11:58:52 1995 Michael Meissner <meissner@tiktok.cygnus.com>
29
30 * Makefile.in (ppcbug-rom.o, srec.o): Add dependencies.
31
32 * monitor.c (monitor_debug): Take prefix, and suffix arguments.
33 Print trailing newline after the suffix.
34 (monitor_printf{,_noecho}): Change monitor_debug calls.
35 (monitor_printf): Call monitor_expect instead of trying to do the
36 expect processing locally so that if there is extra junk, it
37 doesn't hang things up.
38 (readchar): If MO_HANDLE_NL is set, handle \r\n pairs and convert
39 them to a single \r. Use monitor_debug to print out byte read.
40
41 * monitor.h (MO_HANDLE_NL): Add new flag.
42
43 * ppcbug-rom.c (ppcbug_ops{1,2}): Split into two ops, one that
44 uses lo 0 to load, and the other that uses lo 1. Set flag
45 MO_HANDLE_NL.
46 (ppcbug_open{0,1}): Clone and split to handle ppcbug_ops{1,2}.
47 (_initialize_ppcbug_rom): Set up both ppcbug_open{0,1}.
48
49Wed Dec 20 10:54:41 1995 Fred Fish <fnf@cygnus.com>
50
51 * defs.h: Delete extraneous whitespace at end of file.
52 * symfile.h: Move #include of demangle.h outside conditional.
53 * objfiles.h (struct objstats, OBJSTAT, OBJSTATS): New struct and
54 macros to hold per-objfile statistics for internal
55 instrumentation.
56 (struct objfile): Add OBJSTATS member, which is optional.
57 * buildsym.h (next_symbol_text_func): Now takes objfile argument.
58 Also update copyright to 1995.
59 * dbxread.c (dbx_next_symbol_text): Now takes objfile argument.
60 (dbx_symfile_init, coffstab_build_psymtabs, elfstab_build_psymtabs,
61 stabsect_build_psymtabs): Accumulate string table size.
62 (dbx_next_symbol_text, read_dbx_symtab, read_ofile_symtab):
63 Accumulate number of stabs symbols read.
64 * dwarfread.c (new_symbol, symthesize_typedef):
65 Accumulate number of full symbols created.
66 * gdbtypes.c (alloc_type): Accumulate number of types.
67 * maint.c (maintenance_print_statistics): New function.
68 * mdebugread.c (mdebug_next_symbol_text): Now takes objfile
69 argument.
70 * minsyms.c (prim_record_minimal_symbol_and_info): Accumulate
71 number of minimal symbols read.
72 * os9kread.c (read_os9k_psymtab): next_symbol_text takes objfile
73 arg.
74 * partial-stab.h: next_symbol_text takes objfile arg.
75 * stabsread.c (error_type, STABS_CONTINUE): Now takes objfile arg
76 and uses it to call next_symbol_text.
77 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
78 Accumulate number of partial symbols created.
79 * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Accumulate number of partial
80 symbols created.
81 * symmisc.c (print_objfile_statistics): Print the per-objfile
82 internal instrumentation statistics gathered.
83 * xcoffread.c (xcoff_next_symbol_text): Now takes objfile argument.
84
85Fri Dec 15 16:15:55 1995 Ian Lance Taylor <ian@cygnus.com>
86
87 * top.c (set_endian_from_file): Use new bfd_big_endian macro.
88
89Fri Dec 15 12:21:10 1995 Raymond Jou <rjou@mexican.cygnus.com>
90
91 * mpw-make.sed: Add quotes to RIncludes reference.
92
93Fri Dec 15 13:18:55 1995 Rob Savoye <rob@darkstar.cygnus.com>
94
95 * remote-array.c: Remove bogus setting of baudrate to 4800. Their
96 hardware has real UARTS now.
97
98Mon Dec 11 18:19:16 1995 Stan Shebs <shebs@andros.cygnus.com>
99
100 * configure.in (powerpc-*-macos*): New target configuration.
101 * configure: Update.
102 * config/powerpc/macos.mh, config/powerpc/macos.mt,
103 config/powerpc/nm-macos.h, config/powerpc/tm-macos.h, mac-nat.c:
104 New files, native PowerMac debugging support.
105 * Makefile.in (mac-nat.o): Add build rule.
106 * mpw-config.in (enable_cflags): Add support.
107 (m68k-apple-macos, powerpc-apple-macos): Fix natdepfiles to
108 list object file instead of source file.
109 * mpw-make.sed (@ENABLE_CFLAGS@): Don't edit out, replace with
110 value of variable.
111 (install, install-only): Edit MPW-specific installation into
112 place of Unix shell code.
113 * mac-gdb.r: Fix version resources to use symbolic version strings.
114 (cfrg): New resource, code fragment for PowerMac.
115
d1856a18
SS
116Mon Dec 11 14:13:03 1995 Fred Fish <fnf@amigalib.com>
117
118 * dbxread.c (process_one_symbol): When looking at the next
119 minimal symbol, check for end of the minimal symbol array
120 (symbol with NULL pointer for name) before dereferencing it.
121
122Mon Dec 11 15:56:55 1995 Per Bothner <bothner@kalessin.cygnus.com>
123
124 * eval.c (evaluate_struct_tuple): Fix thinko.
125
126Mon Dec 11 06:52:02 1995 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
127
128 * ch-typeprint.c (chill_type_print_base): Slightly change of printing
129 of variant structures.
130
131Mon Dec 11 00:36:01 1995 Per Bothner <bothner@kalessin.cygnus.com>
132
133 * valops.c (value_cast): Handle casts to and from TYPE_CODE_CHAR.
134 * ch-exp.c (match_integer_literal): Fix long long support.
135 * gdbtypes.c (get_discrete_bounds): Make TYPE_LENGTH (type) ==
136 sizeof (LONGEST) case work OK.
137
138Fri Dec 8 21:02:24 1995 Fred Fish <fnf@cygnus.com>
139
140 * coffread.c, dbxread.c, dstread.c, objfiles.c, os9kread.c,
141 symfile.c, symtab.c: Use "obstack.h" rather than <obstack.h>.
142
143Wed Dec 6 16:16:18 1995 Stu Grossman (grossman@cirdan.cygnus.com)
144
145 * remote-mips.c (mips_receive_header): Allow mips_syn_garbage to be
146 user-settable (via set syn-garbage-limit). Setting it to -1 makes
147 it unlimited.
148
149Tue Dec 5 18:33:43 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
150
151 * gdbtypes.c (check_stub_method): Make sure we get back a function
152 string in the demangled name before we try to use it.
153
154Tue Dec 5 18:08:29 1995 Stu Grossman (grossman@cygnus.com)
155
156 * monitor.c (monitor_expect_regexp): Make static, add prototype.
157 * (monitor_read_memory_single): Call monitor_expect_regexp with
158 pointer to getmem_resp_delim_pattern, not entire struct.
159
160Tue Dec 5 15:51:25 1995 Stan Shebs <shebs@andros.cygnus.com>
161
162 * c-lang.h (c_op_print_tab): Don't declare, some compilers
163 consider illegal if structure not defined, and only used
164 in c-lang.c anyway.
165
166Sun Dec 3 12:31:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
167
168 * eval.c (evaluate_subexp_standard case): Fix typo.
169
170Sun Dec 3 11:59:21 1995 Jeffrey A. Law <law@cygnus.com>
171
172 * ch-exp.c (parse_named_record_element): Avoid aggregrate
173 initializations for automatic variables.
174
175 * hppa-tdep.c (hppa_alignof): Fix typo in last change.
176
177Sat Dec 2 19:32:57 1995 Fred Fish <fnf@cygnus.com>
178
179 * symfile.c (global_psymbols, static_psymbols): Remove, unused.
180
181Sat Dec 2 03:02:21 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
182
183 * alpha-tdep.c (heuristic_proc_desc): Add heuristic to
184 determine the return address register, needed for OSF/1-3.2C.
185 * config/alpha/tm-alpha.h (T7_REGNUM, T9_REGNUM): Define.
186
187Fri Dec 1 07:23:57 1995 Michael Meissner <meissner@tiktok.cygnus.com>
188
189 * ppcbug-rom.c (ppcbug_cmds): Turn on MO_GETMEM_READ_SINGLE
190 because PPCbug displays the memory as characters as well as hex.
191 Fix getmem/setmem commands.
192
193 * srec.c (load_srec): Fix off by one typo in last submission.
194
195 * rs6000-tdep.c (push_arguments): Fix typo.
196
197Thu Nov 30 23:54:17 1995 Per Bothner <bothner@kalessin.cygnus.com>
198
199 * language.c (lang_bool_type), language.h: New function.
200 * language.h (LA_BOOL_TYPE): New macro.
201 * eval.c (evaluate_subexp_standard) Use LA_BOOL_TYPE instead
202 of builtin_type_int where appropriate,
203 * valarith.c (value_subscript): Likewise.
204
205 * valops.c (value_slice): Implement (value) bitstring slices.
206 * valprint.c (val_print): If TYPE_LENGTH is zero, don't automatically
207 print "<incomplete type>" - Chill has zero-length (string) types.
208
209 * gdbtypes.c (check_stub_type): Removed; no longes needed.
210 * ch-exp.c (expect, parse_call): Tweak error messages.
211
212Wed Nov 29 13:35:18 1995 Per Bothner <bothner@kalessin.cygnus.com>
213
214 * scm-valprint.c (scm_isymnames): Remove "#@" prefix.
215 (scm_scmval_print): Do not print "#@" prefix.
216
217 * gdbtypes.h (enum type_code): Added TYPE_CODE_TYPEDEF.
218 (check_typedef): New prototype.
219 (CHECK_TYPEDEF): New macro.
220 (TYPE_DUMMY_RANGE): Removed.
221 * gdbtypes.c (get_discrete_bounds): Fix paren error; make more robust.
222 (create_array_type): Don't force_to_range_type; users of the
223 array are responsible for handling non-range index types.
224 (create_set_type): Likewise.
225 (force_to_range_type): Removed.
226 (check_typedef): New function handles stub types and typedefs.
227 (check_stub_type): Just call check_typedef. (To be removed.)
228 (recursive_dump_type): Handle TYPE_CODE_TYPEDEF.
229 * ch-lang.c (type_lower_upper): Use get_discrete_bounds.
230 (evaluate_subexp_chill): Handle string repetition.
231 Re-arrange to handle EVAL_AVOID_SIDE_EFFECTS better.
232 * ch-typeprint.c (chill_type_print_base): Handle TYPE_CODE_TYPEDEF.
233 Pass show=0 in recursive calls various places.
234 (case TYPE_CODE_ARRAY): Don't require index type to have
235 TYPE_CODE_RANGE.
236 (case TYPE_CODE_RANGE): Don't need to support TYPE_DUMMY_RANGE.
237 * gdbtypes.c, ch-lang.c, ch-typeprint.c (numerous places):
238 Add check_typedef/CHECK_TYPEDEF as needed.
239
240 * ch-exp.y: Replaced by ...
241 * ch-exp.c: New file. Use recursive-descent.
242 Recognize labelled array tuples and powerset ranges.
243 * Makefile.in: Update for no longer using yacc for ch-exp.
244
245 * c-lang.c: Make various functions non-static.
246 * c-lang.h: Add bunches of prototypes.
247 * cp-valprint.c (cp_print_value_fields): Also take address.
248 (cp_print_value): Likewise. Use baselcass_offset.
249 * stabsread.c (current_symbol): New static variable.
250 (type_synonym_name): Remove.
251 (read_type): If copying, make copy be a TYPE_CODE_TYPEDEF.
252 (read_array_type): Don't need to handle undefined element type here.
253 (cleanup_undefined_types): Ditto.
254 (read_range_type): Look for Chill ranges.
255 * valops.c (value_assign): Fix case lval_internalvar - don't try
256 to assign into old value (which might be too small!).
257 (value_coerce_array): No longer need special VALUE_REPEATED handling.
258 (value_arg_coerce): Cleaner array->pointer decay mechanism.
259 (search_struct_field): Use baseclass_offset rather than
260 baseclass_addr.
261 (value_slice): Use get_discrete_bounds.
262 * value.h (COERCE_VARYING_ARRAY): Take type argumnt as well.
263 * values.c (baseclass_offset): Change parameter interface.
264 (baseclass_addr): Removed.
265 * c-typeprint.c, c-valprint.c, ch-valprint.c, values.c, valops.c:
266 Add check_typedef/CHECK_TYPEDEF as needed.
267
268 * alpha-tdep.c, c-exp.y, h8500-tdep.c, f-exp.y, f-valprint.c,
269 findvar.c, hppa-tdep.c, infcmd.c, language.c, printcmd.c,
270 rs6000-tdep.c, symmisc.c, symtab.c, mdebugread.c:
271 Add check_typedef/CHECK_TYPEDEF as needed.
272
273 * f-typeprint.c, valarith.c, valprint.c, typeprint.c, eval.c:
274 Add check_typedef/CHECK_TYPEDEF as needed.
275 * f-typeprint.c: Various cleaning up.
276 * valarith.c (value_subscript): Also subscript bitstrings (for Chill).
277 * typeprint.c (print_type_scalar): Also support TYPE_CODE_RANGE.
278 * eval.c (evaluate_subexp_standard case OP_ARRAY): Implement
279 support for labelled array tuples and ranges in powerset tuples.
280 (init_array_element): New function.
281
282 * top.c (command_line_input): Only strip out an initial #-comment.
283 Looking for internal comments is language-specific (breaks Scheme).
284
285 * expression.h (enum exp_opcode): Add BINOP_RANGE.
286 * expprint.c (dump_expression): Support BINOP_RANGE.
287 * eval.c (evaluate_subexp_standard): Handle BINOP_RANGE (as error).
288 (case MULTI_SUBSCRIPT): Fix broken f77 value->int ad hoc conversion.
289 * ch-lang.c (chill_op_print_tab): Support BINOP_RANGE.
290 (evaluate_subexp_chill): Error on BINOP_COMMA.
291
292 * Makefile.in: Clean up so doc stuff stays in doc sub-dir.
293
294Wed Nov 29 16:39:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
295
296 * monitor.c (monitor_debug): New function to print monitor debug
297 output in printable fashion.
298 (monitor_printf{,_noecho}): Call monitor_debug instead of
299 fputs_unfiltered.
300
301 * srec.c (load_srec): When printing srec debug information, do not
302 print the carriage return directly, instead print \\r followed by
303 a newline.
304
305Tue Nov 28 15:25:28 1995 Doug Evans <dje@canuck.cygnus.com>
306
307 * Makefile.in (target_subdir): Define.
308 (CC_FOR_TARGET, CXX_FOR_TARGET): Use it to find target libraries.
309 * configure.in (X_CFLAGS): Fix typo.
310 (target_subdir): Set to "${target_alias}/" if cross.
311 * configure: Regenerated.
312
313 * dbxread.c (dbx_symfile_read): Set block_address_function_relative
314 for `pe' format files.
315
316Tue Nov 28 11:17:47 1995 Fred Fish <fnf@cygnus.com>
317
318 * magic.h: Renamed to gmagic.h to avoid <magic.h> conflict.
319 * magic.c: Renamed to gmagic.c in sympathy.
320 * eval.c, gmagic.c, config/tm-magic.h:
321 Include "gmagic.h" rather than "magic.h".
322
323Sat Nov 25 02:56:38 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
324
325 * mdebugread.c (handle_psymbol_enumerators, parse_symbol):
326 Recognize enums from alpha cc -migrate.
327 (upgrade_type): Pass correct fd to parse_symbol when parsing
328 the index type of an array.
329 (parse_procedure, parse_lines, psymtab_to_symtab_1): Handle
330 unsorted procedure descriptors from Irix 5.x and Alpha OSF/1-3.x
331 shared libraries. Use CORE_ADDR instead of `unsigned long' in
332 procedure descriptor address computations.
333
334 * symtab.c (decode_line_1): Prevent accidental strchr match
335 of a null character with the terminating null character of
336 gdb_completer_quote_characters.
337 (cplusplus_hint): Make sure that only a single quote is printed
338 in the hint message.
339
340Fri Nov 24 16:17:01 1995 Jeffrey A Law (law@cygnus.com)
341
342 * top.c (recurse_read_control_structure): Don't make cleanups
343 here. Callers handle that correctly.
344
345Tue Nov 21 15:16:34 1995 Fred Fish <fnf@rtl.cygnus.com>
346
347 * config/m68k/xm-hp300hpux.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.
348 Also force HAVE_MMAP to be defined since autoconf is currently broken
349 for detecting a working mmap under hpux.
350 * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS): Tweak MMAP_BASE_ADDRESS
351 to a better value suggested by Jeffrey A Law (law@cygnus.com).
352
353Tue Nov 21 08:48:58 1995 Fred Fish <fnf@cygnus.com>
354
355 * config/pa/xm-hppah.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.
356 Also force HAVE_MMAP to be defined since autoconf is currently broken
357 for detecting a working mmap under hpux.
358 * objfiles.c (map_to_address): Have gdb print a warning when it
359 is compiled with HAVE_MMAP but without both MMAP_BASE_ADDRESS and
360 MMAP_INCREMENT defined (thus making it appear mmap doesn't work).
361
362Mon Nov 20 14:13:53 1995 Stu Grossman (grossman@cygnus.com)
363
364 * infrun.c (wait_for_inferior): Add support for dynamic function
365 trampolines. These are pieces of code between the caller and the
366 callee that figure out the address of the callee's code at run
367 time. Upon entry, we can't figure out the callee's address, so we
368 set a breakpoint within the trampoline where the address will be
369 known, and continue the target. Once we hit the breakpoint, we
370 break at the callee's address and proceed as usual.
d1856a18
SS
371
372Mon Nov 20 11:12:34 1995 Fred Fish <fnf@cygnus.com>
373
374 * objfiles.c (allocate_objfile): Change warning message about mapped
375 symbol tables so that it is obvious that they are not supported on
376 this particular machine rather than implying they are not supported
377 at all in this version of gdb.
378
379Sun Nov 19 05:20:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
380
381 * irix5-nat.c, osfsolib.c (solib_address): Return the name of the
382 containing solib.
383 * stack.c (print_frame_info): Use minimal symbol only if
384 fi->pc is in a known section.
385
386Sat Nov 18 11:19:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
387
388 * solib.c (solib_address): Return the name of the containing solib.
389 * solib.h (PC_SOLIB): New macro; define using solib_address.
390 * stack.c (print_frame_info) [PC_SOLIB]: If no function name, try
391 PC_SOLIB on the PC value.
392
393Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
394
395 * annotate.c (annotate_source, annotate_frame_begin): Issue
396 `0x' prefix for the pc value, to remain consistent with previous
397 GDB versions.
398
399 * blockframe.c (find_pc_partial_function), config/pa/tm-hppa.h:
400 Remove Sun shared library transfer hack and
401 INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK, it is obsoleted by the
402 mst_solib_trampoline minimal symbols.
403
404 * blockframe.c (inside_main_func): Check main_func_*pc against
405 INVALID_ENTRY_*PC, not zero.
406 * symfile.c (init_entry_point_info): Initialize ei.*pc with
407 INVALID_ENTRY_*PC.
408 * mipsread.c (mipscoff_symfile_read): If the entry_file bounds
409 are still unknown after processing the partial symbols, then try
410 to set them from the minimal symbols.
411
412 * infcmd.c (registers_info): Error out if selected_frame is NULL.
413 * stack.c (return_command): Select new current frame silently if
414 not interactive.
415
416 * mipsread.c (read_alphacoff_dynamic_symtab): Ignore additional
417 DT_MIPS_LOCAL_GOTNO and DT_MIPS_GOTSYM entries.
418
419 * irix5-nat.c (solib_create_inferior_hook): Call solib_add only
420 if auto_solib_add_at_startup is nonzero.
421 (_initialize_solib): Add "set auto-solib-add" command.
422 * osfsolib.c (solib_create_inferior_hook): Call solib_add only
423 if auto_solib_add_at_startup is nonzero.
424 (_initialize_solib): Add "set auto-solib-add" command.
425
426Wed Nov 15 17:12:04 1995 Stan Shebs <shebs@andros.cygnus.com>
427
428 * utils.c: Don't include sys/ioctl.h etc if MPW is host.
429
430Tue Nov 14 17:16:46 1995 Doug Evans <dje@canuck.cygnus.com>
431
432 * config/arm/tm-arm.h (ADDITIONAL_REGISTER_NAMES): Fix r5.
433 (FRAME_SAVED_PC): Minor clean up.
434
435Tue Nov 14 14:51:05 1995 Stu Grossman (grossman@cygnus.com)
436
437 * monitor.c (monitor_load_srec monitor_make_srec): Move all
438 S-record download code into srec.c.
439 * srec.c srec.h: New files. Contain S-record loading routines
440 formerly in monitor.c.
441 * serial.c serial.h: New routine just like fprintf, but uses
442 serial_t instead of FILE *.
443 * sh-tdep.c (frame_find_saved_regs init_extra_frame_info):
444 Don't add four to saved pc (makes things match manual). Also, fix
445 bug where we didn't get pc from stack frame correctly.
446 * config/sh/tm-sh.h (SAVED_PC_AFTER_CALL): Don't add four to
447 saved pc. Real hardware does this for you.
448 * sh3-rom.c (sh3_load): New routine. Sets up for download then
449 calls generic S-record loader.
450 * config/h8300/h8300.mt, config/h8500/h8500.mt,
451 config/m68k/monitor.mt, config/pa/hppapro.mt, config/sh/sh.mt:
452 Add srec.o to TDEPFILES.
453
454Tue Nov 14 15:57:36 1995 Michael Meissner <meissner@tiktok.cygnus.com>
455
456 * ppcbug-rom.c: New file to support the Motorola PPCBUG monitor
457 for PowerPC's.
458
459 * config/powerpc/ppc{,le}-{eabi,sim}.mt (TDEPFILES): Include
460 ppcbug-rom.o, monitor.o, and srec.o
461
462 * config/i386/linux.mt (XDEPFILES): Include ser-tcp.o.
463
464Mon Nov 13 13:12:46 1995 Jeffrey A Law (law@cygnus.com)
465
466 * partial-stab.h: Remove GDB_TARGET_IS_HPPA kludge.
467
468Fri Nov 10 13:08:54 1995 Jeff Law (law@kahlua.cs.utah.edu)
469
470 * terminal.h (HAVE_SGTTY): Fix typo.
471
472Thu Nov 9 17:34:01 1995 Michael Meissner <meissner@tiktok.cygnus.com>
473
474 * configure.in (gdb_target): Build in the simulator for all
475 PowerPC eabi targets, not just eabisim, providing
476 --enable-sim-powerpc is used, or the host compiler is GCC.
477
478Thu Nov 9 14:04:05 1995 Raymond Jou (rjou@mexican.cygnus.com)
479
480 * mpw-config.in: Add variable with names of SIOW libraries.
481 * mpw-make.sed: Add an action to build SIOWgdb.
482
483Wed Nov 8 19:25:22 1995 Stan Shebs <shebs@andros.cygnus.com>
484
485 * mpw-make.sed: Edit @ENABLE_CFLAGS@ out, mpw-configure can
486 add back in if necessary.
487
488Wed Nov 8 15:59:52 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
489
490 * config/mips/vr4300.mt: Added simulator to default VR4300 build.
491
492Tue Nov 7 16:02:25 1995 Stu Grossman (grossman@cygnus.com)
493
494 * remote-mips.c (mips_initialize): Fix brain damage found by
495 Jamie. Basically had case statement in the wrong place...
496 * (mips_load): Remove unnecessary `db tty0' command. It's all
497 handled by mips_initialize now.
498
499Tue Nov 7 12:59:14 1995 Raymond Jou <rjou@mexican.cygnus.com>
500
501 * mac-gdb.r: Added #ifdef Macgdb.
502
503Tue Nov 7 14:59:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
504
505 * remote-mips.c (mips_initialize): Updated to talk to VR4300 RISQ
506 monitor board.
507
508Mon Nov 6 11:44:11 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
509
510 * config/mips/{tm-vr4300.h tm-vr4300el.h} (TARGET_MONITOR_PROMPT):
511 Change into real strings.
512
513 * remote-sim.c (gdbsim_open): Moved sim_open() call to after
514 callback initialisation.
515
516Sun Nov 5 00:07:52 1995 Jason Molenda (crash@phydeaux.cygnus.com)
517
518 * configure.in (AC_CHECK_HEADERS): add stddef.h.
519
520Fri Nov 3 12:30:43 1995 Fred Fish <fnf@cygnus.com>
521
522 * Makefile.in (COMMON_OBS): Use corefile.o rather than core.o
523 * core.c: Rename to corefile.c.
524 * config/pyr/tm-pyr.h, umax-xdep.c, sun386-nat.c, pyr-xdep.c,
525 Makefile.in (SFILES), gould-xdep.c, coredep.c, armtdep.c,
526 arm-xdep.c, altos-xdep.c: Change core.c references to corefile.c.
527
528 From Graham Stoney <greyham@research.canon.oz.au>.
529 * Makefile.in (remote-array.o): Add rule to build.
530 (ALLDEPFILES): Add remote-array.c
531 * remote-array.c (baud_rate): Remove unnecessary declaration.
532 (baudrate): Remove.
533 (array_files_info): Print global baud_rate not baudrate.
534
535Sat Nov 4 10:21:58 1995 Stu Grossman (grossman@cygnus.com)
536
537 * Makefile.in (INTERNAL_CFLAGS): Add ENABLE_CFLAGS.
538 * fork-child.c (fork_inferior): Add call to
539 TARGET_CREATE_INFERIOR_HOOK to allow target specific code to get
540 control just before the new process executes it's first instruction.
541 * remote-mips.c (mips_initialize): Cleanup a bit. Don't try to
542 receive a packet at first. This speeds up initialization a lot.
543 Use TARGET_MONITOR_PROMPT instead of "<IDT>".
544 (common_breakpoint): Use rresponse instead of rerrflg to inspect
545 error code.
546 * symfile.c (syms_from_objfile reread_symbols): Call
547 TARGET_SYMFILE_POSTREAD to allow target specific code to get
548 control after reading new symbols.
549 * target.h: New macros TARGET_SYMFILE_POSTREAD, and
550 TARGET_CREATE_INFERIOR_HOOK. See above for descriptions.
551 * config/mips/{irix5.mh nm-irix5.h}: Delete nm-irix5.h. Make
552 NAT_FILE point directly at ../nm-sysv4.h.
553 * config/mips/{mipsm3.mh nm-m3.h}: Delete nm-m3.h. Make
554 NAT_FILE point directly at ../nm-m3.h.
555 * config/mips/{mipsv4.mh nm-sysv4.h}: Delete nm-sysv4.h. Make
556 NAT_FILE point directly at ../nm-sysv4.h.
557 * config/mips/nm-mips.h: Improve comment at top of file.
558 * config/mips/tm-mips.h (TARGET_MONITOR_PROMPT): Change
559 definition into a proper string.
d1856a18
SS
560
561Wed Nov 1 20:18:08 1995 Fred Fish <fnf@cygnus.com>
562
563 * config/i386/tm-i386.h: New file containing generic i*86 target
564 definitions.
565 (TARGET_BYTE_ORDER): Moved here from tm-i386v.h.
566 (IEEE_FLOAT): Moved here from tm-i386v.h.
567 (START_INFERIOR_TRAPS_EXPECTED): Define default as 2.
568 (FUNCTION_START_OFFSET): Moved here from tm-i386v.h.
569 (SKIP_PROLOGUE): Moved here from tm-i386v.h.
570 (SAVED_PC_AFTER_CALL): Moved here from tm-i386v.h.
571 (INNER_THAN): Moved here from tm-i386v.h.
572 (BREAKPOINT): Moved here from tm-i386v.h.
573 (DECR_PC_AFTER_BREAK): Moved here from tm-i386v.h.
574 (ABOUT_TO_RETURN): Moved here from tm-i386v.h.
575 (REGISTER_SIZE): Moved here from tm-i386v.h.
576 (NUM_REGS): Moved here from tm-i386v.h.
577 (REGISTER_NAMES): Moved here from tm-i386v.h.
578 (EXTRACT_STRUCT_VALUE_ADDRESS): Moved here from tm-i386v.h.
579 (FP_REGNUM): Moved here from tm-i386v.h.
580 (SP_REGNUM): Moved here from tm-i386v.h.
581 (PC_REGNUM): Moved here from tm-i386v.h.
582 (PS_REGNUM): Moved here from tm-i386v.h.
583 (FP0_REGNUM): Moved here from tm-i386aix.h.
584 (FPC_REGNUM): Moved here from tm-sun386.h.
585 (REGISTER_BYTES): Moved here from tm-i386aix.h.
586 (REGISTER_BYTE): Moved here from tm-i386aix.h.
587 (REGISTER_RAW_SIZE): Moved here from tm-i386aix.h.
588 (MAX_REGISTER_RAW_SIZE): Moved here from tm-i386aix.h.
589 (REGISTER_VIRTUAL_SIZE): Moved here from tm-i386aix.h.
590 (MAX_REGISTER_VIRTUAL_SIZE): Moved here from tm-i386aix.h.
591 (EXTRACT_RETURN_VALUE): Moved here from tm-i386aix.h.
592 (STORE_RETURN_VALUE): Moved here from tm-i386aix.h.
593 (REGISTER_VIRTUAL_TYPE): Moved here from tm-i386v.h.
594 (STORE_STRUCT_RETURN): Moved here from tm-i386v.h.
595 (FRAME_CHAIN): Moved here from tm-i386v4.h.
596 (FRAMELESS_FUNCTION_INVOCATION): Moved here from tm-i386v4.h.
597 (FRAME_SAVED_PC): Moved here from tm-i386os9k.h
598 (FRAME_ARGS_ADDRESS): Moved here from tm-i386v.h.
599 (FRAME_LOCALS_ADDRESS): Moved here from tm-i386v.h.
600 (FRAME_NUM_ARGS): Moved here from tm-i386sun.h.
601 (FRAME_ARGS_SKIP): Moved here from tm-i386v.h.
602 (FRAME_FIND_SAVED_REGS): Moved here from tm-i386v.h.
603 (PUSH_DUMMY_FRAME): Moved here from tm-i386v.h.
604 (POP_FRAME): Moved here from tm-i386v.h.
605 (CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET,
606 CALL_DUMMY_BREAKPOINT_OFFSET, FIX_CALL_DUMMY): Moved here from
607 tm-i386v.h
608 (print_387_control_word, print_387_status_word): Declare prototypes.
609 (struct frame_info, struct frame_saved_regs): Forward decls for
610 prototypes.
611 (SP_ARG0): Moved here from tm-i386v.h.
612
613 * config/i386/tm-i386v.h:
614 (i386/tm-i386.h): Include.
615 (TARGET_BYTE_ORDER): Remove.
616 (IEEE_FLOAT): Remove.
617 (START_INFERIOR_TRAPS_EXPECTED): Undef before redefine to 4.
618 (FUNCTION_START_OFFSET): Remove.
619 (SKIP_PROLOGUE): Remove.
620 (i386_skip_prologue): Remove prototype.
621 (SAVED_PC_AFTER_CALL): Remove.
622 (INNER_THAN): Remove.
623 (BREAKPOINT): Remove.
624 (DECR_PC_AFTER_BREAK): Remove.
625 (ABOUT_TO_RETURN): Remove.
626 (REGISTER_SIZE): Remove.
627 (NUM_REGS): Undef before redefine to 16 (no FP support).
628 (REGISTER_NAMES): Undef before redefine.
629 (FP_REGNUM, SP_REGNUM, PC_REGNUM, PS_REGNUM): Remove.
630 (REGISTER_BYTES): Undef before redefine.
631 (REGISTER_BYTE): Undef before redefine.
632 (REGISTER_RAW_SIZE): Undef before redefine.
633 (REGISTER_VIRTUAL_SIZE): Undef before redefine.
634 (MAX_REGISTER_RAW_SIZE): Undef before redefine.
635 (MAX_REGISTER_VIRTUAL_SIZE): Undef before redefine.
636 (REGISTER_VIRTUAL_TYPE): Undef before redefine.
637 (STORE_STRUCT_RETURN): Undef before redefine.
638 (EXTRACT_RETURN_VALUE): Undef before redefine.
639 (STORE_RETURN_VALUE): Undef before redefine.
640 (EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
641 (FRAME_CHAIN): Undef before redefine.
642 (FRAMELESS_FUNCTION_INVOCATION): Undef before redefine.
643 (FRAME_SAVED_PC): Undef before redefine.
644 (FRAME_ARGS_ADDRESS): Remove.
645 (FRAME_LOCALS_ADDRESS): Remove.
646 (FRAME_NUM_ARGS): Undef before redefine.
647 (FRAME_ARGS_SKIP): Remove.
648 (FRAME_FIND_SAVED_REGS): Remove.
649 (PUSH_DUMMY_FRAME): Remove.
650 (POP_FRAME): Remove.
651 (CALL_DUMMY): Remove.
652 (CALL_DUMMY_LENGTH): Remove.
653 (CALL_DUMMY_START_OFFSET): Remove.
654 (CALL_DUMMY_BREAKPOINT_OFFSET): Remove
655 (FIX_CALL_DUMMY): Remove.
656 (print_387_control_word): Remove.
657 (print_387_status_word): Remove.
658 (SP_ARG0): Remove.
659
660 * config/i386/tm-symmetry.h:
661 (TM_SYMMETRY_H): Enclose file in test for define & define if needed.
662 (START_INFERIOR_TRAPS_EXPECTED): Move to after inclusion of
663 tm-i386v4.h or tm-i386v.h, #undef, and #define back to 2.
664 (DECR_PC_AFTER_BREAK): Move to after inclusion of tm-i386v4.h
665 or tm-i386v.h, #undef, and #define to 0.
666 (MAX_REGISTER_RAW_SIZE): Remove.
667 (FRAME_CHAIN): Remove.
668 (FRAMELESS_FUNCTION_INVOCATION): Remove.
669 (FRAME_SAVED_PC): Remove.
670 (print_387_control_word, print_387_status_word): Remove prototypes.
671
672 * config/i386/tm-ptx.h:
673 (TM_PTX_H): Enclose file in test for define & define if needed.
674 (START_INFERIOR_TRAPS_EXPECTED): Move to after inclusion of
675 tm-i386v4.h or tm-i386v.h, #undef, and #define back to 2.
676 (DECR_PC_AFTER_BREAK): Move to after inclusion of tm-i386v4.h
677 or tm-i386v.h, #undef, and #define to 0.
678 (SDB_REG_TO_REGNUM): Remove obsolete commented out define.
679 (print_387_control_word, print_387_status_word): Remove prototypes.
680
681 * config/i386/tm-linux.h:
682 (TM_LINUX_H): Enclose file in test for define & define if needed.
683 (i386/tm-i386.h): Include instead of tm-i386v.h.
684 (START_INFERIOR_TRAPS_EXPECTED): Remove.
685
686 * config/i386/tm-i386v4.h:
687 (TM_I386V4_H): Enclose file in test for define & define if needed.
688 (i386/tm-i386.h): Include instead of tm-i386v.h.
689 (START_INFERIOR_TRAPS_EXPECTED): Remove.
690 (FRAME_CHAIN): Moved to tm-i386.h.
691 (FRAMELESS_FUNCTION_INVOCATION): Moved to tm-i386.h.
692 (FRAME_SAVED_PC): Remove.
693 (sigtramp_saved_pc): Define as i386v4_sigtramp_saved_pc.
694 (FRAME_NUM_ARGS): Remove.
695
696 * config/i386/tm-i386os9k.h:
697 (TM_I386OS9K_H): Enclose file in test for define & define if needed.
698 (i386/tm-i386.h): Include instead of tm-i386v.h.
699 (START_INFERIOR_TRAPS_EXPECTED): Remove.
700 (NUM_REGS): Undefine before redefining.
701 (FRAME_CHAIN): Remove.
702 (FRAMELESS_FUNCTION_INVOCATION): Remove.
703 (FRAME_SAVED_PC): Move to tm-i386.h.
704
705 * config/i386/tm-i386nw.h:
706 (TM_I386NW_H): Enclose file in test for define & define if needed.
707 (i386/tm-i386.h): Include instead of tm-i386v.h.
708 (START_INFERIOR_TRAPS_EXPECTED): Remove.
709
710 * config/i386/tm-i386bsd.h:
711 (TM_I386BSD_H): Enclose file in test for define & define if needed.
712 (i386/tm-i386.h): Include instead of tm-i386v.h.
713 (START_INFERIOR_TRAPS_EXPECTED): Remove.
714 (FRAMELESS_FUNCTION_INVOCATION): Remove.
715 (FRAME_SAVED_PC): Remove.
716
717 * config/i386/tm-i386aix.h:
718 (i386/tm-i386.h): Include instead of tm-i386v.h.
719 (START_INFERIOR_TRAPS_EXPECTED): Remove.
720 (FP_REGNUM): Remove.
721 (SP_REGNUM): Remove.
722 (PC_REGNUM): Remove.
723 (PS_REGNUM): Remove.
724 (FP0_REGNUM): Moved to tm-i386.h.
725 (NUM_REGS): Remove.
726 (REGISTER_NAMES): Remove.
727 (REGISTER_BYTES): Moved to tm-i386.h.
728 (REGISTER_BYTE): Moved to tm-i386.h.
729 (REGISTER_RAW_SIZE): Moved to tm-i386.h.
730 (MAX_REGISTER_RAW_SIZE): Moved to tm-i386.h.
731 (REGISTER_VIRTUAL_SIZE): Moved to tm-i386.h.
732 (REGISTER_VIRTUAL_TYPE): Removed.
733 (EXTRACT_RETURN_VALUE): Moved to tm-i386.h.
734 (STORE_RETURN_VALUE): Moved to tm-i386.h.
735
736 * config/i386/tm-sun386.h:
737 (TM_SUN386_H): Enclose file in test for define & define if needed.
738 (i386/tm-i386.h): Include.
739 (TARGET_BYTE_ORDER): Remove.
740 (FUNCTION_START_OFFSET): Remove.
741 (SKIP_PROLOGUE): Remove.
742 (SAVED_PC_AFTER_CALL): Remove.
743 (INNER_THAN): Remove.
744 (BREAKPOINT): Remove.
745 (DECR_PC_AFTER_BREAK): Remove.
746 (ABOUT_TO_RETURN): Remove.
747 (REGISTER_SIZE): Remove.
748 (NUM_REGS): Undefine before defining.
749 (REGISTER_NAMES): Undefine before redefining.
750 (REGISTER_BYTES): Undefine before redefining.
751 (REGISTER_BYTE): Undefine before defining.
752 (FP_REGNUM): Undefine before defining.
753 (PC_REGNUM): Undefine before defining.
754 (FPC_REGNUM): Undefine before defining.
755 (REGISTER_RAW_SIZE): Undefine before defining.
756 (FRAME_CHAIN): Undefine before defining.
757 (FRAMELESS_FUNCTION_INVOCATION): Undefine before defining.
758 (FRAME_SAVED_PC): Undefine before defining.
759 (FRAME_NUM_ARGS): Moved to tm-i386.h.
760 (MAX_REGISTER_RAW_SIZE): Remove.
761 (MAX_REGISTER_VIRTUAL_SIZE): Remove.
762 (STORE_STRUCT_RETURN): Remove.
763 (EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
764 (FRAME_ARGS_ADDRESS): Remove.
765 (FRAME_LOCALS_ADDRESS): Remove.
766 (FRAME_NUM_ARGS): Undefine before defining.
767 (FRAME_ARGS_SKIP): Remove.
768 (FRAME_FIND_SAVED_REGS): Remove.
769 (PUSH_DUMMY_FRAME): Remove.
770 (POP_FRAME): Remove.
771 (CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET): Remove.
772 (struct frame_info, struct frame_saved_regs): Remove forward decls
773 for prototypes.
774
775 * config/i386/tm-i386lynx.h (i386/tm-i386.h): Include instead of
776 tm-i386v.h.
777 * config/i386/tm-i386m3.h (i386/tm-i386.h): Include instead of
778 tm-i386v.h.
779
780 * i386-tdep.c (i386_extract_return_value): Make function visible
781 for all i386 targets, but only assume floating point values returned
782 in floating point registers for I386_AIX_TARGET.
783
784 * i386v-nat.c (i386_register_u_addr): Enable code to locate
785 floating point regs in user struct.
786
787Wed Nov 1 15:32:57 1995 Fred Fish <fnf@cygnus.com>
788
789 * breakpoint.c (breakpoint_re_set): Fix typo in comment.
790 * symtab.c (in_prologue): Document func_start and when it is zero
791 don't call SKIP_PROLOGUE (which typically leads unconditionally to
792 an error when we try to access a prologue at address 0).
793
794Tue Oct 31 13:01:15 1995 Fred Fish <fnf@cygnus.com>
795
796 * elfread.c: Include elf-bfd.h rather than libelf.h.
797
798Tue Oct 31 10:42:42 1995 steve chamberlain <sac@slash.cygnus.com>
799
800 * win32-nat.c (xlate_exception): Treat a stack overflow like a SEGV.
801
802Sun Oct 29 11:22:05 1995 Fred Fish <fnf@cygnus.com>
803
804 * monitor.c: Include gnu-regex.h rather than system regex.h.
805
806Sat Oct 28 23:51:48 1995 steve chamberlain <sac@slash.cygnus.com>
807
808 * defs.h: Test on name __WIN32__ rather than WIN32.
809 * inflow.c (new_tty): Likewise
810 * terminal.h: Likewise.
811 * utils.c (initialize_utils): Likewise.
812 * win32-nat.c (child_create_inferiror): Print error code when failing.
813 * config/i386/win32.mh (XM_CLIBS): Need -lkernel32.
814
815Sat Oct 28 04:52:36 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
816
817 * symtab.h (enum address_class): Add LOC_UNRESOLVED for
818 a location whose address has to be resolved via the minimal
819 symbol table.
820 * buildsym.c (finish_block), findvar.c (symbol_read_needs_frame,
821 read_var_value), printcmd.c (address_info),
822 symmisc.c (print_symbol, print_partial_symbol): Handle
823 LOC_UNRESOLVED.
824 * stabsread.c (scan_file_globals): Change unresolved LOC_STATIC
825 symbols to LOC_UNRESOLVED. Remove rt_common_objfile lookup
826 kludge, global common symbols are now handled by LOC_UNRESOLVED.
827 (scan_file_globals_1): Move code back to scan_file_globals,
828 delete.
829
830Fri Oct 27 09:54:07 1995 Stu Grossman (grossman@cygnus.com)
831
832 * breakpoint.c (breakpoint_re_set): #ifdef GET_LONGJMP_TARGET
833 around calls to create_longjmp_breakpoint. Why install the
834 breakpoints if we can't find the longjmp target?
835 * infrun.c (wait_for_inferior): Cleanup comments near call test.
836 * remote-mips.c: Fixed a bunch of prototypes to avoid char/int
837 complaint from picky compilers. Add comment to mips_expect.
838 Replace all instances of sr_get_debug with remote_debug.
839 * (mips_readchar): Don't jam init string to monitor.
840 mips_initialize() handles that.
841 * (mips_receive_header): Print better message when we get too
842 much garbage.
843 * (mips_request): Allow caller to pass in buff to allow them to
844 analyze the returned message.
845 * (mips_initialize): Re-do initialization to try sending a BREAK,
846 a ^C, and then a download escape sequence. Cleanup protocol
847 startup. Eliminate sleeps. Clear breakpoints (if using monitor
848 breakpoints). Re-init frame.
849 * (mips_detach): Close down target.
501ad43a
SS
850 * (mips_wait): Handle return status with registers, or breakpoint
851 * stuff.
d1856a18
SS
852 * (mips_kill): Add ^C handling.
853 * (mips_insert_breakpoint mips_remove_breakpoint): Call new
854 breakpoint stuff if enabled.
855 * (calculate_mask remote_mips_set_watchpoint
856 remote_mips_remove_watchpoint remote_mips_stopped_by_watchpoint):
857 Hardware watchpoint/breakpoint stuff.
858 * (common_breakpoint): Common code for new monitor breakpoint commands.
859 * (mips_load): Don't use `prompt'. It's a global variable.
860 * top.c (dont_repeat_command): New command for use in
861 user-defined commands to suppress auto-repeat (by hittin return key).
d1856a18
SS
862 * valops.c: Add start of auto function-call abandonment capability.
863
d1856a18
SS
864Thu Oct 26 22:02:27 1995 Stan Shebs <shebs@andros.cygnus.com>
865
866 * mpw-config.in: Add support for PowerMac host, add beginnings
867 of native support.
868 * mpw-make.sed: Disable subdir recursion, edit out useless rule.
869 * mac-xdep.c (Values.h): Don't include.
870 (GestaltEqu.h): Include Gestalt.h instead.
871 (do_mouse_down): Comment out control tracking, needs to be
872 updated to use UPP before will work on PowerMac.
873 * config/xm-mpw.h: New file, all-Mac host support.
874 * config/m68k/xm-mpw.h: Move most definitions into generic Mac
875 support.
876 * config/powerpc/xm-mpw.h: New file, PowerMac host support.
877
878Thu Oct 26 15:21:32 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
879
880 * regex.h: Renamed to gnu-regex.h.
881 * regex.c: Renamed to gnu-regex.c.
882 * Makefile.in (POSSLIBS): Refer to gnu-regex.h and gnu-regex.c.
883 (REGEX, REGEX1): Change to gnu-regex.o instead of regex.o.
884 (regex.o): Renamed to gnu-regex.o; refer to gnu-regex.c.
885 (irix5-nat.o, osfsolib.o, gnu-regex.o, solib.o, source.o, symtab.o):
886 Likewise.
887 * irix5-nat.c, osfsolib.c, gnu-regex.c, solib.c, source.c, symtab.c):
888 Include "gnu-regex.h" instead of "regex.h".
889 * alpha-tdep.c (in_prologue): Rename to alpha_in_prologue, to
890 avoid conflicts with symtab.h.
891
892Tue Oct 24 18:30:18 1995 Jason Molenda (crash@phydeaux.cygnus.com)
893
894 * config/pa/hppahpux.mh: Remove hardcoding of X locations.
895 * Makefile.in: Use X11_CFLAGS, X11_LDFLAGS and X11_LIBS.
896 * configure.in: Link X statically on Solaris, SunOS and HPUX.
897
898Tue Oct 24 12:26:14 1995 Stu Grossman (grossman@cygnus.com)
899
900 * monitor.c (monitor_expect_regexp): Same as monitor_expect, but
901 with the obvious extension.
902 (monitor_read_memory_single): Use regexp for getmem.resp_delim
903 because of parsing ambiguities caused by certain monitors.
904 (monitor_read_memory): Use new regexp stuff to parse
905 getmem.resp_delim.
906 * monitor.h (struct memrw_cmd->resp_delim): Document this as a
907 regexp.
908 * sh3-rom.c: Finish off table. Use new regexp capability for
909 getmem commands.
910
911 * infrun.c (wait_for_inferior): Disable questionable code near
912 the step range test. Replace call detection test with much
913 simpler (and more efficient) test that doesn't require prologue
914 examination (as often).
915 * symtab.c symtab.h (in_prologue): New function that indicates
916 whether or not we are in a function prologue. This uses the
917 symbol table, and then falls back to prologue examination if that
918 fails. It's much more efficient for remote debugging because it
919 avoids examining memory, which is very slow. This is used in
920 wait_for_inferior to determine if we've made a function call that
921 needs to be skipped over (for next/nexti).
922 * mips-tdep.c (after_prologue): New function, returns the PC
923 after the prologue. Uses PDRs and the symbol table.
924 (mips_find_saved_regs): Use in_prologue() to avoid costly
925 prologue examination if possible.
926 (mips_skip_prologue): Use after_prologue() if possible to avoid
927 costly prologue examination.
928
929Mon Oct 23 16:03:33 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
930
931 * configure.in (configdirs): Added support for the VR4300 default
932 builds (mips64*vr4300*el-*-elf*, mips64*vr4300*-*-elf*).
933
934 * configure: Regenerated.
935
936 * remote-mips.c (mips_load): Updated the prompt spotting code to
937 make use of the TARGET_MONITOR_PROMPT manifest.
938
939Sat Oct 21 06:11:49 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
940
941 * alpha-tdep.c, mips-tdep.c (init_extra_frame_info):
942 Do not set saved registers from heuristics for a sigtramp frame.
943
944 * dwarfread.c (enum_type): Determine signedness of enum type
945 from enumerators.
946
947 * mips-tdep.c: Include gdb_string.h, gcc -Wall lint.
948
949 * rs6000-nat.c (xcoff_relocate_core): Fix typo.
950
951 * valops.c (value_repeat): Fix length of memory transfer to
952 match recent allocate_repeat_value change.
953
954Thu Oct 19 19:04:35 1995 Per Bothner <bothner@kalessin.cygnus.com>
955
956 * gdbtypes.c (get_discrete_bounds): Fix typo.
957
958Thu Oct 19 12:15:37 1995 Stan Shebs <shebs@andros.cygnus.com>
959
960 * defs.h (SEEK_SET, SEEK_CUR): Add default definitions.
961 * dbxread.c, mdebugread.c, os9kread.c (SEEK_SET, SEEK_CUR):
962 Remove default definitions.
963
964 * Makefile.in (CC-LD): Rename to CC_LD, so MPW xform works.
965 (MMALLOC_SRC): Define.
966 (MMALLOC_CFLAGS): Use.
967 (ser-mac.o): Add rule.
968 * dwarfread.c, somread.c, ultra3-nat.c, xcoffread.c: Replace L_SET
969 with SEEK_SET in all calls to bfd_seek.
970 * scm-tags.h (scm_tags): Remove excess comma.
971
972 * mpw-config.in: Adapt to work with autoconf'ed configury;
973 build config.h, add empty definitions to mk.tmp.
974 (powerpc-apple-macos): Make it work.
975 * mpw-make.sed: New file, sed commands to translate Unix makefile
976 into MPW syntax.
977 * mpw-make.in: Remove.
978 * mac-gdb.r: New file, was macgdb.r, renamed for consistency
979 with other tools, now includes cfrg resource.
980 * macgdb.r: Remove.
981 * config/m68k/xm-mpw.h: Remove most of contents, replace with
982 include of include/mpw/mpw.h.
983
984Tue Oct 17 10:38:53 1995 Jeffrey A Law (law@cygnus.com)
985
986 * hppa-tdep.c (frame_chain): Fix more obscure problems caused
987 by system calls that core dump processes without saving all
988 the register state.
989
990 * config/pa/hppahpux.mt (XDEPFILES): Remove bogus definition.
991 * config/pa/hppapro.mt (XDEPFILES): Likewise.
992
993Tue Oct 17 08:04:26 1995 Fred Fish <fnf@rtl.cygnus.com>
994
995 * NEWS: Fix typo.
996
d1856a18
SS
997Mon Oct 16 18:24:03 1995 Jim Wilson <wilson@chestnut.cygnus.com>
998
999 * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Return builtin_type_float
1000 for FP registers.
1001 (REGISTER_NAMES): Add FP register names. Remove ticks, stalls, cycles,
1002 insts, plr, and tlr.
1003 (NUM_REGS, NUM_REALREGS): Increase from 23 to 41.
1004 (FPUL_REGNUM, FP0_REGNUM): New macros.
1005
d1856a18
SS
1006Mon Oct 16 11:27:06 1995 Stu Grossman (grossman@cygnus.com)
1007
1008 * remote-mips.c: Add support for speedy (about 10x faster)
1009 downloads.
1010
1011 * remote-array.c: Move baud_rate initialization from
1012 _initialize_array to array_open. It was forcing the baud rate of
1013 all targets to be 4800 baud! Seems like I've fixed this before...
1014 * config/mips/idt.mt (TDEPFILES): Remove remote-array.o. This
1015 has *nothing* to do with IDT!!!
1016
1017start-sanitize-gdbtk
1018 * gdbtk.c (gdb_disassemble): Use fprintf_unfiltered instead of
1019 fprintf_filtered.
1020end-sanitize-gdbtk
1021
1022 * Makefile.in sh3-rom.c config/sh/sh.mt config/sh/tm-sh.h: Add
1023 sh3 monitor support.
1024 * monitor.c: Cleanup regexp compilation stuff to make it easier
1025 to use several regexps.
1026 * monitor.h: Get rid of struct rom_cmd_data. It's no longer used.
1027 * config/m68k/tm-monitor.h: Don't redefine NUM_REGS here. It just
1028 causes GDB to crash.
1029
1030 * sparcl-tdep.c: Cleanup serial error handling.
1031
1032Sun Oct 15 16:19:27 1995 Stan Shebs <shebs@andros.cygnus.com>
1033
1034 * rs6000-tdep.c: Don't include a.out.h, improve some formatting.
1035
1036Fri Oct 13 15:27:49 1995 Stu Grossman (grossman@cygnus.com)
1037
1038 * dcache.c: Change default value of remotecache to off. It just
1039 screws up too many targets.
1040 * sparcl-stub.c: Add prototypes to many forward decls.
1041 * Create private copies of strlen, strcpy, and memcpy to prevent
1042 chaos when user steps into them.
1043 * (trap_low handle_exception): Clean up DSU support code
1044 (hardware breakpoints). Move lots of stuff from asm-land to
1045 C-land (make it much easier to #ifdef if necessary). Also, use
1046 trap 255 to get into break mode instead of doing a DSU register
1047 write, which may trash the register.
1048 * (putpacket): Don't check return value of putDebugChar. It
1049 returns void...
1050
1051Fri Oct 13 14:16:17 1995 steve chamberlain <sac@slash.cygnus.com>
1052
1053 * remote-sim.h: Always include callback.h.
1054 (sim_set_callbacks): New declaration.
1055
1056Fri Oct 13 10:57:40 1995 Jeffrey A Law (law@cygnus.com)
1057
1058 * somsolib.c (som_solib_add): Just give a warning if a file
1059 mentioned in the dld_list can't be found.
1060 * config/pa/tm-hppah.h (FRAME_SAVED_PC_IN_SIGTRAMP): Dig out
1061 the PC from the PC queues rather than %r31.
1062
1063Thu Oct 12 13:36:15 1995 Jeffrey A Law (law@cygnus.com)
1064
1065 * corelow.c (core_open): Don't update the to_sections and
1066 to_sections_end fields in core_ops here. It's too late.
1067 * irix5-nat.c (solib_add): Update the to_sections and
1068 to_sections_end fields in core_ops here if needed.
1069 * osfsolib.c (solib_add): Likewise.
1070 * rs6000-nat.c (xcoff_relocate_core): Likewise.
1071 * solib.c (solib_add): Likewise.
1072 * somsolib.c (solib_add): Likewise.
1073
1074Wed Oct 11 17:25:59 1995 Fred Fish <fnf@rtl.cygnus.com>
1075
1076 * Makefile.in (VERSION): Bump version to 4.15.1
1077
1078Tue Oct 10 15:26:39 1995 Fred Fish <fnf@cygnus.com>
1079
1080 * Makefile.in (VERSION): Version 4.15 released.
1081 * README: Updated for version 4.15.
1082start-sanitize-gdbtk
1083 * README.GDBTK: Updated for version 4.15
1084end-sanitize-gdbtk
1085 * NEWS: Updated for 4.15 release.
1086
1087Tue Oct 10 13:18:50 1995 Fred Fish <fnf@cygnus.com>
1088
1089 * configure.in: Add AC_PROG_YACC
1090 * configure: Regenerate
1091 * Makefile.in (BISON): Remove macro definition.
1092 (YACC): Set from autoconfig.
1093 (FLAGS_TO_PASS): Remove BISON.
1094 (TARGET_FLAGS_TO_PASS): Remove BISON.
1095
1096Tue Oct 10 12:25:11 1995 steve chamberlain <sac@slash.cygnus.com>
1097
1098 * win32-nat.c (child_create_inferior): Pass argv correctly.
1099 * Makefile.in (win32-nat.o): Add dependencies.
1100
1101Mon Oct 9 14:36:29 1995 steve chamberlain <sac@slash.cygnus.com>
1102
1103 * NEWS: Add information about win32 and arm code.
1104 * win32-nat.c: Renamed from win32.c.
1105 * config/i386/win32.mh: Renamed from config/i386/i386win32.mh.
1106 * config/i386/win32.mt: Renamed from config/i386/i386win32.mt.
1107 * config/i386/tm-win32.h: Renamed from config/i386/tm-i386win32.h.
1108 * config/i386/xm-win32.h: Renamed from config/i386/xm-i386win32.h.
1109 * configure.in (i[345]86-*-win32): Updated to cope with filename
1110 changes.
1111 * configure: Regenerated.
1112
1113Sun Oct 8 18:01:04 1995 Per Bothner <bothner@kalessin.cygnus.com>
1114
1115 * ch-exp.y (yylex): Also look for '$' following '$'.
1116
1117Sat Oct 7 22:52:42 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1118
1119 * ch-exp.y (yylex): Fix typo.
1120
1121Fri Oct 6 11:56:49 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1122
1123 * remote-sim.c (gdbsim_open): Put callback initializations here.
1124 (_initalize_remote_sim): Not here.
1125
1126Fri Oct 6 17:08:49 1995 Stan Shebs <shebs@andros.cygnus.com>
1127
1128 * top.c (execute_control_command): Use 0/1 instead of BFD's
1129 true/false.
1130
1131Fri Oct 6 14:43:19 1995 Stu Grossman (grossman@cygnus.com)
1132
1133 * sparcl-stub.c: Include sparclite.h to get access to register
1134 fondling macros.
1135 * (trap_low): Save and restore FP regs if necessary. Also, clean
1136 up save and restore of debug unit regs.
1137 * (hard_trap_info): Add more architecturally defined traps.
1138 * (set_debug_traps): Only set FP disabled trap if FP is disabled.
1139 * (get_in_break_mode): Clean up. Get rid of calls to
1140 set_hw_breakpoint_trap(). Also, use write_asi macro.
1141 * (handle_exception): Clean up `g' and `G' commands. Add `P'
1142 command.
1143 * (hw_breakpoint): Why was this here!? It's gone now...
1144
1145Fri Oct 6 11:56:49 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1146
1147 * callback.c (fdbad): Fix typo in comment.
1148 (os_close, os_isatty, os_lseek, os_read, os_write): Use if
1149 statements rather than || to get correct return value.
1150 (os_write_stdout): Pass missing first argument to os_write.
1151 * remote-sim.c: Include callback.h.
1152 (_initialize_remote_sim): Call sim_set_callbacks and then
1153 initialize the callbacks.
1154
1155Thu Oct 5 17:28:09 1995 Per Bothner <bothner@kalessin.cygnus.com>
1156
1157 * values.c (allocate_repeat_value): Allocate an array type, and
1158 a value of that type; use that instead of setting VALUE_REPEATED.
1159 * value.h (struct value): Remove fields repetitions and repeated.
1160 (VALUE_REPEATED, VALUE_REPETITIONS): Removed, no longer used.
1161 * c-valprint.c, ch-valprint.c, eval.c, printcmd.c, valops.c,
1162 value.h, values.c: Simplify, since now VALUE_REPEATED is never
1163 used.
1164 * valprint.c (value_print_array_elemen): Removed never-used
1165 function.
1166
1167Thu Oct 5 15:14:36 1995 Per Bothner <bothner@kalessin.cygnus.com>
1168
1169 * parse.c (write_dollar_variable): New function.
1170
1171 * c-exp.y (yylex): Replace code for recognizing '$'
1172 pseudo-variables with a call to write_dollar_variable.
1173 Simplify grammar correspondingly.
1174 * f-exp.y: Likewise.
1175 * m2-exp.y: Likewise.
1176 * ch-exp.y: Likewise. (Remove function match_dollar_tokens.)
1177 * scm-exp.c (scm_lreadr): Call write_dollar_variable to handle '$'.
1178
1179Thu Oct 5 13:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
1180
1181 * win32.c: New file; support for debugging on windows NT.
1182 * configure.in: (i[345]86-*-win32): New target.
1183 * configure: Regnerated.
1184 * eval.c (evaluate_subexp_standard): Remove unused name.
1185 * serial.c (gdb_string.h): Include.
1186 * source.c (value.h): Include.
1187 * config/i386/i386win32.mh (XDEPFILES): Add win32.o
1188 * config/i386/i386win32.mt: New.
1189 * config/i386/tm-i386win32.h: New.
1190
1191Wed Oct 4 18:41:34 1995 Per Bothner <bothner@kalessin.cygnus.com>
1192
1193 * expression.h (enum exp_code): Added OP_NAME.
1194 * expprint.c (print_subexp): Add OP_NAME support.
1195 * parse.c (length_of_subexp, prefixify_subexp): Likewise.
1196 * scm-lang.c (scm_unpack, in_eval_c, scm_lookup_name): new function.
1197 * scm-lang.h: Declare builtin_type_scm; other minor tweaks.
1198 * values.c (unpack_long): If type is SCM, call scm_unpack.
1199 * scm-valprint.c (scm_val_print): Use extract_signed_integer,
1200 instead unpack_long
1201 * scm-lang.c: More Scheme expression parsing from here ...
1202 * scm-exp.c: ... to here. New file.
1203 Also, provide for gdb to evaluate simple constants and names..
1204 * Makefile.in: Note new scm-exp.{c,o}.
1205
1206Wed Oct 4 17:23:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
1207
1208 * gdbtypes.c (get_discrete_bounds): New function.
1209 (force_to_range_type): Use get_discrete_bounds.
1210 * gdbtypes.h (get_discrete_bounds): Add declaration.
1211 * valarith.c (value_bit_index): Generalize to use get_discrete_bounds.
1212 * ch-valprint.c (chill_val_print): Make (power)sets and bitstring
1213 support use get_discrete_bounds and generally be more robust.
1214
1215Tue Oct 3 16:54:56 1995 Stan Shebs <shebs@andros.cygnus.com>
1216
1217 * remote-nrom.c (nrom_ops): Add value for to_thread_alive,
1218 add comments naming slots.
1219
1220Mon Oct 2 21:45:44 1995 Jeff Law (law@hurl)
1221
1222 * top.c (build_command_line): Demand arguments for if/while
1223 commands.
1224
1225Mon Oct 2 13:08:01 1995 Jason Molenda (crash@phydeaux.cygnus.com)
1226
1227 * Makefile.in (X11_CFLAGS): Set only to @X_INCDIR@.
1228
1229Sat Sep 30 16:13:36 1995 Per Bothner <bothner@kalessin.cygnus.com>
1230
1231 * scm-lang.c: Moved Scheme value printing code to ...
1232 * scm-valprint.c: ... this new file.
1233 Also major improvements in support for printing SCM values.
1234 * scm-lang.h: New file.
1235 * scm-tags.h: New file.
1236 * Makefile.in: Note new scm-valprint.{c,o}.
1237
1238Sat Sep 30 09:35:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
1239
1240 * configure.in: X_INCDIR and X_LIBDIR added.
1241 * Makefile.in: @X_INCDIR@ and @X_LIBDIR@ added.
1242 * configure: Regnerated.
1243
1244Fri Sep 29 02:10:05 1995 steve chamberlain <sac@slash.cygnus.com>
1245
1246 * config/arm/tm-arm.h (FRAME_CHAIN, FRAME_CHAIN_VALID):
1247 Any pc > LOWESTPC is ok.
1248
1249 * remote-rdp.c (rdp_init): Take out variable baud rate stuff.
1250 (remote_rdp_detatch): Delete.
1251 * breakpoint.c (ctype.h): Don't include twice.
1252
1253 * Makefile.in (remote-rdp.o): Doesn't need remote-rdp.h
1254 * callback.c (os_printf_filtered): fix protos.
1255 * defs.h (puts_filtered, puts_unfiltered
1256 [v|f|]printf_[un]filtered): Make format arg const.
1257 * remote-rdp.c (rdp_init): Attept to sync at different
1258 baudrates.
1259 * utils.c (puts_filtered, puts_unfiltered
1260 [v|f|]printf_[un]filtered): Define prototypes with
1261 const in the right place.
1262
1263Thu Sep 28 17:43:39 1995 Per Bothner <bothner@kalessin.cygnus.com>
1264
1265 * defs.h (enum language): Add language_scm.
1266 * expression.h (enum exp_code): Added OP_EXPRSTRING.
1267 * scm-lang.c: Preliminary support for Guile /SCM dialect of Scheme.
1268 * expprint.c (print_subexp): Add OP_EXPRSTRING support.
1269 * parse.c (length_of_subexp, prefixify_subexp): Likewise.
1270 * valops.c (find_function_in_inferior): New function.
1271 (value_allocate_space_in_inferior): New function.
1272 (allocate_space_in_inferior): Redefine using previous function.
1273 * Makefile.in (SFILES): Add scm-lang.c.
1274 (COMMON_OBS): Add scm-lang.o
1275
1276Thu Sep 28 14:32:11 1995 steve chamberlain <sac@slash.cygnus.com>
1277
1278 * callback.[ch]: New files.
1279 * remote-rdp.c: Support for the ARM RDP monitor.
1280 * Makefile: Update.
1281 * arm-tdep.c (arm_othernames): New.
1282 (_initialize_arm_tdep): install 'othernames' command.
1283 (arm_nullified_insn, shifted_reg_val, arm_get_next_pc): New.
1284 * configure.in: Check for termios.h, termio.h and sgtty.h.
1285 (i[345]86-*-win32*): New host.
1286 * configure: Regenerated.
1287 * inflow.c: Clean up inclusions.
1288 * main.c (main): Check for WINGDB, not WIN32.
1289 * printcmd.c (do_examine): Put QUIT test in loop.
1290 * remote-hms.c (e7000_load): Delete.
1291 (hms_ops): Point to generic_load instead.
1292 * remote-hms.c (hms_ops): Point to generic_load.
1293 * remote-sim.c (sim_callback_write_stdout): Becomes
1294 gdbsim_write_stdout.
1295 (gdbsim_load): Call generic_load.
1296 * remote-utils.c (gr_load_image): Delete.
1297 * ser-unix.c (terminal.h): Include instead of havig
1298 own #if tree.
1299 (hardwire_flush_input): Reset input buffer too.
1300 * source.c (openp): If WIN32 then open file in binary mode.
1301 * terminal.h: Configure IO mechanism using autoconf defines if
1302 available and not overriden.
1303 * utils.c (quit, pollquit, notice_quit): WIN32 check becomes
1304 WINGDB check.
1305
1306 * config/arm/arm.mt (TDEPFILES): Add remote-rdp.o.
1307 * config/arm/tm-arm.h (TARGET_BYTE_ORDER): becomes
1308 TARGET_BYTE_ORDER_SELECTABLE.
1309 (ADDR_BITS_REMOVE): New.
1310 (ORIGINAL_REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): New.
1311 (INST_xx): New.
1312 (FRAME_FIND_SAVED_REGS): Pass the right argument.
1313 (arm_get_next_pc): Declare.
1314
1315Wed Sep 27 10:14:36 1995 Per Bothner <bothner@kalessin.cygnus.com>
1316
1317 * valops.c (search_struct_field): Also allow "else" as a variant
1318 name.
1319 * eval.c (evaluate_struct_tuple): New function. Used to evaluate
1320 structure tuples. Now also handles Chill variant records.
1321 (get_label): New function, used by evaluate_struct_tuple.
1322 (evaluate_subexp_standard case OP_ARRAY): Use evaluate_struct_tuple.
1323 (evaluate_labeled_field_init): Removed.
1324
1325 * valops.c (search_struct_field): Generalize to work with Chill
1326 variant records.
1327
1328Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1329
1330 * mdebugread.c (parse_partial_symbols): Reset includes_used
1331 and dependencies_used after finishing the partial symbol table.
1332
1333 * rs6000-tdep.c (push_dummy_frame): Handle lr_offset of zero
1334 correctly.
1335
1336 * rs6000-nat.c (xcoff_relocate_core): Don't relocate data
1337 addresses for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE
1338 is defined.
1339 * xcoffread.c: gcc -Wall lint. Remove traceback table reading
1340 code. The existing code tried to add parameter information for
1341 functions compiled without -g, which cannot be done properly
1342 for optimized code and produced misleading parameter displays.
1343 (ef_complaint, eb_complaint): Make a local static copy to avoid
1344 dependency on coffread.c.
1345 (read_xcoff_symtab, process_xcoff_symbol, scan_xcoff_symtab):
1346 Enter C_EXT/C_HIDEXT symbols into the minimal symbol table only.
1347 (read_xcoff_symtab): Ignore C_STAT section auxiliary entry
1348 symbols. Complain about unmatched .ef and .eb symbols instead of
1349 segfaulting.
1350 (process_xcoff_symbol): Determine value of C_GSYM symbols via
1351 the global_sym_chain mechanism in stabsread.c.
1352 (xcoff_new_init): Call stabsread_new_init and buildsym_new_init.
1353 (init_string_tab): Initialize length field bytes in the strtbl.
1354 (scan_xcoff_symtab): Skip symbols that start with `$' or `.$'.
1355 Set first_fun_line_offset for symbols with two auxents only.
1356
1357Wed Sep 20 21:06:35 1995 Jeff Law (law@snake.cs.utah.edu)
1358
1359 * op50-rom.c (op50n_cmds): Send ".\r" after the interrupt
1360 character.
1361
1362Wed Sep 20 13:12:56 1995 Ian Lance Taylor <ian@cygnus.com>
1363
1364 * Makefile.in (maintainer-clean): New target, synonym for
1365 realclean. Add GNU standard maintainer-clean echos.
1366 * gdbserver/Makefile.in (maintainer-clean): New target, synonym
1367 for realclean.
1368 * nlm/Makefile.in (maintainer-clean): Likewise.
1369
1370Wed Sep 20 08:16:03 1995 steve chamberlain <sac@slash.cygnus.com>
1371
1372 * defs.h (xmalloc, xrealloc): Delete, they're declared in libiberty.h.
1373 (GETENV_PROVIDED, FCLOSE_PROVIDED): New.
1374 * doc/gdbint.texinfo (GETENV_PROVIDED, FCLOSE_PROVIDED): Document.
1375 * remote-sim.[ch] (sim_callback_write_stdout): New.
1376
1377Tue Sep 19 15:28:58 1995 Per Bothner <bothner@kalessin.cygnus.com>
1378
1379 * gdbtypes.c (create_set_type): Set TYPE_LENGTH in bytes, not bits.
1380 * valops.c (value_bitstring): TYPE_LENGTH is bytes, not bits.
1381
1382 * gdbtypes.c (force_to_range_type): Calculate upper limit of
1383 TYPE_CODE_CHAR depending on TYPE_LENGTH (instead of just using 255).
1384
1385Mon Sep 18 01:43:42 1995 Jeff Law (law@snake.cs.utah.edu)
1386
1387 * somsolib.c (auto_solib_add_at_startup): Delete definition. No
1388 longer needed.
1389
1390Sat Sep 16 13:23:36 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1391
1392 * config/mips/tm-mips.h (UNUSED_REGNUM): Define.
1393 * mipsv4-nat.c (supply_gregset): Fill UNUSED_REGNUM register
1394 with zero.
1395
1396Thu Sep 14 17:35:24 1995 Stu Grossman (grossman@cygnus.com)
1397
1398 * remote-sim.c (gdbsim_create_inferior): Back out change that
1399 broke all simulator configurations except the rs6000.
1400
1401Thu Sep 14 14:44:59 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1402
1403 * monitor.c (monitor_expect): Discard NULL characters.
1404
1405Thu Sep 14 14:12:30 1995 Kung Hsu <kung@mexican.cygnus.com>
1406
1407 * infcmd.c: Add extern declaration for auto_solib_add_at_startup.
1408
1409Wed Sep 13 13:33:58 1995 Kung Hsu <kung@mexican.cygnus.com>
1410
1411 * symfile.c: Move global variable auto_solib_add_at_startup from
1412 solib.c to symfile.c.
1413 * solib.c: ditto.
1414 * symfile.h: Add extern declaration of the above mentioned variable.
1415 * infcmd.c: Take out extern declaration, since it's in symfile.h.
1416
1417Thu Sep 14 12:39:35 1995 Stu Grossman (grossman@cygnus.com)
1418
1419 * coffread.c (coff_symtab_read): Complain about unmatched .ef and
1420 .eb symbols instead of segfaulting.
1421
1422Wed Sep 13 13:33:58 1995 Kung Hsu <kung@mexican.cygnus.com>
1423
1424 * stabsread.c (read_one_struct_field): Use subfile language instead of
1425 global language. Improve efficiency.
1426
1427Wed Sep 13 08:45:02 1995 Jeff Law (law@fast.cs.utah.edu)
1428
1429 * somsolib.c (auto_solib_add_at_startup): Define new global variable.
1430 (som_solib_create_inferior_hook): Don't add libraries if
1431 auto_solib_add_at_startup is zero.
1432 (_initialize_som_solib): Add command to toggle
1433 auto_solib_add_at_startup.
1434
1435Tue Sep 12 19:37:24 1995 Jeff Law (law@snake.cs.utah.edu)
1436
1437 * monitor.c (monitor_make_srec): Fix thinkos in computation
1438 of addr_size.
1439
1440Tue Sep 12 15:46:18 1995 Kung Hsu <kung@mexican.cygnus.com>
1441
1442 * stabsread.c (read_one_struct_field): Add a patch to handle cfront
1443 generated stabs that each field is in full mangled name.
1444
1445 * stabsread.c: To include language.h and expression.h for the reason
1446 above.
1447
1448 * infcmd.c (attach_command): Add solibs only when
1449 auto_solib_add_at_startup is set.
1450
1451Mon Sep 11 17:22:35 1995 Fred Fish <fnf@cygnus.com>
1452
1453 * NEWS: Add information about remote target caching.
1454
1455Sun Sep 10 15:36:21 1995 Fred Fish <fnf@cygnus.com>
1456
1457 * defs.h: Only include mmalloc.h if NO_MMALLOC is not
1458 defined.
1459
1460Sun Sep 10 10:24:48 1995 Michael Tiemann <tiemann@axon.cygnus.com>
1461
1462 * tm-ppc-eabi.h (PC_IN_CALL_DUMMY): Redefine this to work with the
1463 simulator. FIXME.
1464
1465 * rs6000-tdep.c (push_dummy_frame): Calculate the correct link
1466 register offset from the current frame (don't assume it is always 8).
1467 (push_dummy_frame): Add comment about having only 4096 bytes of
1468 stack space in the simulator (by default).
1469
1470 * remote-sim.c (gdbsim_create_inferior): Call
1471 `add_text_to_loadinfo' so that gdb can find TOC entries when
1472 calling functions in the inferior.
1473
1474Sun Sep 10 09:00:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1475
1476 * sparc-tdep.c (fill_fpregset): Fix incorrect FP_MAX_REGNUM
1477 substitution.
1478 (supply_fpregset): Use FP_MAX_REGNUM.
1479
1480Sat Sep 9 08:21:52 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1481
1482 * stabsread.c (read_enum_type): Exit loop for putting pending
1483 enum symbols into the enum type correctly if we had no pending
1484 symbols on entry to read_enum_type.
1485
1486Fri Sep 8 12:57:41 1995 Kung Hsu <kung@mexican.cygnus.com>
1487
1488 * inferior.h: Add extern declaration of inferior_environ.
1489 * solib.c (solib_map_sections): To get inferior's env instead of
1490 gdb's for LD_LIBRARY_PATH, same for PATH.
1491
1492 * solib.c (solib_map_sections): Copy full path name into so_list
1493 structure so that symbol_file_add can find it.
1494
1495Tue Sep 5 17:47:53 1995 Doug Evans <dje@canuck.cygnus.com>
1496
1497 * config/sparc/tm-sp64.h (REGISTER_RAW_SIZE): Lower 32 fp regs
1498 have size 4.
1499 (REGISTER_VIRTUAL_SIZE): Likewise.
1500 (REGISTER_VIRTUAL_TYPE): Lower 32 fp regs have type float.
1501 Upper 32 fp regs have type double.
1502 * sparc-tdep.c (NUM_SPARC_FPREGS): Replace with
1503 (FP_REGISTER_BYTES): this, and update all uses.
1504 (FP_MAX_REGNUM): Define if not already.
1505 (get_saved_register): Handle new sparc64 fp regs.
1506 (sparc_frame_find_saved_regs): Likewise.
1507 (sparc_print_register_hook): Only print fp regs < 32 as doubles.
1508 Add code to handle long doubles when gdb does.
1509 (_initialize_sparc_tdep): Use print_insn_sparc64 if sparc64.
1510
1511Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1512
1513 * configure.in: Explicitly `exit 0' for broken shells.
1514 * configure: Rebuilt.
1515
1516 * symtab.c (list_symbols): Add missing blank after
1517 `<function, no debug info>' output.
1518
1519 * valops.c (value_assign): Handle truncation when assigning
1520 to bitfields. Use value_copy to construct the return value
1521 from toval.
1522 * values.c (value_copy): Copy VALUE_FRAME and VALUE_OPTIMIZED_OUT.
1523
1524Fri Sep 1 08:25:50 1995 James G. Smith <jsmith@beauty.cygnus.com>
1525
1526 * configure (mips64*vr4300*-*-elf): Support added.
1527 * remote-mips.c (mips_readchar): Change to allow build-time prompt
1528 string.
1529 * config/mips/tm-mips.h: Added TARGET_MONITOR_PROMPT.
1530 * config/mips/{vr4300.mt, vr4300el.mt, tm-vr4300.h,
1531 tm-vr4300el.h}: Added.
1532
1533Thu Aug 31 12:48:04 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1534
1535 * config/sh/sh.mt (SIM): Add -lm.
1536
1537Wed Aug 30 18:10:57 1995 Kung Hsu <kung@mexican.cygnus.com>
1538
1539 * rmote-nindy.c (non_dle, nidy_resume, nindy_wait): Changes to
1540 conform to GNU coding standards.
1541
1542 * solib.c (match_main): Modify to follow GNU coding conventions.
1543
1544Mon Aug 28 17:07:26 1995 Kung Hsu <kung@lisa.cygnus.com>
1545
1546 * remote.c (remote_wait): Revert 19 July my change which should be
1547 customer specific.
1548
1549Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1550
1551 * mdebugread.c (parse_symbol): Handle sh.value of zero for enums.
1552 Determine signedness of enum type from enumerators.
1553 (parse_type): Handle btIndirect types, handle fBitfield for
1554 some non-member types.
1555 (upgrade_type): Use TYPE_FLAG_TARGET_STUB for arrays with
1556 unknown length.
1557 (cross_ref): Handle stIndirect forward reference to btTypedef.
1558
1559 * stabsread.c (read_enum_type): Determine signedness of enum
1560 type from enumerators.
1561
1562 * top.c (execute_command): Remove trailing whitespace from
1563 command arguments, except for `set' and `complete' commands.
1564 (validate_comname): Allow underscores in user defined command
1565 names.
1566
1567 * values.c (modify_field): Change `Value does not fit in %d bits'
1568 error to a warning. Exclude sign extension bits of negative field
1569 values from fit check.
1570
1571Fri Aug 25 11:31:29 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1572
1573 * configure.in (powerpc*-*-eabisim*): Only link in the simulator
1574 if the target is powerpc{,le}-*-eabisim*, since the simulator
1575 needs GCC to build.
1576 * config/powerpc/ppc{,le}-sim.mt: Cloned from ppc{,le}-eabi.mt.
1577 * config/powerpc/ppc{,le}-eabi.mt: Remove simulator support.
1578 * config/powerpc/tm-ppc{,le}-sim.mt: Include tm-ppc{,le}-sim.h.
1579
1580Wed Aug 23 16:55:35 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1581
1582 * config/powerpc/ppc{,le}-eabi.mt (SIM_OBJS, SIM): Link in the
1583 PowerPC simulator.
1584
1585Tue Aug 22 02:00:47 1995 Jeff Law (law@snake.cs.utah.edu)
1586
1587 * tm-hppa.h (EXTRACT_RETURN_VALUE): Fix for FP values.
1588
1589 * tm-hppa.h (STORE_RETURN_VALUE): Fix to work with -msoft-float
1590 calling conventions too. Use the TYPE of the return value, not
1591 its length to determine if it should also be copied into the
1592 floating point registers.
1593
1594 * tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete. Causes more
1595 problems than it fixes.
1596 * hppa-tdep.c (skip_prologue): If we exit the main loop without
1597 finding all the register saves, retry again without looking for
1598 the registers we could not find the first time.
1599
1600Mon Aug 21 23:39:56 1995 Jeff Law (law@snake.cs.utah.edu)
1601
1602 * hppa-tdep.c (frame_chain_valid): Handle systems where "$START$"
1603 calls "main" directly.
1604 (skip_prologue): Always assume arguments were saved into the stack
1605 since GCC will do so without setting the magic Args_Saved bit in
1606 the unwind descriptor.
1607
1608Mon Aug 21 11:49:17 1995 Kung Hsu <kung@mexican.cygnus.com>
1609
1610 * remote-udi.c (udi_wait): Mask off high bits of stop reason.
1611 * remote-udi.c (fetch_register): For unfetchable regs, pretend it's
1612 done. Fix a bug.
1613
1614Mon Aug 21 00:45:17 1995 Jeff Law (law@snake.cs.utah.edu)
1615
1616 * Makefile.in (install): Remove "brokensed" hack, unnecessary now
1617 that we're using autoconf.
1618 (uninstall): Likewise.
1619
1620start-sanitize-gdbtk
1621Sat Aug 19 17:20:22 1995 Michael Tiemann <tiemann@axon.cygnus.com>
1622
1623 * gdbtk.tcl: ENABLE comes back as "1" or "0", not "enable" or
1624 "disable".
1625 Also, wire up the breakpoint window so that it can be demo'd.
1626end-sanitize-gdbtk
1627
1628Sat Aug 19 01:19:34 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1629
1630 * gdbtypes.c (recursive_dump_type): Add dont_print_type_obstack
1631 to inhibit infinite recursion when printing aggregate types.
1632
1633Fri Aug 18 17:48:55 1995 steve chamberlain <sac@slash.cygnus.com>
1634
1635 * dcache.c (dcache_write_line): Write dirty lines right.
1636
1637Fri Aug 18 06:26:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1638
1639 * sparc-tdep.c (isbranch): Fix typo which caused wrong
1640 target addresses for annulled branches.
1641
1642Wed Aug 16 21:54:39 1995 Jeff Law (law@snake.cs.utah.edu)
1643
1644 * config/pa/tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Define.
1645
1646Tue Aug 15 07:51:21 1995 steve chamberlain <sac@slash.cygnus.com>
1647
1648 * remote.c (remote_write_bytes): Chop up large transfers.
1649
1650Mon Aug 14 17:56:36 1995 Stan Shebs <shebs@andros.cygnus.com>
1651
1652 * gcc.patch: Remove, relevant only to long-ago versions of GCC.
1653
1654Mon Aug 14 13:43:01 1995 Kung Hsu <kung@mexican.cygnus.com>
1655
1656 * config/sparc/tm-sparclite.h: Define FRAME_CHAIN_VALID_ALTERNATE.
1657 * blockframe.c (inside_main_func): If main func addr range not set,
1658 try to set it now.
1659
1660Sat Aug 12 15:34:54 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1661
1662 * config/powerpc/xm-aix.h (FIVE_ARG_PTRACE): Define.
1663 * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise.
1664
1665 * configure.in: Recognize aix4 specially as some aspects
1666 of aix4 need different handling than aix3.
1667 * configure: Updated.
1668 * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: New files
1669 specific to aix4 support on the power pc.
1670 * config/powerpc/tm-ppc-aix.h (DONT_RELOCATE_SYMFILE_OBJFILE): Do
1671 not defined. The aix4 specific target files will do that.
1672 * config/rs6000/{aix4,mh,aix4,mt,tm-rs6000-aix4.h}: New files
1673 specific to aix4 support on the rs6000.
1674
1675 * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): Don't
1676 do the conversion if the pointer is not a magic aix function
1677 pointer.
1678 * rs6000-tdep.c: Include objfiles.h and symtab.h.
1679 (is_magic_function_pointer): New function.
1680
1681 * rs6000-tdep.c (skip_prologue): Refine check for frameless
1682 functions. Handle b .+4 emitted by aix4 compilers. Only
1683 allow one load of a minimal toc pointer. Handle aix4 compiler's
1684 code for alloca.
1685
1686 * rs6000-tdep.c (find_toc_address): Report an error if no toc was
1687 found rather than possibly core dumping.
1688
1689 * partial-stab.h: Handle extra field generated by the aix4 compiler
1690 for enumerations.
1691 * stabsread.c (read_enum_type): Likewise.
1692
1693Sat Aug 12 03:18:04 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1694
1695 * rs6000-tdep.c (extract_return_value): Fix returning of values
1696 whose length is less than the register size for big endian targets.
1697
1698Fri Aug 11 13:04:32 1995 Kung Hsu <kung@mexican.cygnus.com>
1699
1700 * symtab.c (list_symbols): if break command set breakpoint on
1701 matched symbol.
1702
1703Wed Aug 9 18:59:05 1995 Fred Fish <fnf@cygnus.com>
1704
1705 * defs.h (strchr, strrchr, strstr, strtok, strerror): Enclose in
1706 #ifndefs to protect against previous definitions as macros.
1707
1708Wed Aug 9 14:51:36 1995 Kung Hsu <kung@mexican.cygnus.com>
1709
1710 * xcoffread.c (xcoff_symfile_offset): Revert an unwanted change
1711 that got in accidentally with Aug 1 change.
1712
1713Sat Aug 5 09:07:28 1995 steve chamberlain <sac@slash.cygnus.com>
1714
1715 * remote-hms.c (hms_cmds): Get reg term right.
1716 * monitor.c (monitor_fetch_register): If we see
1717 a non-hex digit, just stop reading.
1718 * remote.c (remote_wait): Change way $O is handled.
1719
1720Wed Aug 9 11:42:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1721
1722 * configure.in (powerpc-*-aix*): Recognize as a new gdb host
1723 and target.
1724 (powerpc-*-eabi*): Don't set configdirs.
1725 (powerpcle-*-eabi*): Likewise.
1726 * configure: Updated.
1727 * rs6000-nat.c (vmap_ldinfo): Don't relocate data addresses
1728 for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE is
1729 defined.
1730 * config/powerpc/{aix.mh,aix.mh}: Host and target makefile fragments
1731 for powerpc running aix4.
1732 * config/powerpc/{nm-aix.h, tm-ppc-aix.h, xm-aix.h}: Native, target
1733 and host include files for powerpc running aix4.
1734
1735Wed Aug 9 08:11:45 1995 Stan Shebs <shebs@cygnus.com>
1736
1737 * top.c (target_output_hook): Really make it match defs.h (char *
1738 is not the same as unsigned char *).
1739
1740Tue Aug 8 15:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1741
1742 * Makefile.in (CXX_FOR_TARGET): Don't use ${rootme}/../gcc/xgcc
1743 unless it is present.
1744
1745Tue Aug 8 10:50:15 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1746
1747 * top.c (target_output_hook): Make declaration match the one
1748 in defs.h.
1749
1750 * symfile.c (add_psymbol_to_list): Initialize SYMBOL_SECTION.
1751 (add_psymbol_addr_to_list): Likewise.
1752 * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Likewise.
1753
1754Mon Aug 7 15:34:29 1995 steve chamberlain <sac@slash.cygnus.com>
1755
1756 * top.c (target_output_hook): New definition.
1757 * stack.c (gdb_string.h): Include after defs.h
1758 * defs.h (target_output_hook): New declaration.
1759 * source.c (mod_path): Fix Win32 \ handling.
1760
1761Sun Aug 6 22:14:25 1995 Jeff Law (law@snake.cs.utah.edu)
1762
1763 * hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointer
1764 out of a long branch stub.
1765
1766Fri Aug 4 13:37:31 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1767
1768 * xcoffread.c (process_linenos): Fix typo in last change.
1769
1770Thu Aug 3 22:01:26 1995 Fred Fish <fnf@rtl.cygnus.com>
1771
1772 * ch-exp.y (write_lower_upper_value): Add prototype so bison
1773 generated parser will insert prototype before first func usage.
1774 Bison and byacc order the output sections differently. Also
1775 make function static.
1776
1777Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1778
1779 * Update all FSF addresses except those in COPYING* files.
1780
1781Thu Aug 3 01:38:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1782
1783 * config/alpha/tm-alpha.h (EXTRA_FRAME_INFO): Add pc_reg field.
1784 (SKIP_TRAMPOLINE_CODE): Define.
1785 * alpha-tdep.c (alpha_frame_saved_pc): Use pc_reg field from
1786 frame to find the saved pc register.
1787 (alpha_saved_pc_after_call): Skip over shared library trampoline
1788 before trying to find the saved pc register.
1789 (find_proc_desc): Copy PROC_PC_REG from found proc_desc
1790 to heuristic proc_desc.
1791 (init_extra_frame_info): Initialize pc_reg field in frame.
1792
1793Wed Aug 2 18:00:36 1995 Stan Shebs <shebs@andros.cygnus.com>
1794
1795 * configure.in (m68*-est-*): Use monitor target config.
1796 * configure: Update.
1797 * config/m68k/est.mt, config/m68k/tm-est.h: Delete.
1798 * config/m68k/monitor.mt, config/m68k/tm-monitor.h: Fix comments.
1799
1800Tue Aug 1 22:52:53 1995 Fred Fish <fnf@cygnus.com>
1801
1802 * Makefile.in (VERSION): Bump to 4.14.2
1803
1804Tue Aug 1 16:04:36 1995 Kung Hsu <kung@mexican.cygnus.com>
1805
1806 * xcoffread.c (process_linenos): The value in include file symbol
1807 should point to line number table. Currently this value is not
1808 set correctly by AIX ld. A fix to get around this bug.
1809
1810Tue Aug 1 11:44:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1811
1812 * configure.in: Check for working mmap, ansi headers, string.h,
1813 strings.h, and memory.h.
1814 * configure: Regenerated.
1815
1816 * gdb_stat.h: New file, "portable" <sys/stat.h>.
1817 * gdb_string.h: New file, "portable" <string.h>.
1818
1819 * altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c,
1820 convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c,
1821 gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c,
1822 i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c,
1823 mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c,
1824 rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c,
1825 symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c,
1826 ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h"
1827 instead of <sys/stat.h>.
1828
1829 * alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c,
1830 ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c,
1831 core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c,
1832 dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c,
1833 exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c,
1834 fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c,
1835 inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c,
1836 m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c,
1837 monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c,
2bf15e13 1838 printcmd.c, procfs.c, regex.c, remote-adapt.c,
d1856a18
SS
1839 remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c,
1840 remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c,
1841 remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c,
1842 remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c,
1843 remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c,
1844 solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c,
1845 symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c,
1846 valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include
1847 "gdb_string.h" instead of <string.h>.
1848start-sanitize-gdbtk
1849 * gdbtk.c: Likewise.
1850end-sanitize-gdbtk
1851
1852 * config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h,
1853 sparc/xm-sun4os4.h (HAVE_MMAP): Removed.
1854
1855 * config/xm-lynx.h, config/i386/xm-ptx.h,
1856 config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h,
1857 config/mips/xm-irix3.h, config/mips/xm-mips.h,
1858 config/mips/xm-news-mips.h, config/mips/xm-riscos.h,
1859 config/pa/hppah.h, config/rs6000/xm-rs6000.h,
1860 config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
1861 config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h,
1862 config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed.
1863 * config/mips/xm-irix3.h, config/mips/xm-mips.h,
1864 config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
1865
1866Tue Aug 1 02:08:30 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1867
1868 * mips-tdep.c (mips_extract_return_value): Fix returning of
1869 values whose length is less than the register size for big endian
1870 targets.
1871 * alpha-tdep.c (alpha_extract_return_value,
1872 alpha_store_return_value): Use alpha_convert_register_to_*
1873 to handle functions returning "float" correctly.
1874
1875Mon Jul 31 19:12:48 1995 Stan Shebs <shebs@andros.cygnus.com>
1876
1877 * h8500-tdep.c: General linting and cleanup.
1878 (opcodes/h8500-opc.h): Don't include.
1879 (code_size, data_size): Make static.
1880 (frame_locals_address, frame_args_address): Remove.
1881 (h8300_pop_frame): Rename to h8500_pop_frame.
1882 (big_command, medium_command, compact_command, small_command):
1883 Define as regular functions rather than with macro trickery.
1884 (tm_print_insn): Set to correct disassembler function.
1885 * config/h8500/tm-h8500.h: Minor cleanup, add prototypes.
1886 (ABOUT_TO_RETURN): #if 0 out.
1887 (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Use usual define.
1888 (GDB_TARGET_IS_H8500): Remove duplicate definition.
1889 (regoff): Remove, never used.
1890 * config/h8500/h8500.mt (TDEPFILES): Add monitor.o.
1891
1892Mon Jul 31 14:32:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1893
1894 * configure.in: Check for unistd.h.
1895 * configure: Regenerated.
1896
1897 * command.c, cp-valprint.c, fork-child.c, i386-tdep.c,
1898 i386b-nat.c, inflow.c, main.c, maint.c, objfiles.c, solib.c,
1899 source.c, stack.c, symfile.c, top.c, utils.c: Include strings.h
1900 and/or unistd.h to bring prototypes into scope.
1901
1902Sun Jul 30 01:40:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1903
1904 * rs6000-tdep.c (frame_saved_pc): Check for signal handler caller
1905 before trying to determine the start of the function.
1906 (skip_prologue): Skip subroutine call which might save the
1907 floating point registers only if it is within the first three
1908 instructions.
1909 Reinstate setting of alloca_reg if setup of a gcc frame pointer
1910 is found.
1911 (frame_get_cache_fsr): Use new fields in rs6000_framedata.
1912
1913Sat Jul 29 14:43:35 1995 Stan Shebs <shebs@andros.cygnus.com>
1914
1915 * sparclite: Removed subdirectory. aload and eload are now in
1916 utils/sparclite, low-level library is in libgloss.
1917 * configure.in (sparclite*): Don't configure sparclite subdir.
1918 * configure: Update.
1919 * Makefile.in (TARDIRS): Remove, no longer used.
1920
1921Sat Jul 29 01:45:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1922
1923 * procfs.c (unconditionally_kill_inferior): Clear current signal
1924 if PROCFS_NEED_CLEAR_CURSIG_FOR_KILL is defined.
1925 * config/alpha/nm-osf3.h (PROCFS_NEED_CLEAR_CURSIG_FOR_KILL): Define.
1926
1927 * alpha-tdep.c: Move sigtramp handling of saved registers from
1928 read_next_frame_reg to alpha_find_saved_regs, handle saved
1929 floating point registers.
1930 * mips-tdep.c: Move sigtramp handling of saved registers from
1931 read_next_frame_reg to mips_find_saved_regs, handle saved
1932 floating point registers.
1933 * config/mips/tm-irix3.h, config/mips/tm-irix5.h,
1934 config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF): Define.
1935
1936 * sparc-tdep.c (sparc_pc_adjust): Fix check for `unimp'
1937 instruction to handle functions returning structures with
1938 large sizes properly.
1939
1940Fri Jul 28 11:50:17 1995 steve chamberlain <sac@slash.cygnus.com>
1941
1942 * configure, configure.in (z8k-*-sim): deleted.
1943
1944Thu Jul 27 12:49:28 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1945
1946 * lynx-nat.c (child_wait): Handle threads exiting.
1947
1948Thu Jul 27 07:47:50 1995 Michael Meissner <meissner@cygnus.com>
1949
1950 * rs6000-tdep.c (skip_prologue): Don't assume the update stack
1951 instruction is the last in the prologue, since xlc stores the lr
1952 after the stack update. Make sure offset is correct sign for
1953 large frames.
1954 (frame_saved_pc): Move test for signal before frameless.
1955
1956 * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Define.
1957 * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Redefine.
1958
1959Thu Jul 27 01:22:08 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1960
1961 * hppa-tdep.c (hppa_fix_call_dummy): Rewrite code for calling
1962 into shared libraries.
1963
1964Wed Jul 26 23:33:34 1995 Michael Meissner <meissner@cygnus.com>
1965
1966 * config/rs6000/tm-rs6000.h (rs6000_framedata): Add offsets the
1967 gprs, fprs, lr, and cr is stored at.
1968 (FRAME_FIND_SAVED_REGS): Use new fields in rs6000_framedata.
1969 (function_frame_info): Delete declaration.
1970 (SKIP_PROLOGUE): Skip_prologue is now passed a rs6000_framedata
1971 structure to fill in.
1972 (FRAMELESS_FUNCTION_INVOCATION): Function now longer takes a
1973 second argument.
1974 (FRAME_SAVED_PC): Call frame_saved_pc.
1975
1976 * rs6000-tdep.c (skip_prologue): Recognize V.4 prologues as well
1977 as AIX style. Fill in rs6000_framedata structure. Remember where
1978 the gprs, fprs, cr, and lr are saved.
1979 (pop_frame): Use skip_prologue, not function_frame_info, and use
1980 new rs6000_framedata fields.
1981 (function_frame_info): Function deleted.
1982 (frameless_function_invocation): Separate frame_saved_pc support
1983 to new function. Recognize V.4 frames.
1984 (frame_saved_pc): New function.
1985 (frame_get_cache_fsr): Use skip_prologue, not function_frame_info.
1986 (frame_initial_stack_address): Ditto.
1987
1988Wed Jul 26 01:00:37 1995 Jeff Law (law@snake.cs.utah.edu)
1989
1990 * remote.c: Add documentation for extended protocol operations
1991 and for thread_alive change from a couple weeks ago.
1992 (extended_remote_ops): Declare and define a new target vector
1993 for the extended remote protocol.
1994 (extended_remote_restart): New function to restart the remote
1995 server & process.
1996 (remote_open): Just a stub routine.
1997 (extended_remote_open): New function to start a remote session
1998 using the extended gdb remote protocol.
1999 (remote_open_1): New function containing code common to both
2000 remote_open and extended_remote_open.
2001 (remote_mourn, extended_remote_mourn, remote_mourn_1): Similarly.
2002 (extended_remote_create_inferior): New function for the extended
2003 remote target.
2004 (initialize_remote): Add the extended_remote_ops target vector.
2005 * gdbserver/server.c (main, case '!'): Set extended_protocol.
2006 (main, case 'k'): If the extended protocol is in use, kill the
2007 inferior then start a new one.
2008 (main, case 'R'): New command to restart the remote server and
2009 inferior process. Only supported when using the extended
2010 protocol.
2011 (main, server loop): If the inferior terminates while using the
2012 extended protocol then start a new one. If getpkt fails when
2013 using the extended protocol then exit.
2014
2015Tue Jul 25 11:43:44 1995 Stan Shebs <shebs@andros.cygnus.com>
2016
2017 * mdebugread.c (psymtab_to_symtab_1): Relocate encoded stab
2018 line numbers using the psymtab's section offsets.
2019
2020Tue Jul 25 10:43:27 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2021
2022 * config/rs6000/tm-rs6000.h (rs6000_framedata): Rename from
2023 aix_framedata. Change all uses.
2024 * rs6000-tdep.c: Change all aix_framedata -> rs6000_framedata.
2025
2026Sat Jul 22 23:44:18 1995 Jeff Law (law@snake.cs.utah.edu)
2027
2028 * defs.h (ATTR_FORMAT): Disable if ANSI_PROTOTYPES is not defined.
2029
2030Fri Jul 21 16:50:28 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2031
2032 * lynx-nat.c (child_thread_alive): New function. Somehow I
2033 forgot to check this in with all the other thread_alive changes.
2034
2035Thu Jul 20 22:22:34 1995 Jeff Law (law@snake.cs.utah.edu)
2036
2037 * somread.c (som_symtab_read): Add unsatisfied common symbols to
2038 the minimal symbol table. All common symbols are "unsatisfied"
2039 when -E is passed to the linker.
2040
2041Thu Jul 20 15:04:57 1995 Fred Fish <fnf@cygnus.com>
2042
2043 * top.c (show_endian): Cast first arg of printf_unfiltered to
2044 correct type of "char *".
2045
2046Thu Jul 20 14:18:51 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2047
2048 * lynx-nat.c (child_wait): A thread_id of zero from wait apparently
2049 means the process is single threaded, so there's no need to add
2050 it to the thread list. Handle case where multi-threaded process
2051 reverts back to a single-threaded process.
2052
2053 * gdbserver/low-hppabsd.c: Remove error declaration.
2054 * gdbserver/low-sparc.c: Likewise.
2055 * gdbserver/low-sun3.c: Likewise.
2056 * gdbserver/server.h: Remove error and fatal declaration.
2057 * gdbserver/utils.c (error): Update to be compatable with recent
2058 changes in defs.h.
2059 (fatal): Likewise.
2060
2061Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2062
2063 * config/m68k/tm-m68kv4.h (DWARF_REG_TO_REGNUM): Define to
2064 correctly map floating point registers numbers.
2065
2066 * dwarfread.c (locval, new_symbol): Handle variables that are
2067 optimized out.
2068
2069 * mdebugread.c: Replace all uses of builtin_type_* with
2070 mdebug_type_*. Define and initialize mdebug_type_*.
2071
2072 * serial.h (serial_close): Add additional argument `really_close'.
2073 (SERIAL_CLOSE): Update serial_close call accordingly.
2074 (SERIAL_UN_FDOPEN): Use serial_close to handle refcnt properly.
2075 * serial.c (serial_close): Handle `really_close'.
2076 * serial.h (scb_base): Moved to serial.c, made static.
2077
2078 * valops.c (value_addr): Don't coerce arrays.
2079 (typecmp): Coerce arrays instead of calling value_addr if necessary.
2080
2081Wed Jul 19 18:19:28 1995 Stan Shebs <shebs@andros.cygnus.com>
2082
2083 From Richard Earnshaw (rearnsha@armltd.co.uk):
2084 * infrun.c (wait_for_inferior): Set the convenience variable
2085 $_exitcode to the termination code of the inferior.
2086 * top.c (quit_command): Accept optional expression to use
2087 as parameter to exit().
2088
2089Wed Jul 19 13:15:32 1995 Kung Hsu <kung@mexican.cygnus.com>
2090
2091 * remote.c (remote_wait): When getting registers, check endianess and
2092 do conversion if necessary.
2093
2094Tue Jul 18 00:41:31 1995 Jeff Law (law@snake.cs.utah.edu)
2095
2096 * gdbserver/low-hppabsd.c: New file.
2097 * gdbserver/Makefile.in (SFILES): Add low-hppabsd.c.
2098 * config/pa/hppabsd.mh (XDEPFILES): Add ser-tcp.o.
2099 (GDBSERVER_DEPFILES): Add low-hppabsd.o.
2100 * config/pa/hppaosf.mh: Likewise.
2101
2102Mon Jul 17 21:35:18 1995 Fred Fish <fnf@cygnus.com>
2103
2104 * dache.c (struct dcache_block): Change data member from unsigned
2105 char to char, since everything passed in and out of dcache is char
2106 or casted to appropriate type anyway.
2107 (dcache_alloc): Move assignment of db out of test and combine
2108 separate tests into if-else.
2109 (dcache_peek_byte): Change ptr from unsigned char* to char*.
2110 (dcache_peek_byte): Remove now unnecessary cast in read_memory call.
2111 (dcache_peek): Change cast of incoming data arg.
2112 (dcache_poke): Change cast of addr of incoming data arg.
2113 (dcache_info): Mask data passed to printf_filtered to lsbyte only.
2114 (dcache_info): Change printf_filtered arg from "% 2x" to " %2x".
2115 * target.c (debug_to_thread_alive): Change return type to int and
2116 return zero, for type compatibility with other *_thread_alive
2117 funcs.
2118 (cleanup_target): Change cast of ignore function to match type of the
2119 to_thread_alive member.
2120 * defs.h (error_hook): Add ATTR_NORETURN.
2121 * defs.h (NORETURN, ATTR_NORETURN): Switch from volatile to
2122 __attribute__ method with gcc 2.7, to avoid gcc 2.6.3 bug.
2123 * remote.c (remote_wait): Cast first arg to strtol, strchr, and
2124 strncmp to "const char *" from "unsigned char *".
2125 (remote_wait): Cast arg to putpkt and strcpy from "unsigned char *"
2126 to "char *".
2127 (remote_wait): Change printf format for long arg from "%d" to "%ld".
2128 (getpkt): Remove unused variable "bp".
2129 (remote_fetch_word, remote_store_word): Ifdef out apparently unused
2130 functions.
2131 * breakpoint.c (watchpoint_check): Removed unused variables
2132 "saved_level" and "saved_frame".
2133 * valops.c (value_arg_coerce): Add other enum TYPE_CODE_* and
2134 default cases to switch for completeness.
2135 * infrun.c (wait_for_inferior): Enclose "have_waited" label
2136 in #ifdef that matches the one in which it is referenced.
2137 * ser-unix.c (hardwire_noflush_set_tty_state): Enclose otherwise
2138 unused variable "state" in #ifdef that matches one in which it is
2139 referenced.
2140 * eval.c (evaluate_subexp_standard): Remove unused variable "var".
2141 * eval.c (evaluate_subexp_standard): Remove unused variable
2142 "tmp_symbol".
2143 * valarith.c (value_subscript): Remove unused variable
2144 "lowerbound", which is redeclared in a nested scope prior to use.
2145 * printcmd.c (print_frame_nameless_args): Use "%ld" to print long
2146 arg, not "%d".
2147 * {mem-break.c, remote-pa.c, remote.c, saber.suppress}:
2148 Remove unused static var "check_break_insn_size".
2149 * buildsym.c (finish_block): Add other enum LOC_* and default
2150 cases to switch for completeness.
2151 ch-lang.c (type_lower_upper): Removed unused label "retry".
2152 Add other enum TYPE_* and default cases to switch for completeness.
2153 * f-typeprint.c (f_type_print_args): Ifdef out unused function
2154 that may be used someday when Fortran support is complete.
2155 * ch-valprint.c (chill_print_type_scalar): Add other enum
2156 TYPE_* and default cases to switch for completeness.
2157 (chill_val_print): Remove unused local var "high_bound" that
2158 is redeclared in a nested scope prior to use.
2159 (chill_var_print): Use "%ld" to print long arg, not "%d".
2160 * regex.c (re_compile_fastmap, re_match_2): Add remaining enum
2161 types and default to switches for completeness.
2162 * minsyms.c (lookup_minimal_symbol_text): Delete unused variable
2163 "trampoline_symbol".
2164 (prim_record_minimal_symbol_and_info): Return NULL rather than
2165 trash.
2166 * elfread.c (elf_symtab_read): Don't dereference NULL returns from
2167 record_minimal_symbol_and_info.
2168 * f-lang.c (saved_function_list_end): Ifdef out unused variable
2169 that may be used someday.
2170 * f-valprint.c (f_val_print): Remove unused local "straddr".
2171
2172Mon Jul 17 13:08:00 1995 Ian Lance Taylor <ian@cygnus.com>
2173
2174 * stabsread.h (struct stab_section_list): Define.
2175 (coffstab_build_psymtabs): Remove staboff and stabsize parameters.
2176 Add textaddr, textsize, and stabs parameters.
2177 * gdb-stabs.h (struct dbx_symfile_info): Remove text_sect field.
2178 Add text_addr and text_size fields.
2179 (DBX_TEXT_SECT): Don't define.
2180 (DBX_TEXT_ADDR, DBX_TEXT_SIZE): Define.
2181 * coffread.c: Include <ctype.h>.
2182 (struct coff_symfile_info): Remove stabsect and stabindexsect
2183 fields. Add textaddr, textsize, and stabsects fields.
2184 (coff_locate_sections): Record the address of the .text section,
2185 and total the sizes of all sections with names beginning with
2186 ".text". Don't bother to record a .stab.index section (COFF
2187 doesn't use them). Make a linked list of all sections with names
2188 beginning with ".stab".
2189 (coff_symfile_read): Adjust call to coffstab_build_psymtabs for
2190 new parameters.
2191 * dbxread.c (dbx_symfile_read): Use DBX_TEXT_ADDR and
2192 DBX_TEXT_SIZE, rather than getting both from DBX_TEXT_SECT.
2193 (dbx_symfile_init): Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not
2194 DBX_TEXT_SECT.
2195 (elfstab_build_psymtabs): Likewise.
2196 (stabsect_build_psymtabs): Likewise.
2197 (symbuf_sections, symbuf_left, symbuf_read): New static variables.
2198 (fill_symbuf): If symbuf_sections is not NULL, read symbols from
2199 multiple sections.
2200 (coffstab_build_psymtabs): Remove staboffset and stabsize
2201 parameters. Add textaddr, textsize, and stabsects parameters.
2202 Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not DBX_TEXT_SECT. Handle
2203 multiple stabs sections.
2204 * os9kread.c (os9k_symfile_read): Use DBX_TEXT_ADDR and
2205 DBX_TEXT_SIZE, rather than getting both from DBX_TEXT_SECT.
2206 (os9k_symfile_init): Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not
2207 DBX_TEXT_SECT.
2208
2209 * remote-vx.c (vx_ops, vx_run_ops): Initialize new to_thread_alive
2210 field.
2211
2212Sat Jul 15 01:02:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2213
2214 * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: New files
2215 for OSF/1-3.x procfs support.
2216 * configure.in (alpha-dec-osf): Use them when configuring
2217 for OSF/1-3.x.
2218 * configure: Updated.
2219 * target.c: Include <string.h>.
2220
2221Fri Jul 14 16:16:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2222
2223 * Makefile.in, configure.in: Use one variable, frags, to hold
2224 pathnames of makefile fragments.
2225 * configure: regenerated.
2226
2227Fri Jul 14 09:49:47 1995 Jeff Law (law@snake.cs.utah.edu)
2228
2229 * procfs.c (procfs_ops): Fix typo in last change.
2230
2231Thu Jul 13 13:42:38 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2232
2233 * inftarg.c (child_thread_alive): New function to see if a
2234 particular thread is still running.
2235 (child_ops): Add child_thread_alive entry.
2236 * remote.c (remote_thread_alive): New function to see if a
2237 particular thread is still alive.
2238 (remote_ops): Add remote_thread_alive.
2239 * target.c (dummy_target): Add dummy entry for thread_alive.
2240 (cleanup_target): de_fault thread_alive too.
2241 (update_current_target): INHERIT thread_alive too.
2242 (debug_to_thread_alive): New function.
2243 (setup_target_debug): Add debug_to_thread_alive.
2244 * target.h (struct target_ops): Add to_thread_alive.
2245 (target_thread_alive): Define.
2246 * thread.c (info_threads_command): Don't call kill; use
2247 target_thread_alive instead.
2248 * config/nm-lynx.h (CHILD_THREAD_ALIVE): Define.
2249 * gdbserver/low-lynx.c (mythread_alive): New function.
2250 (mywait): Don't restart any threads after a new thread notification,
2251 let the generic code handle it.
2252 * gdbserver/low-sparc.c (mythread_alive): Dummy version.
2253 * gdbserver/low-sun3.c (mythread_alive): Likewise.
2254 * gdbserver/server.c (main): Handle thread_alive requests.
2255 * gdbserver/server.h (mythread_alive): Declare.
2256 * corelow.c (core_ops): Add dummy entry for thread_alive.
2257 * exec.c (exec_ops): Likewise.
2258 * m3-nat.c (m3_ops): Likewise.
2259 * monitor.c (monitor_ops): Likewise.
2260 * procfs.c (procfs_ops): Likewise.
d1856a18
SS
2261 * remote-array.c (array_ops): Likewise.
2262 * remote-e7000.c (e7000_ops): Likewise.
2263 * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
2264 * remote-mips.c (mips_ops): Likewise.
2265 * remote-pa.c (remote_hppro_ops): Likewise.
2266 * remote-sim.c (gdbsim_ops): Likewise.
2267 * sparcl-tdep.c (sparclite_ops): Likewise.
2268
2269Tue Jul 11 11:15:55 1995 Kung Hsu <kung@rtl.cygnus.com>
2270
2271 * solib.c: Add _DYNAMIC__MGC base symbol for Mentor Graphics Inc.
2272 * solib.c (match_main): New function for checking name of main.
2273 * solib.c (solib_add): Not to add if solib match main.
2274
2275Fri Jul 7 14:41:56 1995 Kung Hsu <kung@rtl.cygnus.com>
2276
2277 * elfread.c (elf_symtab_read): Fix a bug ignoring compiler
2278 generated internal labels ($LM...).
2279
2280Wed Jul 5 11:38:36 1995 Kung Hsu <kung@rtl.cygnus.com>
2281
2282 * defs.h: if __GO32__ or WIN32 the directory separating symbol should
2283 be '\' not '/'.
2284
2285 * remote-nindy (nindy_wait): Use infinite timeout reading after
2286 esacpe character.
2287
2288Tue Jul 4 10:30:22 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2289
2290 * infrun.c (wait_for_inferior): When switching from one thread to
2291 another, save infrun's state for the old thread and load infrun's
2292 previous state for the new thread.
2293 * thread.c (struct thread_info): Add new fields for thread specific
2294 state saved/restored in infrun.c.
2295 (add_thread): Initialize new fields.
2296 (load_infrun_state): New function.
2297 (save_infrun_state): New function.
2298 * thread.h (load_infrun_state): Provide external decl.
2299 (save_infrun_state): Likewise.
2300
2301 * infrun.c (wait_for_inferior): When we hit a breakpoint for the
2302 wrong thread, make sure to write the fixed PC value into the thread
2303 that stopped. Restart all threads after single stepping over a
2304 breakpoint for a different thread.
2305 * breakpoint.c (set_momentary_breakpoint): Make momentary
2306 breakpoints thread specific in a multi-threaded program.
2307 * lynx-nat.c (child_resume): Add some comments. Correctly
2308 choose between the single and multi-threaded step and continue
2309 ptrace calls.
2310
2311Fri Jun 30 16:15:36 1995 Stan Shebs <shebs@andros.cygnus.com>
2312
2313 * config/h8300/h8300.mt: Renamed from h8300hms.mt.
2314 * config/h8500/h8500.mt: Renamed from h8500hms.mt.
2315 * config/z8k/z8k.mt: Renamed from z8ksim.mt.
2316 * configure, configure.in: Update to reflect renamings.
2317
2318 * remote-sim.c (sim): New command, passes commands to simulator.
2319 (simulator_command): New function.
2320 (gdbsim_ops): Clean up.
2321 * remote-sim.h (sim_do_command): Declare.
2322 * sh-tdep.c (memory_size): Remove command.
2323
2324 * Makefile.in (SIM, SIM_OBS): New variables.
2325 (CLIBS, CDEPS): Add value of SIM.
2326 (DEPFILES): Add value of SIM_OBS
2327
2328 * config/arm/arm.mt, config/h8300/h8300.mt, config/h8500/h8500.mt,
2329 config/sh/sh.mt, config/sparc/sp64sim.mt, config/w65/w65.mt,
2330 config/z8k/z8k.mt: Remove simulator files from TDEPFILES,
2331 define in SIM_OBS and SIM.
2332 config/sparc/sp64sim.mt (SIMFILES): Remove.
2333
2334 * remote-z8k.c: Remove, was superseded by remote-sim.c
2335 * Makefile.in, mpw-make.in: Remove references to remote-z8k.c.
2336
2337Sun Jun 25 15:30:43 1995 Stan Shebs <shebs@cygnus.com>
2338
2339 * remote.c (remote_read_bytes, remote_write_bytes): Second arg
2340 should be char *, not unsigned char *.
2341 * dcache.h (memxferfunc): Ditto.
2342 * monitor.c (monitor_write_memory, monitor_read_memory_single):
2343 Ditto.
2344 (monitor_make_srec): Let compiler figure size of hextab.
2345
2346Sat Jun 24 19:27:37 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2347
2348 * lynx-nat.c (child_wait): Don't restart new threads and loop
2349 to the top of child_wait; let the machine independent code in
2350 wait_for_inferior deal with new thread notifications.
2351
2352Fri Jun 23 11:51:58 1995 Kung Hsu <kung@mexican.cygnus.com>
2353
2354 * remote-nindy (nindy_load): Put in target specific load, it's
2355 20 times faster.
2356
2357Thu Jun 22 20:21:59 1995 Stan Shebs <shebs@andros.cygnus.com>
2358
2359 * utils.c (error): Move local `args' outside conditional,
2360 move local `string1' inside, declare function as void if
2361 non-ANSI compiler, dereference error_hook when calling.
2362
2363 * mac-xdep.c (stdarg.h): Don't include.
2364
2365Thu Jun 22 13:12:33 1995 Kung Hsu <kung@mexican.cygnus.com>
2366
2367 * remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.
2368
2369Wed Jun 21 13:24:41 1995 Jeff Law (law@snake.cs.utah.edu)
2370
2371 * hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR and
2372 HP800_THREAD_STATE_COUNT to TRACE_FLAVOR_SIZE.
2373
2374Wed Jun 21 05:57:56 1995 Steve Chamberlain <sac@slash.cygnus.com>
2375
2376 * monitor.c: Turn on caching.
2377 (monitor_printf): If a ^C was sent, don't expect to see its
2378 echo.
2379 (monitor_open): Enable caching.
2380 (monitor_resume, monitor_load): Flush cache.
2381 (monitor_xfer_memory): Call cache routine.
2382 (monitor_dump_regs): New.
2383 (monitor_fetch_registers): If monitor_dump_regs available
2384 then use it.
2385 (monitor_load): Don't ref exec_bfd if it's NULL.
2386 (monitor_load_srec): Use new monitor_make_srec calling convention.
2387 (monitor_make_srec): Rewrite to cope with two, three and four byte
2388 addresses.
2389 * remote-hms.c (hms_cmds): Initialze end-of-command delim.
2390 * dcache.h, dcache.h: Rewritten.
2391 * remote.c: Reenable caching.
2392 (getpkt): Reduce MAX_TRIES to 3.
2393 (remote_xfer_memory): Use dcache_xfer_memory.
2394 * defs.h (error_hook): New.
2395 * top.c (error_hook): New definition.
2396 * utils.c (error): Use error_hook if initialized.
2397 * sparcl-tdep.c (HAVE_SOCKETS): Don't define if GO32 or WIN32. Use
2398 HAVE_SOCKETS in place of #ifndef GO32.
2399
2400Tue Jun 20 22:17:44 1995 Jeff Law (law@snake.cs.utah.edu)
2401
2402 * config/pa/tm-hppa.h (PSW_*): Define processor status word masks.
2403 (INSTRUCTION_NULLIFIED): Allow specific targets to override.
2404 * config/pa/tm-hppao.h (INSTRUCTION_NULLIFIED): Define to work
2405 around losing mach kernel behavior.
2406
2407Tue Jun 20 12:03:36 1995 Stan Shebs <shebs@andros.cygnus.com>
2408
2409 * monitor.c (monitor_wait): Don't use the watchdog timeout
2410 if its value is 0.
2411 * w89k-rom.c (w89k_open): Define to be static.
2412
2413start-sanitize-gdbtk
2414Tue Jun 20 10:19:40 1995 Stu Grossman (grossman@cygnus.com)
2415
2416 * gdbtk.c: Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free.
2417
2418 * gdbtk.tcl (add_breakpoint_frame): Add more fields.
2419 * (create_file_win create_asm_win build_framework): Create null
2420 bindings for meta keys to keep window from dropping down to
2421 insertion point when meta is pressed by itself. New bindings:
2422 Up/Down - Scroll up/down one line at a time
2423 Next/Prior - Scroll up/down one page at a time
2424 Home/End - Warp to current pc/end of file
2425 * (build_framework): Turn on breakpoint menu.
2426 * (create_command_window): Implement tab completion. Add binding
2427 for ^C to stop target.
2428end-sanitize-gdbtk
2429
2430Sat Jun 17 10:17:16 1995 Jeff Law (law@snake.cs.utah.edu)
2431
2432 * somsolib.c (som_solib_add): Validate regexp argument.
2433 Don't assume the first entry on dld's library list is the main
2434 program. Don't load the same library more than once and don't
2435 consider the main program a shared library.
2436 (som_solib_sharedlibrary_command): New function
2437 (_initialize_som_solib): Add "sharedlibrary" command.
2438
2439Thu Jun 15 14:54:58 1995 Stan Shebs <shebs@andros.cygnus.com>
2440
2441 * array-rom.c: Remove, no longer used.
2442
2443 * remote-hms.c (hms_open): Make static.
2444
2445 * mpw-config.in (MacSerial.h): Copy from version in {CIncludes},
2446 not {MPW}Interfaces:CIncludes.
2447 * ser-mac.c (mac_baud_rate_table): Fix value for 38400 baud.
2448
2449Wed Jun 14 14:27:07 1995 Per Bothner <bothner@kalessin.cygnus.com>
2450
2451 * ch-exp.y: Remove lots of unsupported productions and names.
2452 Add support for IF-expressions, ORIF, ANDIF, NUM, and ADDR.
2453
2454Tue Jun 13 21:40:11 1995 Per Bothner <bothner@kalessin.cygnus.com>
2455
2456 * parser-defs.h (enum precedence): Added PREC_BUILTIN_FUNCTION.
2457 * expression.h (enum exp_opcode): Added UNOP_LOWER, UNOP_UPPER,
2458 UNUP_LENGTH.
2459 * expprint.c (dump_expression): Handle the new exp_opcodes.
2460 (print_subexp): Handle PREC_BUILTIN_FUNCTION.
2461 (print_simple_m2_func): Removed.
2462 (print_subexp): Remove support for Modula2 builtin functions.
2463 * m2-lang.c (m2_op_print_tab): Add support for builtin functions.
2464 * ch-exp.y: Parse LOWER, UPPER, and LENGTH builtins.
2465 (write_lower_upper_value): Convenience function for LOWER and UPPER.
2466 (upper_lower_argument, length_argument): Removed non-terminals.
2467 * ch-lang.c (chill_op_print_tab): Entries for UPPER, LOWER, LENGTH.
2468 (type_lower_upper): New function. Calculate LOWER/UPPER of type.
2469 (value_chill_length): New function. Calcalate LENGTH of ARRAY/STRING.
2470 (evaluate_subexp_chill): Handle UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH.
2471
2472Mon Jun 12 12:48:13 1995 Stan Shebs <shebs@andros.cygnus.com>
2473
2474 Windows support bits from Steve Chamberlain <sac@slash.cygnus.com>.
2475 * defs.h: Don't declare strchr and friends if WIN32.
2476 (DIRNAME_SEPARATOR): Move here from source.c.
2477 (SLASH_P, SLASH_CHAR, SLASH_STRING, ROOTED_P): New macros,
2478 symbolic definitions for filename bits.
2479 * top.c (cd_command): Use these.
2480 * source.c (mod_path, openp): Ditto.
2481 * terminal.h: Disable termio/sgtty definitions if WIN32.
2482 * findvar.c (registers_changed): Call registers_changed_hook
2483 if it is defined.
2484
2485Mon Jun 12 12:22:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2486
2487 * Makefile.in (distclean, realclean): Remove config.cache and
2488 config.log.
2489
2490Mon Jun 12 00:21:59 1995 Jeff Law (law@snake.cs.utah.edu)
2491
2492 * somsolib.c: Include gdb-stabs.h.
2493 (som_solib_section_offsets): Use SECT_OFF_XXX rather than 0, 1,
2494 etc. Initialize offsets for RODATA & BSS too.
2495
2496Sat Jun 10 17:59:11 1995 Jeff Law (law@snake.cs.utah.edu)
2497
2498 * hppa-tdep.c (frame_chain): Try to compensate for incomplete
2499 register information in core files when backtracing.
2500
2501Fri Jun 9 14:51:38 1995 Stu Grossman (grossman@cygnus.com)
2502
2503 * remote-nrom.c: Remove everything but download code. More
2504 cleanups.
2505
2506Thu Jun 8 15:06:00 1995 Stu Grossman (grossman@cygnus.com)
2507
2508 * defs.h maint.c monitor.c remote-mips.c remote.c: Add support
2509 for `watchdog' variable. This allows the user to put an upper
2510 limit on the amount of time that GDB will wait for the target to
2511 return from a step or continue operation. This will primarily be
2512 used for the testsuite, where it is difficult to come up with a
2513 reasonable timeout for things like function calls, which can take
2514 as long as three minutes under some circumstances. If the
2515 watchdog timer expires, GDB will generate an error that looks like
2516 `Watchdog has expired.', and will detach from the target.
2517
2518 * remote-mips.c (mips_open): Setup initial frame from target.
2519 Print it out so that user is told where the program is stopped
2520 when they attach.
2521
2522 * remote-nrom.c: Loads of cleanups. Use serial code to open
2523 network connections. Use expect() to wait for response to
2524 download command.
2525
2526 * ser-tcp.c (tcp_open): Retry connection if we get ECONNREFUSED.
2527
2528 * serial.c serial.h (serial_open serial_fdopen serial_close):
2529 Allow users to open the same device multiple times. They all get
2530 to share the same serial_t. This is about the only way to have
2531 multiple active targets use the same device (for download and
2532 debug).
2533
2534 * sparcl-tdep.c: Keep #include <unistd.h> away from GO32.
2535
2536 * target.c: Add `targetdebug' variable. If this is non-zero,
2537 then a special target is put at the top of the target stack which
2538 will cause all calls through the target vector to have their args
2539 and results printed out.
2540
2541Wed Jun 7 17:40:37 1995 Per Bothner <bothner@kalessin.cygnus.com>
2542
2543 * ch-exp.y: Handle <primitive_value> "->" <modename>.
2544
2545Wed Jun 7 17:46:33 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2546
2547 * mem-break.c (LITTLE_BREAKPOINT): If BREAKPOINT and
2548 {LITTLE,BIG}_BREAKPOINT are all defined, don't redefine.
2549 (BIG_BREAKPOINT): Ditto.
2550
2551 * config/rs6000/tm-rs6000.h (BREAKPOINT): Define as either
2552 BIG_BREAKPOINT or LITTLE_BREAKPOINT depending on the target byte
2553 order.
2554
2555Wed Jun 7 12:41:42 1995 Jeff Law (law@snake.cs.utah.edu)
2556
2557 * somsolib.c (som_solib_section_offsets): Handle relative pathnames.
2558
2559 * hppa-tdep.c (frame_saved_pc): Handle backtracing through signal
2560 handler in dynamically linked executables.
2561
2562Tue Jun 6 10:44:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2563
2564 From Andrew Cagney <cagney@highland.com.au>
2565 * rs6000-tdep.c (single_step): Handle both little and big endian
2566 breakpoints.
2567 (gdb_print_insn_powerpc): Deal with disassembling both little and
2568 big endian PowerPC systems.
2569 (_initialize_rs6000_tdep): Use gdb_print_insn_powerpc to handle
2570 disassembly, rather that assuming big endian order.
2571
2572 * config/rs6000/tm-rs6000.h (BREAKPOINT): Delete.
2573 (BIG_BREAKPOINT): Define, big endian breakpoint instruction.
2574 (LITTLE_BREAKPOINT): Define, little endian breakpoint instruction.
2575
2576Sat Jun 3 01:54:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2577
2578 * README: Add note about Unixware 2.x.
2579
2580 * dbxread.c (process_one_symbol): Check for exact symbol name
2581 match when fixing up N_GSYM and N_STSYM symbols from Sun acc.
2582
2583 * valprint.c (value_print_array_elements): Use
2584 fprintf_filtered to put out `<repeats %u times>',
2585 from schwab@issan.informatik.uni-dortmund.de (Andreas Schwab).
2586
2587 * value.h (struct value): Change `repetitions' field from
2588 `short' to `int' type.
2589
d1856a18
SS
2590Fri Jun 2 11:17:23 1995 Doug Evans <dje@canuck.cygnus.com>
2591
2592 * arc-tdep.c (arc_bfd_mach_type): New static global.
2593 (codestream_fill): Handle byte order differences.
2594 (setup_prologue_scan): Don't read stdarg function's "sub sp,sp,N".
2595 (arc_get_frame_setup): Read it here.
2596 (arc_frame_saved_pc): And here.
2597 (arc_print_insn): New function.
2598 (arc_set_cpu_type): Set arc_bfd_mach_type. Don't set tm_print_insn.
2599 (_initialize_arc_tdep): Set tm_print_insn to arc_print_insn.
d1856a18
SS
2600
2601Wed May 31 12:04:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2602
2603 * nlm/{configure.in, Makefile.in}: Converted to use autoconf.
2604 * nlm/configure: New file, generated with autoconf 2.3.
2605
2606 * nlm/configure.in: Use sed instead of awk to get the value of
2607 cpufile. Awk is not a utility required by the GNU coding
2608 standards. This change also fixes the rigid whitespace
2609 requirements that were required for awk.
2610
2611 * sparclite/aload.c: Use a file descriptor instead of a stdio
2612 stream for i/o with target board.
2613 Use #error if HAVE_TERMIOS is not defined.
2614
2615 * sparclite/{Makefile.in, configure.in}: Converted to use
2616 autoconf.
2617 * sparclite/configure: New file, generated with autoconf 2.3.
2618
2619Sun May 28 23:10:07 1995 Jeff Law (law@snake.cs.utah.edu)
2620
2621 * defs.h: Include either varargs.h or stdarg.h (for va_list).
2622 Fix stupid thinko in last change ("..." -> "va_list").
2623
2624 * defs.h (vprintf_filtered declaration): Add PARAMS prototype;
2625 gcc-2.5 chokes on format attributes for unprototyped functions.
2626 (vfprintf_filtered declaration): Likewise.
2627 (vprintf_unfiltered declaration): Likewise.
2628 (vfprintf_unfiltered). Likewise.
2629
2630Sat May 27 23:54:17 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2631
2632 * configure.in: Use sed instead of awk to get the values of
2633 hostfile, targetfile and nativefile. Awk is not a utility
2634 required by the GNU coding standards. This change also
2635 fixes the rigid whitespace requirements that were required
2636 for awk.
2637 * configure: regenerated.
2638
2639Sat May 27 16:24:04 1995 Angela Marie Thomas <angela@cirdan.cygnus.com>
2640
2641 * sparclite/{Makefile,configure}.in: Add hooks for building with
2642 -lsocket & -lnsl for solaris2. Don't build aload/eload for DOS.
2643
2644Thu May 25 12:46:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2645
2646 * gdbserver/remote-utils.c (prepare_resume_reply): Add FIXME
2647 comment regarding signal numbering.
2648
2649Wed May 24 15:49:47 1995 Steve Chamberlain <sac@slash.cygnus.com>
2650
2651 * arm-tdep.c (_initialize_arm_tdep): Use print_insn_little_arm
2652 now.
2653
2654 * arm-tdep.c (convert_from_extended, convert_to_extended):
2655 New.
2656 * coffread.c (enter_linenos): Return if linetab 0.
2657 * config/arm/arm.mt (TDEPFILES): Add simulator support.
2658 * config/arm/tm-arm.h (FRAME_FIND_SAVED_REGS): Fix prototypes.
2659
2660Mon May 22 19:37:21 1995 Rob Savoye <rob@darkstar.cygnus.com>
2661
2662 * config/idt.mt: replace monitor and array-rom with the new
2663 remote-array.
2664
2665Mon May 22 15:38:25 1995 Stu Grossman (grossman@cygnus.com)
2666
2667 * remote-nindy.c: Install Kung patch for PR 6820. I have no idea
2668 what this does...
2669
2670 * breakpoint.c: Move defaults of watchpoint related macros into
2671 target.h.
2672 * target.h: Macros from breakpoint.c. Conditionalize based on
2673 TARGET_HAS_HARDWARE_WATCHPOINTS.
2674 * i386v-nat.c procfs.c: Use TARGET_HAS_HARDWARE_WATCHPOINTS
2675 instead of TARGET_CAN_USE_HARDWARE_WATCHPOINT to enable watchpoint
2676 code.
2677 * config/i386/nm-linux.h, config/mips/nm-irix4.h,
2678 config/pa/nm-hppab.h, config/sparc/tm-sparclite.h: #define
2679 TARGET_HAS_HARDWARE_WATCHPOINTS to enable watchpoint code.
2680
2681Mon May 22 06:47:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2682
2683 * breakpoint.c, target.h: Move defaults of watchpoint related
2684 macros back to breakpoint.c. Required to get GDB compiling
2685 on Solaris again.
2686
2687Fri May 19 14:49:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2688
2689 * defs.h (ATTR_FORMAT): New macro, expands to gcc's format
2690 attribute when compiled by gcc.
2691 * defs.h, language.h, monitor.h: Changed many function
2692 declarations to use ATTR_FORMAT.
2693
2694 * breakpoint.c (delete_command); source.c (directory_command);
2695 top.c (define_command): Changed call to query() that had too
2696 many arguments.
2697 * printcmd.c (address_info): Changed call to printf_filtered()
2698 that had too many arguments.
2699
2700Fri May 19 09:52:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2701
2702 * infrun.c (wait_for_inferior): Move assignments to stop_signal
2703 and stop_pc, and STOPPED_BY_WATCHPOINT code, back where they
2704 were--after the switch statement on w.kind. You can't read the
2705 registers of an inferior which has exited. Use a goto in the
2706 STOPPED_BY_WATCHPOINT code.
2707 * infrun.c (wait_for_inferior): Reinstate
2708 HAVE_STEPPABLE_WATCHPOINT and HAVE_CONTINUABLE_WATCHPOINT code.
2709
2710Fri May 19 06:15:40 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2711
2712 * utils.c, complaints.c, language.c, monitor.c, remote-array.c,
2713 remote-mips.c, remote-os9k.c, remote-st.c: Conditionalize use of
2714 stdarg rather than varargs on ANSI_PROTOTYPES not __STDC__; it
2715 must match the definition of PARAMS.
2716start-sanitize-gdbtk
2717 * gdbtk.c: Likewise.
2718end-sanitize-gdbtk
2719
2720Thu May 18 15:58:46 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2721
2722 * utils.c (fprintf_filtered, fprintf_unfiltered, fprintfi_filtered,
2723 printf_filtered, printf_unfiltered, printfi_filtered, query, warning,
2724 error, fatal, fatal_dump_core): Use stdarg.h macros when compiling
2725 with an ANSI compiler.
2726 * complaints.c (complain): Likewise.
2727 * language.c (type_error, range_error): Likewise.
2728 * monitor.c (monitor_printf, monitor_printf_noecho): Likewise.
2729 * remote-array.c (printf_monitor, debuglogs): Likewise.
2730 * remote-mips.c (mips_error): Likewise.
2731 * remote-os9k.c (printf_monitor): Likewise.
2732 * remote-st.c (printf_stdebug): Likewise.
2733start-sanitize-gdbtk
2734 * gdbtk.c (gdbtk_query): Likewise.
2735end-sanitize-gdbtk
2736
2737 * defs.h, complaints.h, language.h, monitor.h: Add prototypes to
2738 match above changes.
2739
2740 * printcmd.c: Remove uneeded #include <varargs.h>.
2741 * remote-e7000.c: Likewise.
2742
2743 * f-typeprint.c (f_type_print_base): Fix typo found by above
2744 changes.
2745
2746Wed May 17 11:21:32 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2747
2748 * Makefile.in (xcoffread.o): Depend on partial-stab.h.
2749
2750 * xcoffsolib.c (sharedlibrary_command): New command.
2751 * xcoffsolib.c (solib_info): Call xcoff_relocate_symtab.
2752 * xcoffsolib.c: Miscellaneous cleanups.
2753
2754 * partial-stab.h: Ignore symbol descriptor '-' (for local
2755 variables with negative type numbers) without complaint.
2756
2757 * rs6000-nat.c (vmap_ldinfo): Use bfd_stat rather than our own
2758 local emulation thereof. Remove unused variable ostart.
2759
2760Wed May 17 15:55:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2761
2762 * Makefile.in (config.status): changed target so that
2763 config.status --recheck is executed if configure script changes.
2764
2765 * monitor.c (monitor_printf): Changed format specification in
2766 error message to work with pre-ansi compilers.
2767 (monitor_load_srec): reduced length of s-records from 128 to 32
2768 bytes so download is more reliable with the rom68k monitor.
2769
2770 * rom68k-rom.c: Added trailing space to prompt string.
2771
2772 * config/i386/xm-i386sco.h (HAVE_STRSTR): Removed.
2773 * config/i386/xm-go32.h, mswin/xm.h (SYS_SIGLIST_MISSING):
2774 Removed.
2775 * defs.h, config/{xm-lynx.h, xm-nbsd.h},
2776 config/i386/{xm-i386bsd.h, xm-linux.h},
2777 config/m68k/xm-hp300bsd.h, config/mips/xm-irix4.h,
2778 config/ns32k/xm-ns32km3.h, doc/gdbint.texinfo
2779 (PSIGNAL_IN_SIGNAL_H): Removed.
2780
2781Tue May 16 13:16:06 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2782
2783 * Makefile.in (Makefile): Added config.status to dependency list.
2784
2785 * configure.in: Added INIT-CMDS argument to AC_OUTPUT which sets
2786 gdb_host_cpu, gdb_target_cpu and nativefile.
2787 * configure: regenerated.
2788
2789Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2790
2791 * mdebugread.c (parse_symbol): Do not relocate stBlock/scText
2792 symbols, their value is the displacement from the procedure address.
2793 * top.c (init_main): Add missing newlines to help strings for
2794 `if' and `while' commands, fix help string for `show commands'.
2795
2796Mon May 15 18:37:56 1995 Stu Grossman (grossman@cygnus.com)
2797
2798 * breakpoint.c: Move defaults of watchpoint related macros into
2799 target.h. Use BP_TEMPFLAG and BP_HARDWAREFLAG instead of
2800 constants.
2801 * infrun.c (wait_for_inferior): Enhance comment near
2802 STOPPED_BY_WATCHPOINT.
2803 * target.h: Macros from breakpoint.c.
2804
2805Mon May 15 17:11:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2806
2807 * config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
2808 config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
2809 mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
2810 out by autoconf.
2811 * config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
2812
2813 * Makefile.in, configure.in: Converted to use autoconf
2814 * aclocal.m4: New file, local autoconf macro definitions.
2815 * configure: New file, generated with autoconf 2.3.
2816
2817Mon May 15 14:46:41 1995 Stan Shebs <shebs@andros.cygnus.com>
2818
2819 * remote.c (remote_kill): Add prototype.
2820 * cpu32bug-rom.c (cpu32bug_open): Properly define as static.
2821 * config/h8300/h8300hms.mt (TDEPFILES): Add monitor.o.
2822
2823Mon May 15 12:12:34 1995 Stu Grossman (grossman@cygnus.com)
2824
2825 * sparclite/salib.c (win_ovf win_unf): Make window size constant
2826 into a variable (__WINSIZE) so that it can be controlled via the
2827 .h file.
2828 * sparclite/sparclite.h: Add SL933 #ifdef to set __WINSIZE to 6
2829 for the 933 board.
2830
2831 * infrun.c: Add #ifdef HP_OS_BUG to all references to
2832 trap_expected_after_continue.
2833 * (wait_for_inferior): Fix for remote watchpoints. Don't try to
2834 insert breakpoints while target is running (this only works on
2835 *some* native targets). This may also speed up native watchpoints
2836 considerably.
2837
2838Sat May 13 13:55:04 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2839
2840 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
2841 mdebugread.c (struct symloc), hpread.c (struct symloc),
2842 xcoffread.c (struct symloc): Fix inaccurate comment introduced
2843 20 Apr 1995.
2844
2845Sat May 13 13:34:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2846
2847 * rs6000-tdep.c (find_toc_address): Revise comment.
2848 * symfile.c, symfile.h (init_psymbol_list): New function;
2849 consolidate duplicated copies from os9kread.c, dbxread.c
2850 and dwarfread.c.
2851 * defs.h: Declare info_verbose.
2852 * xcoffread.c: Extensive changes to support psymtabs.
2853
2854Fri May 12 13:48:41 1995 Stu Grossman (grossman@andros.cygnus.com)
2855
2856 * cpu32bug-rom.c remote-est.c rom68k-rom.c: Update line_term element.
2857
2858Fri May 12 06:39:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2859
2860 * partial-stab.h: Expand comments.
2861
2862Thu May 11 19:01:37 1995 Jeff Law (law@snake.cs.utah.edu)
2863
2864 * Support debugging using native MACH primitives on hppa*-*-osf*.
2865 * configure.in: hppa*-*-osf* != hppa*-*-bsd* anymore.
2866 * config/pa/hppaosf.mh: New file.
2867 * config/pa/nm-hppao.h: Likewise.
2868 * hppam3-nat.c: Likewise.
2869 * config/pa/tm-hppao.h (PSW_SS): Define for single-stepping.
2870 (MACHINE_CPROC_*_OFFSET): Define.
2871 (TRACE_*): Define.
2872 (START_INFERIOR_TRAPS_EXPECTED): Delete definition.
2873
2874Wed May 10 18:59:26 1995 Stu Grossman (grossman@andros.cygnus.com)
2875
2876 * hppa-tdep.c (read_unwind_info): Cosmetic cleanup.
2877 * (unwind_command): Clean it up and make it print things out
2878 nicer.
2879 * monitor.c: Add ^C handling capability (mostly ripped off from
2880 remote.c).
2881 * (monitor_printf): Make it check the command echo.
2882 * (monitor_printf_noecho): Similar to above, but doesn't check
2883 for echo.
2884 * (monitor_stop): No longer waits for prompt. That is the job of
2885 the caller. This makes things work much better for monitor_wait,
2886 which waits for the prompt itself.
2887 * (monitor_open): Deal with new monitor_stop semantics. Also,
2888 flush input after sending init strings to get rid of junk that may
2889 be output. Also, don't always send \r to remote. Use
2890 monitor_ops->line_term cuz proper character isn't always \r.
2891 * (monitor_fetch_register): Switch to completely different
2892 algorithm to deal with lame-ass monitors which put spaces in the
2893 middle of numbers, and prompt with a space!!!!!
2894 * (monitor_read_memory_single): New routine to be used with
2895 monitors that can only return one byte/short/long at a time. This
2896 is selected via MO_GETMEM_READ_SINGLE.
2897 * (monitor_load_srec): Use monitor_printf_noecho for sending S
2898 records. Most targets don't echo them.
2899 * (monitor.h): Get rid of cmd_delim. Add line_delim.
2900 * op50n-rom.c (op50n_cmds): Fill it up. Make it work.
2901 * w89k-rom.c: Change all eols from \r to \n. Change load_resp to
2902 ^Q to prevent error message.
2903 * config/pa/tm-hppa.h (CALL_DUMMY (for hppro)): Add special
2904 instruction sequence at end to make restore_pc_queue happy.
2905
2906Wed May 10 15:59:00 1995 Torbjorn Granlund <tege@adder.cygnus.com>
2907
2908 * remote-est.c (est_open): Make static to match prototype.
2909
2910Tue May 9 16:58:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2911
2912 * configure.in: Add little endian PowerPC support.
2913 * config/powerpc/ppcle-eabi.mt: New file for little endian PowerPC
2914 support.
2915 * config/powerpc/tm-ppcle-eabi.h: ditto.
2916
2917Mon May 8 12:11:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2918
2919 * nlm/configure.in (gdb_host, gdb_host_cpu, gdb_target): Removed.
2920 These variables not used.
2921
2922 * config/m68k/monitor.mt (TDEPFILES): Added cpu32bug-rom.o.
2923
2924Wed May 3 17:54:47 1995 Stan Shebs <shebs@andros.cygnus.com>
2925
2926 * monitor.c (monitor_command): Don't use PROMPT until monitor
2927 target is known to be open.
2928 (monitor_make_srec): Don't define size of hextab.
2929
2930Tue May 2 18:32:24 1995 Stan Shebs <shebs@andros.cygnus.com>
2931
2932 * configure.in (--enable-netrom): New configuration option.
2933 * Makefile.in (REMOTE_OBS): Rename from REMOTE_O, append
2934 value of NETROM_OBS.
2935 (NETROM_OBS): New variable.
2936 * remote-nrom.c: New file, NetROM target support.
2937 * config/a29k/a29k-udi.mt, config/i960/vxworks960.mt: Use
2938 REMOTE_OBS instead of REMOTE_O.
d1856a18 2939 * config/arc/arc.mt: Ditto.
d1856a18
SS
2940
2941Fri Apr 28 23:30:00 1995 Stu Grossman (grossman@cygnus.com)
2942
2943 * array-rom.c (_initialize_array array_open): Move baud_rate
2944 initialization from _initxxx to array_open to fix bug with
2945 overriding -b command line option.
2946
2947Thu Apr 27 20:29:34 1995 Doug Evans <dje@canuck.cygnus.com>
2948
2949 * Makefile.in (RUNTEST): Fix reference of `srcdir'.
2950
2951Wed Apr 26 19:01:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
2952
2953 * remote-hms.c: Rewrite to use new monitor conventions.
2954
2955Tue Apr 25 11:27:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2956
2957 * dbxread.c: Add comment explaining lowest_text_address.
2958 Add comment regarding stringtab_global and psymtabs.
2959
2960Sat Apr 22 01:26:29 1995 Jeff Law (law@snake.cs.utah.edu)
2961
2962 * config/pa/tm-hppa.h (EXTRACT_STRUCT_VALUE_ADDRESS): Fix.
2963
2964 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
2965 handle "short", "int" and small structures returned in registers.
2966
2967Fri Apr 21 12:57:53 1995 Kung Hsu <kung@mexican.cygnus.com>
2968
2969 * minsyms.c: add new function lookup_minimal_symbol_text, to look
2970 for text symbol only.
2971 * breakpoint.c (create_longjmp_breakpoint): call
2972 lookup_minimal_symbol_text instead of lookup_minimal_symbol.
2973 * symtab.h: add lookup_minimal_symbol_text prototype.
2974
2975Fri Apr 21 12:03:44 1995 Stan Shebs <shebs@andros.cygnus.com>
2976
2977 * sh-tdep.c (sh-opc.h): Don't include.
2978 (gdbcore.h): Include.
2979 (frame_find_saved_regs): Remove unused local.
2980
2981Thu Apr 20 10:12:21 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2982
2983 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
2984 mdebugread.c (struct symloc), hpread.c (struct symloc): Clean
2985 up comments.
2986
2987Wed Apr 19 16:58:11 1995 Stu Grossman (grossman@andros.cygnus.com)
2988
2989 * hppa-tdep.c (deposit_17): New routine to deposit 17 bit
2990 constants into PA instructions.
2991 * Put #ifdefs around all signal handling code. Not generally
2992 needed for embedded boards.
2993 * (hppa_fix_call_dummy): Parameterize offsets into call dummy to
2994 allow different dummys to be used by this code. Use
2995 INSTRUCTION_SIZE instead of REGISTER_SIZE for things.
2996 Conditionalize setup of _sr4export fixup. Improve comments.
2997 * config/pa/tm-hppa.h: Define INSTRUCTION_SIZE. Use a different
2998 call dummy if PA_LEVEL_0 is defined. Better comments for call
2999 dummys. Define offsets for LDIL/LDO instructions which load
3000 function addresses.
3001 * config/pa/tm-pro.h: Get rid of signal handling stuff. Define
3002 PA_LEVEL_0 to disable mucking with space regs and such.
3003
3004Mon Apr 17 15:37:08 1995 Stu Grossman (grossman@andros.cygnus.com)
3005
3006 * cpu32bug-rom.c monitor.h op50-rom.c remote-est.c rom68k-rom.c
3007 w89k-rom.c: Remove loadtypes, loadprotos and baudrates.
3008 * op50-rom.c: Fix copyrights and add load routine to op50n_cmds.
3009 * rom68k-rom.c (_initialize_rom68k): Don't set baud rate.
3010 * w89k-rom.c: Fix copyrights.
3011
3012Sun Apr 16 14:00:55 1995 Stu Grossman (grossman@andros.cygnus.com)
3013
3014 * monitor.c: Move all xmodem stuff into xmodem.[ch]. Remove
3015 unnecessary remoteloadprotocol and remoteloadtype support.
3016 * (expect expect_prompt): Change names to monitor_expect and
3017 monitor_expect_prompt. Make them global.
3018 * (printf_monitor): Change name to monitor_printf. Make global.
3019 * (monitor_read_memory): Flush command echo to avoid parsing
3020 ambiguity with CPU32Bug monitor.
3021 * (monitor_load): Remove remoteloadprotocol and remoteloadtype
3022 support. Call target_ops->load_routine, default to
3023 monitor_load_srec.
3024 * (monitor_load_srec): Remove everything but S-record support.
3025 * monitor.h (monitor_ops): Add load_routine to provide monitor
3026 specific download capability.
3027 * remote-est.c: Clean up copyrights and comments.
3028 * w89k-rom.c: Use new xmodem support.
3029 * xmodem.c xmodem.h: New files to support xmodem downloads.
3030 * rom68k-rom.c remote-est.c: Fix copyrights, add load_routine
3031 entry to monitor_ops.
3032 * cpu32bug-rom.c: New file to support Moto BCC debuggers.
3033 * config/m68k/est.mt (TDEPFILES): Add cpu32bug.o.
3034 * config/pa/hppapro.mt (TDEPFILES): Add xmodem.o.
3035
3036Sat Apr 15 18:00:15 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3037
3038 * rem-multi.shar: Removed; superceded by gdbserver.
3039
3040Fri Apr 14 12:10:24 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
3041
3042 * xcoffread.c (xcoff_sym_fns): Revise comment about merging this
3043 with coffread.c.
3044
3045 * breakpoint.c (fixup_breakpoints): Removed.
3046 * rs6000-nat.c (vmap_symtab): Don't call fixup_breakpoints.
3047 (vmap_ldinfo, xcoff_relocate_core): Call breakpoint_re_set.
3048
3049 * coffread.c (coff_symfile_offsets): Allocate SECT_OFF_MAX
3050 sections, not just SECT_OFF_MAX-1.
3051
3052 * rs6000-nat.c (vmap_symtab), xcoffread.c: Re-do section offsets
3053 to be indexed by SECT_OFF_* instead of xcoff section numbers.
3054 * objfiles.c, remote.c: Remove comments regarding SECT_OFF_*.
3055 * symtab.h: Revise comment about block_line_section.
3056 * rs6000-nat.c (vmap_symtab): Don't relocate objfile->sections.
3057
3058Sat Apr 15 14:15:14 1995 Stan Shebs <shebs@andros.cygnus.com>
3059
3060 * mpw-make.in (init.c): Don't try to do symbolic {o} in sed
3061 command, not allowed by some version of MPW Make.
3062 * ser-mac.c (mac-setbaudrate): Make it actually set baud rates.
3063
3064Sat Apr 15 14:05:09 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3065
3066 * alpha-tdep.c (alpha_push_arguments): Fix typo (TYPE_VALUE ->
3067 VALUE_TYPE). Do the cast for TYPE_CODE_BOOL, TYPE_CODE_CHAR,
3068 TYPE_CODE_ENUM, and TYPE_CODE_RANGE as well as TYPE_CODE_INT.
3069
3070Sat Apr 15 14:04:32 1995 Per Bothner <bothner@cygnus.com>
3071
3072 * alpha-tdep.c (alpha_push_arguments): Only cast to long for
3073 TYPE_CODE_INT.
3074
3075start-sanitize-gdbtk
3076Sat Apr 15 13:52:24 1995 Stan Shebs <shebs@andros.cygnus.com>
3077
3078 * gdbtk.c (gdb_disassemble): Read from inferior if connected
3079 to a VxWorks target.
3080
3081Fri Apr 14 10:18:20 1995 Stu Grossman (grossman@cygnus.com)
3082
3083 * README.GDBTK: New file. Contains the obvious.
3084end-sanitize-gdbtk
3085
3086Thu Apr 13 16:17:04 1995 Rob Savoye <rob@darkstar.cygnus.com>
3087
3088 * remote-array.c: New file for Array Tech LSI33k based controller
3089 board.
3090
3091Thu Apr 13 12:23:31 1995 Kung Hsu <kung@rtl.cygnus.com>
3092
3093 * a29k-tdep.c (get_longjmp_target): Replace SWAP_TARGET_AND_HOST with
3094 extract_address.
3095 * remote-vxsparc.c: New file, preliminary check in, this configuration
3096 not supported yet.
3097 * remote-vxmips.c: ditto.
3098
3099Thu Apr 13 12:10:14 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3100
3101 * rs6000-tdep.c (xcoff_add_toc_to_loadinfo): Don't use a prototype
3102 to declare the function.
3103
3104Wed Apr 12 16:40:20 1995 Stan Shebs <shebs@andros.cygnus.com>
3105
3106 * monitor.h (init_monitor_ops): Declare.
3107 * rom68k-rom.c: Clarify some comments.
3108 (rom68k_open): Define as static, to match decl.
3109
3110Wed Apr 12 16:36:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3111
3112 * gdb.gdb: New file.
3113 * .gdbinit: Move list-objfiles to gdb.gdb.
3114
3115 * values.c (set_internalvar): Set modifiable flag of newval.
3116
3117Wed Apr 12 14:34:31 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
3118
3119 * xcoffread.c: Call complain() rather than error() or printing a
3120 warning.
3121
d1856a18
SS
3122Wed Apr 12 08:15:27 1995 Doug Evans <dje@canuck.cygnus.com>
3123
3124 * arc-tdep.c: #include "gdbcmd.h".
3125 (codestream_seek): Pass CORE_ADDR.
3126 (arc_cpu_type, tmp_arc_cpu_type, arc_cpu_type_table): New globals.
3127 (debug_pipeline_p): Likewise.
3128 (X_...): Instruction field access macros.
3129 (BUILD_INSN): Define.
3130 (codestream_tell): Allow for stream elements > 1 byte.
3131 (codestream_fill): Likewise.
3132 (setup_prologue_scan): New function.
3133 (arc_get_frame_setup): Call it. Update to current spec
3134 regarding prologues. Use BUILD_INSN.
3135 (skip_prologue): New argument `frameless_p'. Use BUILD_INSN.
3136 (arc_frame_saved_pc): New function.
3137 (frame_find_saved_regs): Use BUILD_INSN.
3138 (get_insn_type, single_step): New functions.
3139 (one_stepped): New global.
3140 (arc_set_cpu_type_command, arc_show_cpu_type_command): New functions.
3141 (arc_set_cpu_type): New function.
3142 (_initialize_arc_tdep): Define new `set' commands `cpu',
3143 `displaypipeline', and `debugpipeline'.
d1856a18
SS
3144 * arc/tm-arc.h (TARGET_BYTE_ORDER): Delete.
3145 (TARGET_BYTE_ORDER_SELECTABLE): Define.
3146 (DEFAULT_ARC_CPU_TYPE): Define.
3147 (SKIP_PROLOGUE_FRAMELESS_P): Define.
3148 (BREAKPOINT): Delete.
3149 (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Define.
3150 (DECR_PC_AFTER_BREAK): Change to 8.
3151 (NO_SINGLE_STEP): Define.
3152 (ARC_PC_TO_REAL_ADDRESS): Define.
3153 (SAVED_PC_AFTER_CALL): Use it.
3154 (NUM_REGS, REGISTER_BYTES): Fix.
3155 (FRAME_SAVED_PC): Call arc_frame_saved_pc.
3156 (FRAME_LOCALS_ADDRESS): Fix.
d1856a18
SS
3157
3158Tue Apr 11 16:42:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3159
3160 * top.c, utils.c, defs.h: Remove error_hook. It is currently
3161 unused and would need to hook into error_begin()/return_to_top_level(),
3162 instead of error(), if it were to be used.
3163
3164Tue Apr 11 13:46:25 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
3165
3166 * utils.c, defs.h (warning_begin): Renamed from warning_setup, for
3167 consistency with error_begin. Also print warning_pre_print.
3168 Document it better.
3169 * utils.c (warning): Use it.
3170 * utils.c (error_begin): Doc fix.
3171 * rs6000-nat.c (vmap_ldinfo): If we don't find ldinfo for the
3172 symfile_objfile, nuke it.
3173
3174Tue Apr 11 09:35:20 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3175
3176 * printcmd.c (print_address_numeric): Pass use_local to
3177 print_longest, rather than always passing 1.
3178
3179 * nlm/Makefile.in: Remove comments discussing munch.
3180
3181start-sanitize-gdbtk
3182Tue Apr 11 11:07:12 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3183
3184 * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, but
3185 F_SETOWN is, use that.
3186end-sanitize-gdbtk
3187
3188Mon Apr 10 18:31:57 1995 Stan Shebs <shebs@andros.cygnus.com>
3189
3190 Merge in support for Mac MPW as a host.
3191 (Old change descriptions retained for informational value.)
3192
3193 * mpw-config.in (i386-unknown-go32): Change from aout.
3194 (sh-hitachi-hms): New target.
3195 * mpw-make.in (BISON): Use byacc instead of bison.
3196 (VERSION): Bump to 4.14.1.
3197 (*-pinsn.*): Remove mentions everywhere.
3198 (all): Don't build MacGDB.
3199 (gdb, SiowGDB): Depend on Version.r.
3200 (Version.r): Generate from version info.
3201 * main.c (main): Pass program name to START_PROGRESS, END_PROGRESS.
3202 (main) [MPW]: Remove debugging hook.
3203 * mac-xdep.c (debug_openp): New flag.
3204 (mac_init): Set flag if env variable defined.
3205 * ser-mac.c (mac_open): Clarify error message.
3206 (mac_readchar): Call PROGRESS while looping.
3207 (mac_write): Call sleep instead of sec_sleep.
3208 (sec_sleep): Remove.
3209 * source.c (openp) [MPW]: Only print debugging info if debugging.
3210 * utils.c (query) [MPW]: Clarify that behavior is a bug.
3211
3212 * mpw-make.in (init.c): Use open-brace instead of mpw-open-brace.
3213
3214 * main.c, source.c: Remove hacks that replace long strings
3215 with shorter ones, now solved portably.
3216
3217 * config/m68k/xm-mpw.h (spin.h): Include.
3218 (ALMOST_STDC): Only define if MPW_C.
3219 * config/m68k/tm-mac.h: New file, Mac target definitions.
3220
3221 * mpw-config.in (m68k-apple-macos, ppc-apple-macos,
3222 i386-unknown-aout): New targets.
3223 (mk.tmp): Add *DEPFILES definitions.
3224 * mpw-make.in: Remove gC rules, clean up definitions for other
3225 include files, bump version, fix bogus \ that should be \Option-d.
3226 (init.c): Build correctly.
3227
3228 * mpw-make.in (HFILES_NO_SRCDIR): Add somsolib.h
3229 (ALLDEPFILES): Add somsolib.c.
3230 (somsolib.o): Add some dependencies.
3231
3232 * mpw-config.in: Use nm-empty.h if host is not target.
3233 (xdepfiles): Add mac-xdep.c.o.
3234 (xm_file): Remove.
3235 * mpw-make.in: Add Fortran files.
3236 (XDEPFILES): Remove.
3237
3238 * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.
3239 * ser-mac.c (MacSerial.h): Include instead of Serial.h.
3240
3241 * mpw-make.in: Use {s} instead of {srcdir} everywhere.
3242 (bindir, libdir): Remove extra colon.
3243 (source.c): Compile with C instead of gC.
3244 (c-exp.tab.c, ch-exp.tab.c, m2-exp.tab.c): Add {o}.
3245 (install-only): Don't install MacGDB.
3246 * source.c (openp) [MPW]: Add a debugging display.
3247 (open_source_file) [MPW]: Use MPW basename finders.
3248 [MPW_C]: Briefer versions of help for line and list commands.
3249
3250 * mpw-make.in: Change references from paread.c to somread.c
3251
3252 * mpw-make.in (VERSION): Update to 4.12.3.
3253 (SiowGDB): New target, GDB using SIOW library.
3254 (init-new.c): New target, attempt to generate init.c from sources.
3255 (main.c.o, top.c.o): Put each in its own segment.
3256 * main.c (main) [MPW]: Always call mac_init.
3257 * utils.c (query) [MPW]: Always return "yes" if in MacGDB, output
3258 an extra newline otherwise.
3259 * mac-xdep.c: More comments in various places, remove junk.
3260 (mac_init): Add tests for MPW and SIOW.
3261 (use_wne, has_color_qd): Renamed.
3262 (use_color_qd): New variable.
3263 (grow_window): Only do console resizing to console window,
3264 call resize_console_window.
3265 (zoom_window): Call resize_console_window.
3266 (resize_console_window, scroll_text): New functions.
3267 (adjust_console_sizes): Always align viewrect to even multiples of
3268 text lines.
3269 (adjust_console_text): Always scroll by whole lines.
3270 (hacked_vfprintf, hacked_puts, hacked_fputc, hacked_putc): Force a
3271 recalculation of scroll positions if a newline was output.
3272 (hacked_fflush): Similarly, for flushing.
3273 (hacked_fgetc): New function, aborts if called in MacGDB.
3274 * ser-mac.c (mac_readchar): Rename starttime to start_time,
3275 remove debugging printf.
3276 (mac_write): Sleep on first 4 writes.
3277 (sec_sleep): New function, works like standard sleep.
3278 * macgdb.r: Adjust positioning and contents of About box.
3279 Set minimum size to 2000K, preferred size to 5000K.
3280 * config/m68k/xm-mpw.h (fgetc): Define as a macro.
3281
3282 * mpw-make.in (.c.o, .gc.o): Prefix segment names with gdb_.
3283 (top.c.o, annotate.c.o): Add build rules.
3284 * macgdb.r (SysTypes.r): Include.
3285 ('vers'): New resource, version info.
3286 (mFile, mEdit, mDebug): Enable all menu items.
3287 (mDebug): Add key equivalents for continue, step, next.
3288 (wConsole): Add zoom and close boxes to window.
3289 * mac-xdep.c (new_console_window): New function, code taken from
3290 mac_init.
3291 (mac_command_loop): Use GetCaretTime for wait interval, call
3292 do_idle on null events.
3293 (do_idle): New function.
3294 (zoom_window): Implement zooming.
3295 (v_scroll_proc): New function, handles vertical scrolling.
3296 (activate_window): Do activation of console window.
3297 (do_menu_command): Implement items of file, edit, and debug menus.
3298 (do_keyboard_command): Fix command extraction.
3299 (adjust_console_sizes, adjust_console_text): New functions.
3300 (hacked_fprintf, hacked_vfprintf, hacked_fputs, hacked_fputc,
3301 hacked_putc): Don't call draw_console.
3302 * ser-mac.c (mac_open): Add an error message for invalid ports.
3303 (first_mac_write): New global.
3304 (mac_write): Use first_mac_write to sleep on first several writes.
3305
3306 * mpw-make.in (INCLUDE_CFLAGS): Add readline source dir.
3307 (READLINE_CFLAGS, READLINE_SRC, READLINE_DIR): Uncomment.
3308 (TSOBS): Don't compile inflow.c.
3309 (all, install): Add MacGDB.
3310 * main.c (main): Do Mac-specific init and command loop if a
3311 standalone app, skip full option help message if compiling
3312 with MPW C.
3313 (gdb_readline): If MPW, add a newline after the (gdb) prompt.
3314 * utils.c (_initialize_utils): If MPW, don't try to use termcap to
3315 compute the window size.
3316 * config/m68k/xm-mpw.h (printf, fprintf, fputs, fputc, putc,
3317 fflush): Define as macros that expand into hacked_... versions.
3318 (StandAlone, mac_app): Declare.
3319 * macgdb.r (SIZE): Set the default partition to 4000K.
3320 * mac-xdep.c (readline.h, history.h): Include.
3321 (terminal.h): Don't include.
3322 (mac_app): Define.
3323 (gdb_has_a_terminal): Define Mac-specific version.
3324 (do_keyboard_command): Simplify search for command string.
3325 (readline): Define as gdb_readline.
3326 Add other history/readline stubs to make main gdb link.
3327 (hacked_fprintf, hacked_printf, hacked_vfprintf, hacked_fputs,
3328 hacked_fputc, hacked_fflush): New functions, intercept output to
3329 stdout and stderr, send to console window.
3330
3331 * mpw-make.in (MacGDB): New target, standalone Mac-hosted gdb.
3332 (XDEPFILES): Define.
3333 (main.c.o): Compile with gC instead of C.
3334 * mac-defs.h: New file, menu etc definitions shared between
3335 C and Rez files.
3336 * macgdb.r: New file, Rez (resource compiler) resource
3337 definitions.
3338 * mac-xdep.c: New file, Mac host interface code.
3339 * config/m68k/xm-mpw.h (PATHNAME_SEPARATOR): Rename to
3340 DIRNAME_SEPARATOR.
3341 (PATHNAME_SEPARATOR_STRING): Remove.
3342 (SIGQUIT, SIGHUP): Define.
3343 (fileno, R_OK): Define.
3344
3345 * mpw-config.in: New file, MPW configuration fragment.
3346 * mpw-make.in: New file, MPW makefile fragment.
3347 * config/m68k/xm-mpw.h: New file, MPW host definitions.
3348 * ser-mac.c: New file, Mac serial interface.
3349
3350Mon Apr 10 16:47:57 1995 Kung Hsu <kung@mexican.cygnus.com>
3351
3352 * valprint.c (print_longest): Fix a syntax error in #ifdef
3353 PRINTF_HAS_LONG_LONG.
3354
3355 * config/mips/xm-irix5.h: turn on CC_HAS_LONG_LONG and
3356 PRINTF_HAS_LONG_LONG.
3357 * config/mips/tm-irix5.h: turn on FORCE_LONG_LONG.
3358
3359Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3360
3361 * mdebugread.c (parse_symbol): Use new variable
3362 nodebug_var_symbol_type as type of variables which don't have any
3363 ecoff debug info associated with them.
3364 (parse_symbol, parse_procedure): Use heuristics to determine if
3365 functions were compiled without debugging info and change their
3366 type to nodebug_function_symbol_type.
3367 (_initialize_mdebugread): Initialize nodebug_*_symbol_type.
3368
3369 * source.c (line_info): Clear sal.pc for `info line' without
3370 arguments.
3371
3372Fri Apr 7 17:43:01 1995 Stu Grossman (grossman@andros.cygnus.com)
3373
3374 * monitor.c: make_xmodem_packet and print_xmodem_packet go away.
3375 send_xmodem_packet shows up to do the obvious. Lots of fixes to
3376 xmodem downloads including resetting of block number at start of
3377 new transfers, fix for buffer overrun problem, addition of CRC
3378 generation code.
3379 * (monitor_open): loadtype_str and loadproto_str now default to
3380 first entry in monitor_ops->loadtypes.
3381 * (monitor_wait): Lengthen register dump buf, because of verbose
3382 Winbond monitor.
3383 * (monitor_fetch_register): Report unimplemented registers as 0.
3384 * (monitor_read_memory): Only do 16 byte aligned transfers
3385 because of formatting weirdness with the Winbond monitor. Also,
3386 ignore non-hex, non-whitespace formatting between bytes (same
3387 monitor).
3388 * (monitor_load): Clean up logic.
3389 * (monitor_load_srec): Re-do xmodem support. Move lots of it
3390 into send_xmodem_packet.
3391 * (getacknak): Get rid of polls and timeouts. Handle CRC
3392 requests from receiver.
3393 * (monitor_make_srec): Efficiency improvements. Don't call
3394 sprintf to output two digit hex numbers.
3395 * (crcinit, docrc): New, CRC-16 support routines.
3396 * (send_xmodem_packet): New routine to generate either CRC-16 or
3397 checksummed xmodem packets.
3398
3399 * remote-est.c (est_loadtypes), rom68k-rom.c (rom68k_loadtypes):
3400 Reduce tables down to only the load types supported by each
3401 monitor.
3402
3403 * w89k-rom.c (w89k_supply_register): Parses output of Winbond
3404 register dumps.
3405 * (w89k_loadtypes, w89k_loadprotos): Reduce to just srec/xmodem.
3406 * (w89k_cmds): Add clear all breakpoints, memory fill, and dump
3407 registers commands.
3408
3409 * config/pa/tm-hppa.h: Define lots register offsets needed by
3410 w89k-rom.c.
3411
3412
3413Thu Apr 6 17:00:46 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3414
3415 * Makefile.in (X11_INCLUDES): Define as empty.
3416 (X11_CFLAGS): Define as including $(X11_INCLUDES).
3417 (X11_LIB_SWITCHES): Define as empty.
3418 (X11_LIBS): Define as -lX11.
3419
3420start-sanitize-gdbtk
3421 * configure.in (enable_gdbtk): If gdbtk, support the --x-includes
3422 and --x-libraries switches, setting the X11_INCLUDES and
3423 X11_LIB_SWITCHES respectively. Instead of using a hardcoded -lX11
3424 in ENABLE_CLIBS, use the X11_LIB_SWITCHES and X11_LIBS variables.
3425
3426 * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, don't use
3427 it. This means that the stop button doesn't work, but is better
3428 than nothing.
3429end-sanitize-gdbtk
3430
3431Wed Apr 5 19:57:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3432
3433 * mips-tdep.c (mips_print_register): Remove unused variable
3434 our_type and call to init_type. Fixes memory leak. Reindent function.
3435
3436 * mips-tdep.c (mips_print_register), findvar.c
3437 (write_register_bytes): Make buffer char[] instead of unsigned
3438 char[].
3439
3440Mon Apr 3 19:28:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3441
3442 * top.c, utils.c, main.c, defs.h: Replace error_pre_print with two
3443 variables: error_pre_print (for RETURN_ERROR) and quit_pre_print
3444 (for RETURN_QUIT). Fixes a bug whereby typing ^C (e.g. in "maint
3445 print sym") could output extraneous stuff.
3446 * objfiles.c: Don't declare error_pre_print; defs.h does it.
3447
3448Mon Apr 3 13:48:28 1995 Stu Grossman (grossman@andros.cygnus.com)
3449
3450 * monitor.h: Add MO_GETMEM_NEEDS_RANGE flag.
3451 * monitor.c (monitor_read_memory): Use previously mentioned flag
3452 to send proper format memory examine commands to the w89k monitor.
3453 Also, try to handle bizarre format of memory dump...
3454
3455 * op50-rom.c w89k-rom.c: Update to new monitor.[ch] conventions.
3456
3457Sat Apr 1 03:22:20 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3458
3459 * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
3460 Handle relocated symbol address.
3461 * partial-stab.h, case N_SO, SOFUN_ADDRESS_MAYBE_MISSING:
3462 Do not relocate a zero address.
3463
3464Thu Mar 30 19:46:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3465
3466 * config/a29k/tm-a29k.h: Nuke obsolete define CONTROL_END_ADDR; it
3467 is nowhere used.
3468
3469 * stabsread.c (read_range_type): Remove FIXME comment about
3470 type-id (I presume this meant a number followed by = followed by a
3471 type) versus type number; Per fixed it.
3472
3473Wed Mar 29 09:56:04 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3474
3475 * configure.in: sparc-*-sunos5* is same as sparc-*-solaris2*.
3476
3477Wed Mar 29 18:30:03 1995 Stan Shebs <shebs@andros.cygnus.com>
3478
3479 * remote-e7000.c (why_stop): Add new kinds of strings to expect
3480 from the emulator.
3481 (e7000_wait): Add interpretations for more stop reasons,
3482 including warnings for write protect and cycle address errors.
3483
3484Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
3485
3486start-sanitize-gdbtk
3487 * Makefile.in (gdbtk.o): Use X11_CFLAGS to provide alternate
3488 locations (per-host) for X11 include files.
3489 * config/pa/hppahpux.mh (XM_CLIBS): Add -L/usr/lib/X11R5 to force
3490 the use of R5 libs. (X11_CFLAGS): Add this to indicate the locs
3491 of the R5 include files.
3492end-sanitize-gdbtk
3493 * monitor.c monitor.h remote-est.c rom68k-rom.c: Add start of
3494 support for interrupting target.
3495 * monitor.c (monitor_open): Send stop command before doing
3496 anything else.
3497 * (monitor_load_srec): Fix record size calculation to prevent end
3498 of segment from getting trashed.
3499 * rom68k-rom.c: Update to latest version of struct monitor_ops.
3500 * config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Fix byte-order
3501 problems. Makes DOS hosted function calling work.
3502 * sparclite/crt0.s: Define _start to make COFF happy.
3503
3504Wed Mar 29 09:11:51 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3505
3506 * defs.h (atof): Don't provide an external declaration if atof is
3507 a macro.
3508
3509Wed Mar 29 00:01:07 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3510
3511 * rs6000-tdep.c (skip_prologue): Skip saving of LR and CR in
3512 the stack frame, fix typos in `st rx,NUM(r1)' and `stu r1,NUM(r1)'
3513 tests.
3514
3515Tue Mar 28 17:04:04 1995 Per Bothner <bothner@kalessin.cygnus.com>
3516
3517 * gdbtypes.c (create_range_type): If indextype has TYPE_FLAG_STUB
3518 set, set TYPE_FLAG_TARGET_STUB.
3519 (check_stub_type): Recalculate TYPE_LENGTH for range type.
3520 * stabsread.c (read_range_type): If index type number is followed
3521 by '=', back up, call read_type. and assume we have a true range.
3522 * gdbtypes.h (TYPE_FLAG_TARGET_STUB): Update comment.
3523
3524Mon Mar 27 22:51:54 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3525
3526 * alpha-nat.c, irix4-nat.c, irix5-nat.c, mipsv4-nat.c,
3527 sparc-tdep.c (supply_gregset, supply_fpregset): Fill inaccessible
3528 registers with zero to handle recent read_register_bytes change.
3529 * irix4-nat.c, irix5-nat.c, mipsv4-nat.c (supply_gregset,
3530 fill_gregset): Fix handling of CAUSE_REGNUM.
3531 * mips-nat.c (store_inferior_registers): Handle unwritable
3532 registers when storing a single register.
3533 * config/mips/tm-irix3.h (CAUSE_REGNUM, BADVADDR_REGNUM):
3534 Fix definitions.
3535
3536 * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Clear
3537 allocated mips_extra_func_info, if the debug info is corrupt,
3538 the PDR to fill it in might be missing.
3539
3540Mon Mar 27 14:43:00 1995 Kung Hsu <kung@mexican.cygnus.com>
3541
3542 * vx-share/regPacket.h: a new file interfacing with vxworks.
3543
3544Sun Mar 26 13:22:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3545
3546 * breakpoint.c (bpstat_do_actions): Once we've executed the
3547 commands, set bs->commands to NULL.
3548
3549Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3550
3551 * buildsym.c (patch_subfile_name): Update last_source_file
3552 with the real source file name.
3553 * dbxread.c (end_psymtab): Handle static functions in the
3554 SOFUN_ADDRESS_MAYBE_MISSING case by passing pst->filename
3555 to lookup_minimal_symbol.
3556 (process_one_symbol): Ignore extra outermost context from
3557 SunPRO cc and acc.
3558 * stabsread.c (define_symbol): Do not complain for SunPRO
3559 static variable encoding if STATIC_TRANSFORM_NAME is defined.
3560 * sparc-tdep.c, config/sparc/tm-sun4sol2.h
3561 (sunpro_static_transform_name): Renamed from
3562 solaris_static_transform_name.
3563 * config/sparc/tm-sun4os4.h (STATIC_TRANSFORM_NAME):
3564 Define to sunpro_static_transform_name for acc 3.0 compiled
3565 executables.
3566 * procfs.c, config/alpha/nm-osf2.h (PROCFS_DONT_TRACE_FAULTS):
3567 Renamed from PROCFS_DONT_TRACE_IFAULT, don't trace any faults
3568 if defined.
3569 * procfs.c (info_proc_siginfo): Cast sip->si_addr to
3570 `unsigned long' and use `lx' format for printing it.
3571
3572Fri Mar 24 15:45:42 1995 Stu Grossman (grossman@cygnus.com)
3573
3574 * configure.in: Move test for m68*-est-* before m68*-*-coff*.
3575 * findvar.c: Move default def of CANNOT_STORE_REGISTER closer to
3576 the beginning of the code.
3577 * (write_register_gen): New routine. Analogous to
3578 read_register_gen.
3579 * (write_register_bytes): Another rewrite! Make it smarter about
3580 not updating regs with the same value.
3581 * monitor.c (printf_monitor readchar): Use stderr instead of
3582 stdout to output debug info. Also cleanup readchar a little.
3583 * (expect): Make sure that excessive responses are null
3584 terminated.
3585 * (monitor_open): Check for magic number in monitor_ops struct.
3586 Allow multiple commands as init strings. Also, clear all
3587 breakpoints.
3588 * (monitor_resume monitor_wait): Send a command to dump all the
3589 regs for those targets which don't do so when waking up after a
3590 continue command.
3591 * (monitor_wait): Handle excessive response output better.
3592 * (monitor_write_memory): Use block fill, word, and long word
3593 commands (if they exist) to write memory more efficiently.
3594 * General cleanups to use flag bits instead of individual flag
3595 words in monitor_ops struct.
3596 * (monitor_command): Return output from command.
3597 * (monitor_load_srec): Allocate buffer only once. Use alloca.
3598 Wait for load response string instead of using a timeout to start
3599 sending S-records. Fix bug where value of srec_frame shrinks. If
3600 hashmark is set, print `-' for retransmissions. General cleanups.
3601 * (monitor_make_srec): Get rid of S-record default type kludge.
3602 * monitor.h: Use seperate struct for memory and register
3603 read/write commands. Memory commands can come in byte, word,
3604 long, and longlong forms.
3605 * (monitor_ops): Change lots of fields. Generalize some stuff.
3606 Put all flags into flags word. Allow init to be a list of commands.
3607 Add command for clearing all breakpoints, block fill, dumping all
3608 registers.
3609 * remote-est.c: Rewrite to use new monitor conventions.
3610 * config/m68k/est.mt (TDEPFILES): Add monitor.o.
3611 * config/m68k/tm-est.h: Set NUM_REGS to 18.
3612 * testsuite/gdb.base/break.exp: Lots of cleanups. Use gdb_test
3613 more thoroughly.
3614
3615Thu Mar 23 23:20:00 1995 Jeff Law (law@snake.cs.utah.edu)
3616
3617 * somsolib.c (som_solib_add): Handle case where a shared library
3618 referenced by a core file has sections without the SEC_ALLOC bit
3619 set (eg stabs sections).
3620
3621Thu Mar 23 15:07:08 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3622
3623 * breakpoint.c (bpstat_do_actions): For each element in the bpstat
3624 chain, do all the commands regardless of whether they run the
3625 inferior.
3626
3627Wed Mar 22 19:17:06 1995 Doug Evans <dje@cygnus.com>
3628
3629 * mem-break.c (LITTLE_BREAKPOINT, BIG_BREAKPOINT): Define as
3630 BREAKPOINT if mono-endian.
3631 (break_insn): Deleted.
3632 (big_break_insn, little_break_insn): Define.
3633 (memory_insert_breakpoint): Handle bi-endian cpus.
3634 (BREAKPOINT_LEN): Define.
3635 (memory_remove_breakpoint): Use it.
3636 (memory_breakpoint_size): Likewise.
3637
3638Tue Mar 21 17:03:17 1995 Kung Hsu <kung@mexican.cygnus.com>
3639
3640 * sparc-stub.c: add nop after 'bg good_wim'.
3641 * sparcl-stub.c: ditto.
3642
3643Tue Mar 21 13:34:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3644
3645 * infrun.c (handle_command): Don't print TARGET_SIGNAL_0,
3646 TARGET_SIGNAL_UNKNOWN, or TARGET_SIGNAL_DEFAULT.
3647
3648Mon Mar 20 10:09:59 1995 Jeff Law (law@snake.cs.utah.edu)
3649
3650 * hppab-nat.c (store_inferior_registers): Sync with HPUX version.
3651
3652Mon Mar 20 07:34:48 1995 Stu Grossman (grossman@cygnus.com)
3653
3654 * hppah-nat.c (store_inferior_registers): Move check for
3655 CANNOT_STORE_REGISTER to a better place. Fixes ptrace I/O errors
3656 found by test suite during function calls, which attempts to write
3657 unwritable registers.
3658
3659Sat Mar 18 02:02:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3660
3661 * mdebugread.c (parse_symbol): If finishing a function without
3662 known parameter type info, set that from parameter symbols.
3663 Remove commented-out add_param_to_type support.
3664
3665Thu Mar 16 16:38:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3666
3667 * xcoffread.c (process_linenos): Make sure filename we pass to
3668 start_subfile will cause deduce_language_from_filename to return
3669 the correct thing. Reindent function to GNU standards.
3670
3671Thu Mar 16 15:54:00 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3672
3673 * nlm/gdbserve.c (handle_exception): #if out call to StopBell,
3674 as it is not available on NetWare 3 or PIN.
3675 * nlm/ppc.c (StopBell): Removed.
3676
3677Thu Mar 16 12:14:41 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3678
3679 * xcoffread.c (read_xcoff_symtab): When creating a dummy parameter
3680 inferred from the traceback tags, give its type the name
3681 "<non-float parameter>".
3682
3683 * stabsread.c (rs6000_builtin_type): Recognize types -31 to -34.
3684
3685Wed Mar 15 15:09:29 1995 Stu Grossman (grossman@cygnus.com)
3686
3687 * findvar.c (read_register_bytes write_register_bytes): Make
3688 these routines much smarter about updating registers from the
3689 target, only doing so when absolutely necessary. This really
3690 speeds up register modification on some remote targets.
3691
3692 * monitor.c: More cleanups. Get rid of monitor_load_ascii_srec.
3693 BFD makes this unnecessary. Lots of debugging speedups.
3694 * (expect): NULL terminate return string.
3695 * (monitor_open monitor_supply_register parse_register_dump
3696 monitor_wait monitor_fetch_register): Switch to using GNU regexp
3697 library to parse multi-register displays.
3698 * (monitor_read_memory): Read multiple bytes (up to 16) at once.
3699 * (monitor_create_inferior): Call clear_proceed_status to make run
3700 command notice first breakpoint.
3701 * (monitor_load): Clean up. Reset inferior_pid, set pc to start
3702 address and reset symbol table stuff to make loads put things into
3703 a fresh state.
3704 * (monitor_load_srec): Lower sleep time to 1 second.
3705
3706 * monitor.h (struct monitor_ops): Add register_pattern and
3707 supply_register to monitor_ops.
3708
3709 * rom68k-rom.c: Add new support for handling register dumps.
3710 * config/m68k/tm-m68k.h: Define D0_REGNUM and A0_REGNUM for register
3711 dump handling.
3712
3713Wed Mar 15 15:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3714
3715 * utils.c, defs.h (putchar_unfiltered, fputc_unfiltered): Make
3716 argument be an int, not a char. Using a prototype followed by an
3717 old-style function definition in a case where an argument is
3718 widened is a GCC-ism not supported by the native AIX compiler.
3719
3720Wed Mar 15 12:22:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3721
3722 * nlmstub.def: Removed, this was moved to nlm/gdbserve.def
3723 long ago.
3724
3725 * configure.in (alpha-*-netware*): Removed configuration.
3726 * config/alpha/{alpha-nw.mt, gdbserve.mt, tm-alphanw.h}: Removed.
3727 * nlm/{README-ALPHA-NETWARE, aio.h, alpha-io.S, alpha-regdef.h,
3728 alpha.c, alpha.h, altdebug.h}: Removed.
3729
3730 * nlm/gdbserve.c (main): Add support for processing BOARD=
3731 argument, deprecate NODE=.
3732
3733Wed Mar 15 10:58:26 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3734
3735 * c-exp.y (yylex): Make an empty character constant an error.
3736
3737Tue Mar 14 15:00:54 1995 Per Bothner <bothner@kalessin.cygnus.com>
3738
3739 * valops.c (value_arg_coerce): Do possible value_coerce_array
3740 before determining type argument to value_cast.
3741
3742Tue Mar 14 10:41:41 1995 Kung Hsu <kung@mexican.cygnus.com>
3743
3744 * remote-es.c: Replace ignore with 0.
3745
3746Tue Mar 14 05:52:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3747
3748 * valops.c (value_repeat), eval.c (evaluate_subexp_standard):
3749 If VALUE_REPEATED is already set, just error out.
3750
3751 * valops.c (value_cast, value_slice), parse.c (follow_types): Add
3752 FIXME-type-allocation comments.
3753
3754 * gdbtypes.h (struct type): Fix comment about what units the
3755 TYPE_LENGTH is in.
3756
3757Mon Mar 13 18:27:25 1995 Stan Shebs <shebs@andros.cygnus.com>
3758
3759 * ch-valprint.c (annotate.h): Include.
3760 * eval.c (evaluate_subexp_standard): Remove unused variable.
3761 (calc_f77_array_dims): Add parens to expression.
3762 * f-exp.y (yylex): Add parens to expression, remove unused label.
3763 * f-lang.h (calc_f77_array_dims): Declare.
3764 * f-valprint.c (f_val_print): Remove unused variables.
3765
3766Mon Mar 13 15:25:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
3767
3768 * alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
3769 use the PDR, just examine prologues instead.
3770
d1856a18
SS
3771Fri Mar 10 16:13:18 1995 Kung Hsu <kung@mexican.cygnus.com>
3772
2bf15e13 3773 * config/arc/tm-arc.h: Change arc register names.
d1856a18
SS
3774
3775Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3776
3777 Fix problems with infinite recursion when printing a class
3778 that contains a static instance of the class.
3779 * cp-valprint.c (dont_print_vb_obstack): Renamed from
3780 dont_print_obstack, made static.
3781 (dont_print_statmem_obstack): New obstack, controls printing
3782 of static member classes.
3783 (_initialize_cp_valprint): Initialize it.
3784 (cp_print_static_field): New function, handles printing of
3785 static members.
3786 (cp_print_value_fields): New parameter dont_print_statmem to
3787 handle recursive printing of static member classes, use
3788 cp_print_static_field to handle printing of static members.
3789 * c-valprint.c (cp_print_value_fields): Update prototype and
3790 call to include additional dont_print_statmem parameter.
3791 * c-valprint.c, f-valprint.c (dont_print_obstack): Remove unused
3792 extern declaration.
3793
3794 * alpha-tdep.c, findvar.c, infptrace.c: Include <string.h>.
3795
3796 * config/alpha/tm-alpha.h (FRAME_FIND_SAVED_REGS): Call
3797 alpha_find_saved_regs if fi->saved_regs is still NULL.
3798
3799 * elfread.c (elf_symtab_read): Ensure that the filename field
3800 of a minsym is nonempty. Ignore solib trampoline symbols from
3801 the main symbol table, they might have a bogus value.
3802
3803 * procfs.c (set_proc_siginfo), config/alpha/alpha-osf2.mh:
3804 Fix typos in comments.
3805
3806Thu Mar 9 17:19:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
3807
3808 * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Initialize
3809 pdr.framereg field of MIPS_EFI_SYMBOL_NAME symbol to -1. That way
3810 we know whether the PDR ever got set.
3811 * mips-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
3812 use the PDR, just examine prologues instead.
3813
3814Wed Mar 8 23:35:10 1995 Jeff Law (law@snake.cs.utah.edu)
3815
3816 * somsolib.c (som_solib_section_offsets): Get offset of text
3817 section right.
3818
3819Wed Mar 8 16:12:21 1995 Stu Grossman (grossman@cygnus.com)
3820
3821start-sanitize-gdbtk
3822 * gdbtk.c (gdb_get_breakpoint_info): Return error if breakpoint
3823 type is not bp_breakpoint.
3824end-sanitize-gdbtk
3825
3826 * source.c (forward_search_command reverse_search_command): Set
3827 convenience variable $_ to be the line # of the match.
3828 * symtab.c (decode_line_1): Allow convenience variables to be
3829 used in line specs (for breakpoints and such).
3830
3831Wed Mar 8 12:51:00 1995 Stan Shebs <shebs@andros.cygnus.com>
3832
3833 * Makefile.in (VERSION): Bump to 4.14.1.
3834 * NEWS, README: Update for 4.14.
3835 * i386v-nat.c (i386_insert_aligned_watchpoint): Fix declaration.
3836 (i386_insert_nonaligned_watchpoint): Call aligned instead of
3837 generic watchpoint insertion.
3838
3839Tue Mar 7 19:26:10 1995 Per Bothner <bothner@kalessin.cygnus.com>
3840
3841 * valops.c (value_slice): Do COERCE_VARYING_ARRAY.
3842
3843Tue Mar 7 00:23:47 1995 Stu Grossman (grossman@cygnus.com)
3844
3845 * monitor.c, array-rom.c, monitor.h, rom68k-rom.c: Move target_ops
3846 into monitor.c.
3847 * monitor.c (monitor_create_inferior): Allow run command to start
3848 program.
3849
3850 * monitor.c (monitor_load): Set PC to start address when done
3851 loading.
3852
3853 * array-rom.c, monitor.h, rom68k-rom.c: Clean up target_ops.
3854 Remove ref to monitor_create_inferior.
3855
3856 * monitor.c: More general cleanups. Add prototypes, remove
3857 unused routines. Fix bug with wrong number of args to error().
3858
3859 * main.c (main): Don't start up GUI when running under gdb mode
3860 in emacs.
3861
3862 * Makefile.in: Add rules for monitor.o and rom68k-rom.o to make
3863 Sun make (with VPATH) work...
3864
3865 * monitor.c, monitor.h, rom68k-rom.c: Serious cleanup to make IDP
3866 (rom68k) target work right.
3867 * array-rom.c, op50-rom.c, w89k-rom.c: Partial updates to new
3868 monitor.c interface. More work needs to be done here.
3869 * config/m68k/tm-monitor.h: Change DECR_PC_AFTER_BREAK to 0 to
3870 match the IDP monitor. Also, set NUM_REGS to 18 cuz there's no
3871 floating-point for this card.
3872
3873 * serial.h, ser-go32.c, ser-go32-para.c, ser-mac.c, ser-tcp.c,
3874 ser-unix.c: Add SERIAL_SETSTOPBITS to set the number of stopbits
3875 (needed for IDP board?!?!?).
3876
3877 * defs.h, utils.c, remote-hms.c, remote-pa.c, remote.c: Fix defs
3878 and usage of fputc_unfiltered and putchar_unfiltered. Eliminate
3879 putc_unfiltered (it's superfluous).
3880
3881 * command.h, command.c, top.c: Add var_enum command type. It's
3882 like var_string but allows only only one of the specified strings.
3883
3884Mon Mar 6 15:03:59 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3885
3886 * valops.c (value_cast): Don't use backslash newline--pre-ANSI
3887 compilers (such as SunOS4 /bin/cc) don't generally support it
3888 except in some contexts.
3889
3890Fri Mar 3 17:42:48 1995 Per Bothner <bothner@kalessin.cygnus.com>
3891
3892 * valops.c (value_cast): Check for cast to array type *before*
3893 we coerce array to pointer (in case arg2 is already array).
3894
3895 * valops.c (call_function_by_hand): Set using_gcc to 2 if using
3896 gcc2. Needed for REG_STRUCT_HAS_ADDR to work on sparc.
3897 Also check REG_STRUCT_HAS_ADDR for union, array and string types.
3898
3899 * valops.c (call_function_by_hand): Re-arrange code for pushing
3900 paramaters on the stack so we can do better STACK_ALIGN.
3901
3902 * valops.c (call_function_by_hand): Call error if the number
3903 of arguments is fewer than parameter types in function type.
3904
3905Fri Mar 3 17:13:05 1995 Doug Evans <dje@canuck.cygnus.com>
3906
3907 * sparc-tdep.c (sparc_extract_struct_value_address): Move
3908 sparc64 support to here.
3909 (sparc64_extract_struct_value_address): Deleted.
3910 (dump_ccreg): Add a prototype so long long arg -> int.
3911 * sparc/tm-sp64.h (USE_STRUCT_CONVENTION): Define.
3912 (EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
3913
3914Fri Mar 3 15:12:12 1995 Jeff Law (law@snake.cs.utah.edu)
3915
3916 * hpread.c (hpread_record_lines): New argument "offset". All
3917 callers changed. Use it to handle dynamic address relocation.
3918 (hpread_build_psymtabs): Adjust texthigh as we read each function
3919 debug symbol. Fix computation of texthigh.
3920 (hpread_read_subrange_type): Work around macro bugs in HP's
3921 compilers.
3922 (hpread_process_one_debug_symbol): Correctly map source lines.
3923
3924 * somread.c (check_strange_names): Filter names emitted by the HP
3925 compiler when generating PIC code.
3926
3927 * valops.c (value_struct_elt_for_reference): Work around macro
3928 bugs in HP's compilers.
3929 * c-exp.y (block): Likewise.
3930
3931Fri Mar 3 12:27:28 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
3932
3933 * rs6000-tdep.c (push_dummy_frame): Fix order of arguments to
3934 store_address.
3935
3936 * utils.c [_AIX]: Include stddef.h instead of #defining size_t.
3937
3938Fri Mar 3 12:33:24 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3939
3940 * rs6000-tdep.c (skip_prologue): Skip multiple stores of the saved
3941 registers that GCC emits on the PowerPC by default in addition to
3942 the store multiple instruction used on the Power series.
3943
3944Fri Mar 3 00:54:58 1995 Doug Evans <dje@canuck.cygnus.com>
3945
3946 * sparc-tdep.c (decode_asi): New function.
3947 (sparc_print_register_hook): Pretty print more v9 registers.
3948 * sparc/tm-sp64.h (REGISTER_NAMES): Fix some typos.
3949
3950Thu Mar 2 22:20:22 1995 Doug Evans <dje@canuck.cygnus.com>
3951
3952 * dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc.
3953 (target_to_host): Change result type to CORE_ADDR.
3954
3955Thu Mar 2 15:13:04 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3956
3957 * rs6000-tdep.c: Fix byte-swapping sins.
3958
3959Thu Mar 2 16:48:45 1995 Michael Meissner <meissner@cygnus.com>
3960
3961 * rs6000-tdep.c (branch_dest): Minor code cleanup, don't share
3962 code between branch unconditional and branch conditional cases.
3963
3964Wed Mar 1 09:41:26 1995 Doug Evans <dje@canuck.cygnus.com>
3965
3966 Various changes for sparc64.
3967 * sparc-tdep.c (NUM_SPARC_FPREGS): Define.
3968 (SPARC_INTREG_SIZE): Define.
3969 (*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
3970 where appropriate.
3971 (enum branch_type): New value `done_retry'.
3972 (isbranch): Renamed from isannulled. All callers changed.
3973 Support new sparc64 branch insns.
3974 (single_step): Handle done_retry.
3975 (sparc_extract_struct_value_address): Don't assume 4 byte regs.
3976 (get_saved_register): Likewise.
3977 (sparc_push_dummy_frame): Likewise.
3978 (sparc_frame_find_saved_regs): Likewise.
3979 (sparc_pop_frame): Likewise. Don't refer to FPS_REGNUM, CPS_REGNUM,
3980 or PS_REGNUM if not sparc64. sparc64 has 64 fp regs.
3981 (sparc64_extract_struct_value_address): New function.
3982 (dump_ccreg, sparc_print_register_hook): Likewise.
3983 * sp64-tdep.c: Deleted.
3984 * sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
3985 (NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
3986 (CC_HAS_LONG_LONG): Define.
3987 (REGISTER_NAMES): Delete cle/tle and reorganize.
3988 (PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
3989 sparc-tdep.c now.
3990 (REGISTER_BYTES): Update.
3991 (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
3992 (EXTRACT_RETURN_VALUE): Delete. Use definition in tm-sparc.h.
3993 (NO_SINGLE_STEP): Likewise.
3994 * sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
3995 * sparc/sp64.mt: Move simulator support ...
3996 * sparc/sp64sim.mt: ... to here.
3997
3998Wed Mar 1 13:14:42 1995 Kung Hsu <kung@mexican.cygnus.com>
3999
4000 * remote-vx960.c: new file for target specific register packaging.
4001 * remote-vx68.c: ditto.
4002 * config/i960/vxworks960.mt: add remote-vx960.o.
4003 * config/m68k/vxworks68.mt: add remote-vx68.o.
4004
4005Wed Mar 1 13:42:49 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4006
4007 * remote.c (remote_wait): Make calls to strtol be type correct by
4008 passing the address of a char * pointer instead of an unsigned
4009 char *.
4010
4011 * rs6000-tdep.c (push_dummy_frame): Cast sp to char * when calling
4012 write_memory to make things type correct.
4013
4014Wed Mar 1 12:17:31 1995 Michael Meissner <meissner@cygnus.com>
4015
4016 * ch-exp.y, c-exp.y, f-exp.y, m2-exp.y (yy defines): Support the
4017 standard Linux yacc by adding more names to be redefined with a
4018 prefix.
4019
4020Tue Feb 28 22:55:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
4021
4022 * hppa-tdep.c (pa_print_registers), monitor.c: Use
4023 extract_unsigned_integer and friends, not SWAP_TARGET_AND_HOST.
4024 * defs.h, findvar.c: Move SWAP_TARGET_AND_HOST back to findvar.c.
4025 Rename it to SWAP_FLOATING to make it clear it is no longer for
4026 integers.
4027
4028Tue Feb 28 14:38:39 1995 Kung Hsu <kung@mexican.cygnus.com>
4029
4030 * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
4031 compile time.
d1856a18
SS
4032 * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
4033 processor.
d1856a18
SS
4034
4035 * vx-share/ptrace.h: merge in WRS new ptrace requests.
4036
4037 * defs.h: fix a syntax error.
4038
4039 * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
4040 * remote-vx.c: move read_register and write_register out to
4041 target specific files.
4042 * remote-vx29k.c (get_fp_contnets): add this function, from WRS.
4043
4044 * defs.h: define SWAP_TARGET_AND_HOST macro.
4045 * findvar.c, monitor.c, hppa-tdep.c: remove definition of
4046 SWAP_TARGET_AND_HOST.
4047
4048Tue Feb 28 08:31:40 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
4049
4050 * alpha-tdep.c (find_proc_desc): Only attempt to set
4051 PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.
4052
4053Mon Feb 27 11:56:32 1995 Stan Shebs <shebs@andros.cygnus.com>
4054
4055 * monitor.c: General gcc -Wall lint cleanup and reformat.
4056 (monitor_command): If no args, send an empty command.
4057
4058Thu Feb 23 21:07:25 1995 Stu Grossman (grossman@cygnus.com)
4059
4060 * monitor.c (monitor_load_ascii_srec): Add a one second sleep
4061 after send LOAD_CMD to prevent loss of first S-record.
4062
4063Tue Feb 21 20:48:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
4064
4065 * valops.c (call_function_by_hand): Set using_gcc to 2 if gcc-2.
4066 Call error if too few arguments.
4067 If REG_STRUCT_HAS_ADDR (structs passed by invisible reference),
4068 copy and convert to reference *before* we calculate alignment.
4069 Also, make sure structs allocated for return values and invisible
4070 reference don't violate STACK_ALIGN.
4071
4072Tue Feb 21 23:29:59 1995 Per Bothner <bothner@rtl.cygnus.com>
4073
4074 * ch-exp.y (expression_conversion): Recognize 'ARRAY () TYPE (EXPR)'
4075 (same as C's '(TYPE[])EXPR')
4076
4077Tue Feb 21 11:47:26 1995 Stan Shebs <shebs@andros.cygnus.com>
4078
4079 * top.c (print_gdb_version): Update the year.
4080
4081Sun Feb 19 14:31:57 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
4082
4083 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Look for newlib in
4084 `..' not in `../..'.
4085
4086Sun Feb 19 11:05:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4087
4088 * procfs.c (unconditionally_kill_inferior): Don't issue a PIOCKILL
4089 in addition to a PIOCSSIG to kill the inferior.
4090
4091Thu Feb 16 15:06:12 1995 Per Bothner <bothner@kalessin.cygnus.com>
4092
4093 * parse.c (follow_types): Given (TYPE[]) (i.e. with no length),
4094 create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
4095 * valops.c (value_cast): If a cast like (TYPE[])VALUE (i.e. array
4096 of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
4097 * c-typeprint.c (c_type_print_varspec_suffix): If array length
4098 is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.
4099
4100Thu Feb 16 16:06:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4101
4102 * dcache.c (insque, remque): Rewrite Linux support.
4103
4104Wed Feb 15 12:33:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4105
4106 * config/powerpc/tm-ppc-eabi.h (TEXT_SEGMENT_BASE): Define as 1.
4107
4108 * dcache.c (insque, remque): If compiling in standard C on Linux,
4109 protect insque and remque with macros to cast the pointer
4110 arguments to the proper type.
4111
4112Tue Feb 14 17:16:41 1995 Stu Grossman (grossman@cygnus.com)
4113
4114 * annotate.c, breakpoint.c, defs.h, top.c: Replace
4115 enable/disable_breakpoint_hook with modify_breakpoint_hook.
4116start-sanitize-gdbtk
4117 * gdbtk.c: Ditto.
4118 * gdbtk.c: General cleanups, get rid of unused variables. Redo
4119 handling of stdout/stderr to just return output as the result of
4120 the tcl command that caused the output. Cleanup -Wall stuff.
4121 * (breakpoint_notify): Now returns just action and breakpoint
4122 number.
4123 * (gdb_get_breakpoint_list): New routine. Does the obvious.
4124 * (gdb_get_breakpoint_info): Mostly derived from the old
4125 breakpoint_notify, but returns lots more info.
4126 * (dsprintf_append_element): Helper routine, works like printf,
4127 but appends a tcl element onto the specified DString. Good for
4128 building up lists as return values.
4129 * (gdbtk_enable/disable_breakpoint): Go away. Replaced with
4130 gdbtk_modify_breakpoint.
4131 * (*many routines*): Use new result protocol.
4132 * (call_wrapper): Make sure that recursive calls don't trash results.
4133 * gdbtk.tcl: New windows, autocmd, and breakpoints.
4134 * (gdbtk_tcl_fputs): Don't use $current_output_win redirection
4135 anymore. It's not needed (in fact, this routine may not be needed
4136 anymore).
4137 * (gdbtk_tcl_breakpoint): Change to reflect new breakpoint
4138 notification protocol.
4139 * (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove
4140 catches.
4141 * (interactive_cmd): Use this wrapper around button invocations
4142 of many commands. This will catch errors and put the results into
4143 the command window. It also updates all the other windows.
4144 * Also, change reliefs of most things to sunken. This actually
4145 looks better.
4146 * (create_file_win): Fix margin binding to allow breakpoints to
4147 work again.
4148 * (create_asm_win): Use return value of gdb_disassemble instead
4149 of implicit I/O to the command window.
4150 * (create_command_window): Use new result protocol to get output
4151 from commands.
4152end-sanitize-gdbtk
4153
4154Tue Feb 14 16:58:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
4155
4156 * expression.h: Move declaration of evaluate_subexp_with_coercion
4157 from here...
4158 * value.h: ...to here.
4159 * expression.h: Don't include value.h
4160
4161Tue Feb 14 11:46:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
4162
4163 * expression.h: Move include of value.h until after declaration of
4164 enum exp_opcode.
4165
4166Sun Feb 12 13:47:30 1995 Stan Shebs <shebs@andros.cygnus.com>
4167
4168 * remote-e7000.c: Comprehensive cleanup; removal of dead code,
4169 simplify code, declare things, format to standards.
4170 (inferior.h, value.h, command.h, remote-utils.h): Include.
4171 (e7000_login): Rename to e7000_login_command.
4172 (e7000_ftp): Rename to e7000_ftp_command.
4173 (e7000_drain): Rename to e7000_drain_command.
4174
4175 * irix5-nat.c (string.h): Include near beginning of file.
4176
4177Sun Feb 12 12:36:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
4178
4179 * valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
4180 arg, it is a value not a symbol.
4181
4182 gcc -Wall lint:
4183 * eval.c: Move declaration of evaluate_subexp_with_coercion from here..
4184 * expression.h: ..to here.
4185 * expression.h: Include value.h.
4186 * ch-lang.c (evaluate_subexp_chill): Add default case in switch.
4187
4188Sun Feb 12 11:03:47 1995 Per Bothner <bothner@kalessin.cygnus.com>
4189
4190 * language.h (struct language_defn): New field evaluate_exp.
4191 * c-lang.c (c_language_defn, cplus_language_defn, asm_langauge_defn),
4192 f-lang.c (f_language_defn), language.c (unknown_language_defn,
4193 auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn):
4194 Set evaluate_exp to evaluate_subexp_standard.
4195 * ch-lang.c (evaluate_subexp_chill): New function. Chill-specific
4196 support for MULTI_SUBSCRIPT.
4197 (chill_language_defn): Set evaluate_exp to evaluate_subexp_chill.
4198 * eval.c (enum noside): Move from here ....
4199 * expression.h (enum noside): ... to here.
4200 (evaluate_subexp_standard): New prototype.
4201 * eval.c (evaluate_subexp): Renamed to evaluate_subexp_standard.
4202 Removed lo-longer-needed test for chill_varying_type.
4203 (evaluate_subexp): New. Calls exp->language_defn->evaluate_exp.
4204
4205 * ch-exp.y (maybe_expression_list): New non-terminal.
4206 (primitive_value): Allow empty parameter list.
4207
4208Sun Feb 12 10:02:16 1995 Per Bothner <bothner@cygnus.com>
4209
4210 * buildsym.c (finish_block): If finishing a function without known
4211 parameter type info, set that from parameter symbols.
4212 * c-typeprint.c (c_type_print_varspec_suffix): For TYPE_CODE_FUNC,
4213 print parameter types, if available.
4214 * ch-typeprint.c (chill_type_print_base): Likewise.
4215
4216 * gdbtypes.h (struct type): Remove function type field.
4217 (TYPE_FUNCTION_TYPE): Remove macro. We can't as simply re-use
4218 function types now that we're also storing parameter types.
4219 And the payoff is much less.
4220 * gdbtypes.c (make_function_type): Don't use/set TYPE_FUNCTION_TYPE.
4221 (recursive_dump_type): Don't print TYPE_FUNCTION_TYPE.
4222 * dwarfread.c (read_subroutine_type): Don't set TYPE_FUNCTION_TYPE.
4223
4224 * valops.c (value_arg_coerce): Now takes param_type argument.
4225 (call_function_by_hand): Convert arguments with value_arg_coerce
4226 early, and overwrite original args with converted args.
4227 No longer need multiple calls to value_arg_coerce.
4228 (value_arg_push): Removed.
4229 * hppa-tdep.c (hppa_push_arguments): No longer call value_arg_coerce.
4230 * mips-tdep.c (mips_push_arguments): Likewise.
4231 * alpha-tdep.c (alpha_push_arguments): Likewise.
4232 * rs6000-tdep.c (push_arguments, ran_out_of_registers_for_arguments):
4233 Likewise.
4234 * value.h (value_arg_coerce): Remove declaration. (It's now static.)
4235
4236 * valops.c (value_cast): Do COERCE_VARYING_ARRAY after COERCE_REF.
4237
4238 * symtab.c (add_param_to_type): Remove (commented-out) function,
4239 since that functionality has been re-written.
4240 * coffread.c: Remove commented-out add_param_to_type support.
4241 * mdebugread.c (parse_symbol): Likewise.
4242 * stabsread.c (define_symbol): Likewise.
4243
4244Sun Feb 12 09:03:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
4245
4246 * buildsym.c (start_subfile): Set language for f2c like for cfront.
4247
4248Thu Feb 9 20:20:11 1995 Rob Savoye <rob@darkstar.cygnus.com>
4249
4250 * op50n-rom.c: Add the control registers.
4251
4252Thu Feb 9 15:46:39 1995 Stan Shebs <shebs@andros.cygnus.com>
4253
4254 * Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to
4255 after, any host/target/native libraries.
4256 * dcache.c (insque, remque): Remove declarations.
4257 * gdbtypes.h (type_code): Remove trailing comma.
4258
4259 From Peter Schauer:
4260 * xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef
4261 STATIC_NODEBUG_VARS inside case.
4262
4263Thu Feb 9 07:43:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
4264
4265 * config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.
4266 * partial-stab.h: Call it.
4267 * stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call
4268 STATIC_TRANSFORM_NAME to get the name and use minimal symbols to
4269 get the address.
4270 * sparc-tdep.c (solaris_static_transform_name): New function.
4271
4272Thu Feb 9 12:09:09 1995 Jeff Law (law@snake.cs.utah.edu)
4273
4274 * somread.c (som_symtab_read): Handle dynamic relocation for both
4275 text and data symbols.
4276 (som_symfile_offsets): If objfile is a shared library, then get
4277 text and data offsets from the shared library structures.
4278 * somsolib.c (som_solib_add): Copy the bfd pointer from the
4279 objfile rather than reopening the file again.
4280 (som_solib_section_offsets): New function.
4281 * somsolib.h (som_solib_section_offsets): Declare.
4282
4283Wed Feb 8 20:32:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
4284
4285 * config/sparc/tm-sun4sol2.h, dbxread.c: Rename
4286 N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING.
4287 * symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add
4288 filename field.
4289 * elfread.c (record_minimal_symbol_and_info),
4290 minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return
4291 newly created symbol.
4292 * elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]:
4293 Set filename field of minimal symbol.
4294 * symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]:
4295 Print filename field.
4296 * minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile.
4297 * symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y,
4298 m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c,
4299 os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c,
4300 printcmd.c, dbxread.c: Change callers to pass NULL for sfile.
4301 * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
4302 Find address of function from minimal symbols.
4303 * partial-stab.h, case 'f', 'F': Call find_stab_function_addr
4304 instead of getting pst->textlow from the stab.
4305 * minsyms.c (find_stab_function_addr): New function.
4306
4307Wed Feb 8 19:19:56 1995 Rob Savoye <rob@darkstar.cygnus.com>
4308
4309 * monitor.c: Fix so all the output shows up in the GUI command
4310 window.
4311
4312Mon Feb 6 18:50:59 1995 Stan Shebs <shebs@andros.cygnus.com>
4313
4314 * i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
4315 line, so init.c generation works correctly.
d1856a18 4316 * arc-tdep.c (_initialize_arc_tdep): Ditto.
d1856a18
SS
4317
4318Mon Feb 6 14:44:36 1995 Rob Savoye <rob@darkstar.cygnus.com>
4319
4320 * config/mips/idt.mt: Add support for the lsi33k target.
4321 * config/sparc/sun4sol2.mh: Add support for ser-tcp.
4322 * array-rom.c: Finish the rest of the support commands needed by
4323 GDB.
4324 * mips-tdep.c: Add LSI33k register names and processor type.
4325
4326start-sanitize-gdbtk
4327Sun Feb 5 20:32:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
4328
4329 * gdbtk.c (gdb_disassemble): Deference pointer to function before
4330 calling it (pre-ANSI compilers generally require this).
4331
4332end-sanitize-gdbtk
4333Sat Feb 4 13:29:52 1995 Stan Shebs <shebs@andros.cygnus.com>
4334
4335 * config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.
4336
4337Fri Feb 3 16:47:31 1995 Kung Hsu <kung@mexican.cygnus.com>
4338
4339 * ser-go32-para.c (dos_read): fix syntax errors.
4340
4341Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com)
4342
4343 * core.c (dis_asm_read_memory), defs.h, top.c: Get rid of
4344 dis_asm_read_memory_hook. We can now call the disassemblers
4345 directly and have no need for this hook anymore.
4346start-sanitize-gdbtk
4347 * gdbtk.c (gdb_disassemble): Ditto.
4348end-sanitize-gdbtk
4349 * defs.h, printcmd.c: Make print_insn be static.
4350
4351 * ser-go32.c (dos_comisr): Make this 8 bit clean.
4352 * (dos_open dos_close): Allow multiple opens to the same device.
4353 Use a ref count to prevent unwanted deallocations.
4354 * sparcl-tdep.c: Put #ifdefs around all socket stuff to make GO32
4355 happy.
4356 * (sparclite_ops): Switch to download_stratum.
4357 * target.h (enum strata): Move download_stratum before
4358 process_stratum so that executable targets get pushed on top of
4359 download targets.
4360
4361Thu Feb 2 19:02:45 1995 Rob Savoye <rob@darkstar.cygnus.com>
4362
4363 * array-rom.c: Remove the non GDB remote protocol config stuff.
4364
4365 * monitor.c: All reading/writing functions for memory and
4366 registers work.
4367
4368Thu Feb 2 16:11:04 1995 Kung Hsu <kung@mexican.cygnus.com>
4369
d1856a18
SS
4370 * config/arc/arc.mt: new target makefile for arc processor.
4371 * config/arc/tm-arc.h: new target header for arc processor.
4372 * config/arc/go32.mh: new go32 host makefile for arc processor.
4373 * config/arc/xm-go32.h: new go32 host header for arc processor.
4374 * arc-tdep.c: new target dependent codes for arc processor.
d1856a18
SS
4375 * ser-go32-para.c: new file for go32 parallel port communication.
4376
4377Thu Feb 2 13:58:40 1995 Stan Shebs <shebs@andros.cygnus.com>
4378
4379 * Makefile.in (VERSION): Bump to 4.13.2.
4380
4381Thu Feb 2 07:27:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
4382
4383 Fix compiler warnings:
4384 * remote-e7000.c (printf_e7000debug): Rename to puts_e7000debug
4385 and have the caller do the sprintf. Saves us from varargs hell.
4386 (normal): Define before use.
4387 * remote-e7000.c: Reindent a few things.
4388
4389Wed Feb 1 21:16:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
4390
4391 * f-typeprint.c (f_type_print_varspec_suffix): Print array index
4392 ranges in reverse order.
4393 * f-valprint.c (f77_create_arrayprint_offset_tbl): Fix calculation.
4394
4395 * eval.c (evaluate_subscript): Don't call value_subscript, since
4396 it adjusts for lower bound and enforces ranges.
4397
4398 * expression.h (exp_code): Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR.
4399 * eval.c, parse.c: Removed uses of removed opcodes.
4400 * eval.c (evaluate_subexp): Clean up handling of
4401 OP_UNDETERMINED_ARGLIST (no backtracking, more general).
4402
4403 * f-valprint.c (f_val_print): Print TYPE_CODE_STRING using
4404 LA_PRINT_STRING, and not val_print_string (which reads from inferior).
4405
4406 * ch-lang.c (chill_is_varying_struct), ch-lang.h: Remve function
4407 duplicate function made redundant by chill_varying_type.
4408
4409 Re-write of f77 string and complex number support:
4410
4411 * language.h (struct language_defn): New fields string_lower_bound
4412 and string_char_type.
4413 * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn),
4414 language.c (unknown_language_defn, auto_language_defn,
4415 local_language_defn), m2-lang.c (m2_language_defn), f-lang.c
4416 (f_language_defn), ch-lang.c (chill_language_defn): Set new fields.
4417 * gdbtypes.c (create_string_type): Use new string_char_type field.
4418 * valops.c (value_string): Use new string_lower_bound field.
4419
4420 * defs.h (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): Removed.
4421 * f-lang.c (f_create_fundamental_type, _initialize_f_language),
4422 m2-lang.c (m2_create_fundamental_type),
4423 gdbtypes.c (_initialize_gdbtypes): Set TYPE_TARGET_TYPE of complex
4424 types. Set their TYPE_CODEs to TYPE_CODE_COMPLEX.
4425 * mdebugread.c (mdebug_type_complex, mdebug_type_double_complex):
4426 Removed. Use builtin_type_complex and builtin_type_double_complex.
4427
4428 * gdbtypes.h (enum type_code): Removed TYPE_CODE_LITERAL_STRING
4429 and TYPE_CODE_LITERAL_COMPLEX.
4430 * c-typeprint.c, f-typeprint.c, f-valprint.c, eval.c: Removed uses of
4431 TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX.
4432 * gdbtypes.c, gdbtypes.h (f77_create_literal_complex_type,
4433 f77_create_literal_string_type): Removed.
4434 * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_MEMADDR,
4435 VALUE_SUBSTRING_MYADDR): Removed.
4436
4437 * expression.h (enum exp_opcode): Rename OP_F77_LITERAL_COMPLEX to
4438 OP_COMPLEX.
4439 * parse.c: Update accordingly.
4440
4441 * f-valprint.c (f77_print_cmplx): Removed.
4442 (f_val_print case TYPE_CODE_COMPLEX): Re-write to use print_floating.
4443
4444 * f-exp.y (STRING_LITERAL): Use OP_STRING instead of OP_ARRAY.
4445 * eval.c (evaluate_subexp): For case OP_ARRAY, don't call
4446 f77_value_literal_string.
4447 * valops.c, value.h (f77_value_literal_string, f77_value_substring,
4448 f77_assign_from_literal_string, f77_assign_from_literal_complex):
4449 Removed.
4450 (value_assign): No longer need to handle literal types.
4451 * valops.c (f77_value_literal_complex), value.h: Re-written and
4452 renamed to value_literal_complex. Last arg is now a (complex) type.
4453 * valops.c (f77_cast_into_complex): Re-written and renamed to
4454 cast_into_complex.
4455 * eval.c (evaluate_subexp): Update accordingly.
4456
4457 * ch-valprint.c (chill_val_print): On TYPE_CODE_STRING, don't
4458 print address for non-'s'-formats.
4459 * ch-typeprint.c, ch-valprint.c: Use chill_varying_type instead
4460 of chill_is_varying_struct.
4461
4462Wed Feb 1 13:27:33 1995 Stan Shebs <shebs@andros.cygnus.com>
4463
4464 gcc -Wall lint.
4465 * alpha-tdep.c (alpha_in_lenient_prologue): Comment out.
4466 (after_prologue): Remove unused local b.
4467 * procfs.c (thread.h): Include.
4468 (pr_flag_table, pr_why_table, faults_table, siginfo_table): Use
4469 nested braces in initializer.
4470 * top.c (initialize_targets, initialize_utils): Declare.
4471 (locate_arg, insert_args): Add parens around tested assignments.
4472 * remote-utils.c (sr_scan_args): Remove decl of strtol.
4473 * remote.c (thread.h): Include.
4474 (remote_wait): Remove unused local p2.
4475 * sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of
4476 registers array.
4477
4478 defs.h (stdlib.h): Include.
4479 (exit, perror, atoi, qsort, memcpy, memcmp): Don't declare.
4480 (fclose, atof, malloc, realloc, free, strchr, strrchr, strstr,
4481 strtok, strerror): Don't specify parameter types in declaration.
4482
4483Wed Feb 1 12:23:57 1995 Per Bothner <bothner@kalessin.cygnus.com>
4484
4485 * ch-exp.y (value_string_element, string_primitive_value,
4486 start_element, left_element, right_element, slice_size,
4487 lower_element, upper_element, first_element): Removed.
4488 (value_string_slice, value_array_slice): Replaced by ...
4489 (slice): New non-terminal, with working slice support.
4490 (primitive_value_lparen, rparen): New non-terminals.
4491 (maybe_tuple_elements): New non-terminal, to allow empty tuples.
4492 (idtokentab): Added "up".
4493
4494 * value.h (COERCE_VARYING_ARRAY): New macro.
4495 * valarith.c (value_subscript): Use it.
4496 * valops.c (value_cast): Likewise. Also, do nothing if already
4497 correct type, and allow converting from/to range to/from scalar.
4498
4499 * valops.c, value.h (varying_to_slice, value_slice): New functions.
4500 * eval.c (OP_ARRAY): Add cast for array element.
4501 * expression.h (TERNOP_SLICE, TERNOP_SLICE_COUNT): New exp_opcodes.
4502 * valops.c (chill_varying_type): Moved function frp, here ...
4503 * gdbtypes.c (chill_varying_type), gdbtypes.h: ... to here.
4504 * parse.c (length_of_subexp, prefixify_subexp): Add support
4505 for TERNOP_SLICE, TERNOP_SLICE_COUNT.
4506 * expprint.c (print_subexp, dump_expression): Likewise.
4507 * eval.c (evaluate_subexp): Likewise.
4508
4509 * eval.c (evaluate_subexp case MULTI_SUBSCRIPT): Don't call
4510 value_x_binop on a Chill varying string.
4511
4512Tue Jan 31 13:51:53 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
4513
4514 * config/m68k/monitor.mt,
4515 config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put
4516 depfiles in TDEPFILES not REMOTE_O.
4517
4518Tue Jan 31 11:14:44 1995 Steve Chamberlain <sac@splat>
4519
4520 From nigel@algor.co.uk.
4521 * ser-go32.c (dos_close): Don't crash if scb null.
4522 (dos_sendbreak): New function.
4523 (dos_ops): Point to dos_sendbreak.
4524 (dos_info): Calculate COM number correctly.
4525
4526Tue Jan 31 09:40:11 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
4527
4528 * xcoffread.c (process_xcoff_symbol): Use new variables
4529 func_symbol_type and var_symbol_type as type of functions and
4530 variables which don't have any stabs associated with them.
4531 Reindent most of function.
4532 (_initialize_xcoffread): Initialize *_symbol_type.
4533
4534 * xcoffread.c (read_xcoff_symtab): Reindent most of function.
4535 Put C_HIDEXT symbols in the minimal symbols, rather than ignoring
4536 them (this part commented out as I didn't quite get it to work).
4537 (cs_to_section, find_targ_sec): New functions, to support above code.
4538 * xcoffread.c (RECORD_MINIMAL_SYMBOL): Only skip '.' if it is
4539 actually present.
4540
4541Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com)
4542start-sanitize-gdbtk
4543 * gdbtk.tcl (create_file_win): Disable old popup menu for source
4544 window.
4545end-sanitize-gdbtk
4546 * sparcl-tdep.c: Add `sparclite' target for doing serial and udp
4547 downloads to SPARClite demo boards.
4548
4549Sun Jan 29 09:43:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
4550
4551 * remote.c, remote-pa.c: Remove #if 0'd icache code. It has had
4552 no hope of working as is for a long time (in particular, shebs' 27
4553 Jan 95 change confuses the issue further--target_read_memory and
4554 xfer_core_file do *not* do the same thing in this context).
4555 Revise comment.
4556
4557Sat Jan 28 13:40:46 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4558
4559 * elfread.c (elf_symtab_read): Do not test BSF_GLOBAL for
4560 procedure linkage table symbols, it is no longer set due to the
4561 Jan 6 BFD change in bfd/elfcode.h.
4562
4563Fri Jan 27 17:08:06 1995 Stan Shebs <shebs@andros.cygnus.com>
4564
4565 * top.c (use_windows): Clarify comments.
4566
4567 * convex-tdep.c (xfer_core_file): Comment out.
4568 * config/convex/tm-convex.h (XFER_CORE_FILE): Remove.
4569 * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file
4570 references to target_read_memory.
4571 * gdbcore.h (xfer_core_file, core_open, core_detach): Remove
4572 declarations.
4573 * corelow.c (core_open, core_detach): Make static.
4574
4575 * arm-tdep.c: Make it compile.
4576 (exec_file_command, xfer_core_file): Comment out.
4577 (arm_print_insn): Remove, now in libopcodes.
4578 (skip_prologue): Comment out most of body.
4579 (arm_frame_find_saved_regs): Move here from tm-arm.h.
4580 (_initialize_arm_tdep): Set tm_print_insn.
4581 * config/arm/tm-arm.h: Remove old refs to first_object_file_end.
4582 (XFER_CORE_FILE): Remove.
4583 (FRAME_FIND_SAVED_REGS): Call arm_frame_find_saved_regs.
4584
4585Fri Jan 27 08:48:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
4586
4587 * Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in.
4588
4589Thu Jan 26 18:24:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
4590
4591 * symtab.c (find_pc_line): When subtracting one to get a line
4592 number, make sure not to end up with zero.
4593
4594 * remote-vx.c: Revert all of Kung's changes of 16 Jan. The
4595 problems with those changes were (a) the file didn't compile, (b)
4596 they changed memset to bzero--memset is correct, (c) they took out
4597 code to deal with boards lacking floating point, (d) who knows
4598 what I didn't discover in a quick read.
4599
4600Thu Jan 26 17:32:54 1995 Stu Grossman (grossman@cygnus.com)
4601
4602 * sparcl-tdep.c: Clean up formatting and indentation.
4603
4604Thu Jan 26 10:49:59 1995 Steve Chamberlain <sac@splat>
4605
4606 * remote-hms.c (hms_ops): Change ref of hr_load_image
4607 to gr_load_image.
4608 (dcache_flush, dcache_hit, dcache_value, dcache_fetch,
4609 dcache_poke, dcache_init): Deleted.
4610 (hms_open, hms_resume, hms_fetch_word, hms_store_word):
4611 Use dcache routines provided by remote-util.h
4612
4613Thu Jan 26 12:08:31 1995 Michael Meissner <meissner@cygnus.com>
4614
4615 * configure.in: Add support for powerpc-*-eabi.
4616
4617 * powerpc/tm-ppc-eabi.h, powerpc/pcc-eabi.mt: New files for
4618 PowerPC support.
4619
4620Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
4621
4622 * language.h (struct language_defn): New field c_style_arrays.
4623 * language.c (unknown_language_defn, auto_language_defn,
4624 local_language_defn), c-lang.c (c_language_defn, cplus_language_defn,
4625 asm_language_defn): Set c_style_arrays to true.
4626 * m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn),
4627 f-lang.c (f_language_defn): Set c_style_arrays to false.
4628 * valops.c (value_string): If c_style_array is not set,
4629 allocate string in gdb (not inferior) using allocate_value.
4630
4631 * value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce):
4632 Only call value_coerce_array if current_language->c_style_arrays.
4633 * values.c: Add #include "language.h". (Needed for COERCE_ARRAY.)
4634
4635 * valops.c (chill_varying_type): New predicate.
4636 * valops.c (value_cast): Support assigning a fixed string or array
4637 to a variable string/array structure.
4638
4639 * valarith.c (value_subscripted_rvalue): Extra parameter lowerbound.
4640 Check index>=lowerbound, and then add lowerbound to index here,
4641 instead of in caller. Generalize to arbitrary lval_types.
4642 (value_subscript): Use enhanced value_subscripted_rvalue if
4643 c_style_arrays is false (and index is in range).
4644
4645start-sanitize-gdbtk
4646Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com)
4647
4648 * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
4649 found.
4650 * gdbtk.tcl: Initialize expr_update_list() to prevent errors when
4651 popping up expression window for the first time.
4652end-sanitize-gdbtk
4653
4654Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
4655
4656 * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:
4657 TYPE_LENGTH is length in bytes, not bits.
4658
4659Wed Jan 25 08:19:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
4660
4661 * infrun.c (proceed): Flush stdout before resuming inferior.
4662 * infcmd.c (step_1), annotate.c (annotate_starting):
4663 Don't bother to flush here.
4664
4665Wed Jan 25 01:11:21 1995 Jeff Law (law@snake.cs.utah.edu)
4666
4667 * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
4668 by an ill-advised global search and replace.
4669
4670Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com)
4671
4672 * gdbtk.tcl (create_registers_window): Work around a radiobutton
4673 widget bug to make Options|Natural button work.
4674
4675 * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and
4676 g++ caused by out-of-order pc's.
4677 * gdbtk.tcl (files_command): Remove duplicate file names. Also,
4678 add scrollbar.
4679
4680Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com)
4681
4682 * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
4683 doc!
4684
4685Mon Jan 23 13:11:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
4686
4687 Add support for Chill bitstring literals (e.h. H'FF00').
4688 * ch-exp.y (match_bitstring_literal): Fix for proper endianness.
4689 * expprint.c (print_subexp): Don't call error on OP_BITSTRING,
4690 just print B'<unimlemented>'.
4691 * gdbtypes.c (create_set_type): Fix bug in length calculation.
4692 * valops.c, value.h (value_bitstring): New function.
4693 * eval.c (evaluate_subexp): Implement support for OP_BITSTRING.
4694
4695 * ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
4696 check that return type is non-void, and print in proper Chill syntax.
4697
4698Mon Jan 23 12:20:34 1995 Rob Savoye <rob@darkstar.cygnus.com>
4699
4700 * Makefile.in: Remove references to remote-mon.c.
4701 * remote-mon.c: remove. Replaced by rom68k-rom.c.
4702 * rom68k-rom.c: Support for Rom68k monitor.
4703
4704Mon Jan 23 10:50:57 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
4705
4706 * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
4707 gcc/ch/runtime not chillrt, since that is where the chill runtime
4708 lives now.
4709
4710Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
4711
4712 * remote-hms.c (hms_load): Delete.
4713 (target_ops): Use hr_load_image.
4714
4715 * remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
4716 Define memory_insert/remove_breakpoint.
4717 * xm-go32.h: Remove redundant SIGs.
4718
4719Thu Jan 19 20:26:58 1995 Steve Chamberlain <sac@splat>
4720
4721 * ser-go32.c: Rewritten by nigel@algor.co.uk.
4722
4723Fri Jan 20 15:23:55 1995 Per Bothner <bothner@kalessin.cygnus.com>
4724
4725 * expression.h (OP_LABELED): New operator, for Chill
4726 labeled structre tuples.
4727 * ch-exp.y (tuple_element, named_record_element, tuple_elements):
4728 New non-terminals, to handle labeled structure tuples.
4729 (tuple): Re-define using tuple_elements.
4730 * eval.c (evaluate_labeled_field_init): New function, to handle
4731 initialization of structure fields, possibly using OP_LABELED.
4732 (evaluate_subexp): Use it.
4733 * expprint.c (print_subexp case): For OP_ARRAY, use Chill syntax
4734 for Chill. Handled OP_LABELED.
4735 * parse.c (length_of_subexp, prefixify_subexp): Handle OP_LABELED.
4736
4737 * eval.c (evaluate_subexp): Handle Chill Powerset tuples.
4738 * valarith.c (value_bit_index): Just treat bitstring as represented
4739 by an array of bytes. Alignment is handled by compiler.
4740
4741Wed Jan 18 19:00:29 1995 Stan Shebs <shebs@andros.cygnus.com>
4742
4743 * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
4744 * sh-tdep.c (gdb_print_insn_sh): Ditto.
4745
4746Wed Jan 18 11:25:43 1995 Kung Hsu <kung@mexican.cygnus.com>
4747
4748 * remote-os9k.c (rombug_open): Fix a bug in exception handling
4749 command.
4750 * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
4751 write.
4752
4753Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
4754
4755 * parse.c (_initialize_parse): Improve wording of names of
4756 msym_*_symbol_type.
4757
4758Tue Jan 17 14:00:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
4759
4760 * config/mips/tm-mips.h (enum mips_fpu_type): New enum.
4761 (mips_fpu): Change type to enum mips_fpu_type.
4762 (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
4763 * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
4764 Don't initialize.
4765 (mips_fpu_string): New static variable.
4766 (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
4767 (mips_pop_frame): Likewise.
4768 (mips_extract_return_value): Likewise.
4769 (mips_store_return_value): Likewise.
4770 (mips_set_fpu_command): New static function.
4771 (mips_show_fpu_command): New static function.
4772 (_initialize_mips_tdep): Change handling of set/show mipsfpu.
4773
4774Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
4775
4776 * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
4777
4778 * parse.c (write_exp_msymbol): Use new variables
4779 msym_*_symbol_type as type of msymbol expression.
4780 (_initialize_parse): Initialize them.
4781
4782Mon Jan 16 18:11:03 1995 Stan Shebs <shebs@andros.cygnus.com>
4783
4784 General cleanup and simplication of disassembler interface.
4785 * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
4786 hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
4787 m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
4788 rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
4789 * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
4790 had been -pinsn.c files.
4791 * Makefile.in (ALLDEPFILES): Remove removed files.
4792 (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
4793 hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
4794 m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
4795 rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
4796 Remove compile actions.
4797 * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
4798 vax-tdep.o: Add compile actions.
4799 * defs.h (tm_print_insn): New global.
4800 * a29k-tdep.c (gdb_print_insn_a29k): New function.
4801 (_initialize_a29k_tdep): Rename from _initialize_29k,
4802 set tm_print_insn.
4803 * alpha-tdep.c (print_insn): Remove.
4804 (_initialize_alpha_tdep): Set tm_print_insn.
4805 * arm-tdep.c (arm_print_insn): New function, was print_insn
4806 in arm-pinsn.c.
4807 * convex-tdep.c (convex_print_insn): New function, was print_insn
4808 in convex-pinsn.c.
4809 * h8300-tdep.c (print_insn): Remove.
4810 (gdb_print_insn_h8300): New function.
4811 (_initialize_h8300_tdep): New function.
4812 * h8500-tdep.c (print_insn): Remove.
4813 (_initialize_h8500_tdep): New function.
4814 * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
4815 * i386-tdep.c (_initialize_i386_tdep): New function.
4816 * i960-tdep.c (mem, next_insn): New functions, were in
4817 i960-pinsn.c.
4818 (_initialize_i960_tdep): Set tm_print_insn.
4819 * m68k-tdep.c (_initialize_m68k_tdep): New function.
4820 * m88k-tdep.c (_initialize_m88k_tdep): New function.
4821 * mips-tdep.c (gdb_print_insn_mips): New function.
4822 (_initialize_mips_tdep): Set tm_print_insn.
4823 * pyr-tdep.c (pyr_print_insn): New function, was print_insn
4824 in pyr-pinsn.c.
4825 * rs6000-tdep.c (_initialize_rs6000_tdep): New function.
4826 * sh-tdep.c (print_insn): Remove.
4827 (gdb_print_insn_sh): New function.
4828 (_initialize_sh_tdep): Set tm_print_insn.
4829 * sparc-tdep.c (_initialize_sparc_tdep): New function.
4830 * w65-tdep.c (print_insn): Remove.
4831 (_initialize_w65_tdep): New function.
4832 * z8k-tdep.c (print_insn): Remove.
4833 (gdb_print_insn_z8k): New function.
4834 (_initialize_z8k_tdep): Set tm_print_insn.
4835 * printcmd.c (print_insn): New function, generic disassembler.
4836 * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
4837
4838Mon Jan 16 15:43:29 1995 Kung Hsu <kung@mexican.cygnus.com>
4839
4840 * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
4841 and config/a29k/vx29k.mt.
4842 * configure.in: add new configuration a29k-*-vxworks.
4843 * remote-vx29k.c: new file merged from WRS.
4844 * remote-vx.c: merge changes from WRS.
4845 * config/a29k/vx29k.mt: new file for new configuration.
4846 * config/a29k/tm-vx29k.h: new header file for newconfiguration.
4847
4848Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
4849
4850 * breakpoint.h (disable_breakpoint, enable_breakpoint):
4851 New declarations.
4852 (enum bpdisp): Change name of 'delete' member to 'del'.
4853 (struct bpstat): Changed name to 'bpstats'.
4854 * breakpoint.c (disable_breakpoint, enable_breakpoint,
4855 breakpoint_chain): Made globally visible.
4856 (bpstat_stop_status): Use new name for bpstat.
4857 (break_command_1, watch_command_1, catch_command_1,
4858 breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
4859 instead of 'delete'.
4860 (set_breakpoint_sal): New function.
4861 * defs.h (registers_changed_hook): New declaration.
4862 * infcmd.c (run_stack_dummy): 'delete' is now 'del'.
4863 * inflow.c (new_tty): Treat WIN32 in same way as __GO32__
4864 * main.c (main): Don't scan options when in WIN32 and exit
4865 without entering main loop.
4866 * m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
4867 * symtab.h (struct symbol, struct partial_symbol): Changed name of
4868 member 'class' to 'aclass'.
4869 (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
4870 * top.c (registers_changed_hook): New definition.
4871 * utils.c (quit, notice_quit, initialize_utils): Treate WIN32
4872 in same way as __GO32__.
4873 * value.h (c_typedef_print): Rename 'new' argument.
4874
4875 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
4876 * configure.in: Suppprt for w65,
4877
4878
4879Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
4880
4881 * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
4882 not stop_pc, to proceed.
4883
4884 * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
4885
4886Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
4887
4888 * infcmd.c (signal_command): Accept "signal 0"; the change to not
4889 accept it was accidental. "handle 0" and "info signal 0" remain
4890 illegal, though.
4891
4892Fri Jan 13 15:19:01 1995 Stan Shebs <shebs@andros.cygnus.com>
4893
4894 * Makefile.in (all): Don't make libgdb-files.
4895 (libgdb): New action, makes libgdb-files.
4896
4897Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com>
4898
4899 * stabsread.c (read_enum_type): When pending enum symbols are
4900 put into the enum type, they must be inserted in "backwards
4901 order, in case we've overflowed a struct pending buffer.
4902
4903start-sanitize-gdbtk
4904Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com)
4905
4906 * gdbtk.c, gdbtk.tcl: Update/add copyright.
4907 * gdbtk.tcl (build_framework): Several fixes for filespec widget,
4908 including dismiss button, and better error handling.
4909 * (create_command_win): Bind button 2 to retrieve selection.
4910end-sanitize-gdbtk
4911
4912Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4913
4914 * README: Add note about SPARCworks cc release 3.0 and higher.
4915
4916 Add procfs support for Alpha OSF/1-2.x.
4917 * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic
4918 OSF/1 native support.
4919 * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly.
4920 (MUNCH_DEFINE): Removed.
4921 * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files
4922 for procfs support.
4923 * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1
4924 release 2.x and higher, else alpha-osf1.mh, as the procfs support
4925 in release 1.x is incomplete.
4926 * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh.
4927 * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
4928 fill_fpgregset): New routines for procfs support.
4929 * inftarg.c (_initialize_inftarg): Don't add ptrace support
4930 if we have an optional procfs and /proc is accessible.
4931 * procfs.c: Include sys/fault.h and sys/syscall.h before
4932 including sys/procfs.h.
4933 (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL
4934 is defined, additionally perform a PIOCSSIG to really terminate
4935 the inferior.
4936 (create_procinfo): Always return a result.
4937 (create_procinfo, do_attach): Don't trace T_IFAULT faults if
4938 PROCFS_DONT_TRACE_IFAULT is defined.
4939 (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as
4940 argument to startup_inferior if it is defined.
4941 (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead
4942 of tracing exits from exec system calls. Needed for the user level
4943 loader under Alpha OSF/1.
4944 (do_detach): Clear any pending signal if we want to detach from
4945 a process without a signal.
4946 (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
4947 don't issue a PIOCSSIG if pr_cursig already contains the signal we
4948 intend to set.
4949 (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the
4950 pending signals are numbered from 1 instead of 0.
4951 (info_proc_mappings): Increase size of output format for addresses
4952 if BFD_HOST_64_BIT is defined.
4953 (procfs_stop): Renamed from child_stop.
4954 (_initialize_procfs): Don't add procfs support if we have an
4955 optional procfs and /proc is not accessible.
4956
4957start-sanitize-gdbtk
4958Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com)
4959
4960 * gdbtk.tcl: Add button to control mixed source disassembly.
4961 Use text widgets in expr window. The give me more control over
4962 layout.
4963 Add auto-updating of exprs in expression window.
4964 Handle expressions out of scope a bit better.
4965 Make selected window pop up to the top when invoked via the
4966 menubar.
4967 Make copyright message have raised relief.
4968
4969 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
4970 during startup.
4971end-sanitize-gdbtk
4972
4973Wed Jan 11 17:53:26 1995 Rob Savoye <rob@darkstar.cygnus.com>
4974
4975 * array-rom.c: Add support for most commands.
4976
4977 * monitor.c: Add GDB remote protocol for the hybrid environment on
4978 the Array board.
4979
4980Wed Jan 11 00:44:01 1995 Jeff Law (law@snake.cs.utah.edu)
4981
4982 * command.c (show_user_1): Use print_command_line to show a user
4983 defined command (including control structures).
4984
4985 * top.c (init_main): Change documentation for user defined
4986 commands to indicate they may accept up to ten arguments.
4987
4988Tue Jan 10 16:22:41 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
4989
4990 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
4991 `move $s8, $sp' instruction.
4992
4993Sun Jan 8 12:45:34 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
4994
4995 * target.c, target.h (target_signal_from_command): New function.
4996 * infrun.c (handle_command, signals_info), infcmd.c
4997 (signal_command): Use it.
4998 * infrun.c, infcmd.c: Update docstrings for these commands.
4999
5000 * target.h (enum target_signal), target.c (signals), target.c
5001 (target_signal_from_host, target_signal_to_host): Add
5002 TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
5003 * config/tm-lynx.h: Define signal numbers for realtime events.
5004
5005Sat Jan 7 07:23:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5006
5007 * dbxread.c (process_one_symbol): Handle N_FUN symbols
5008 for Sun acc 3.0 under SunOS4.
5009
5010 Changes to improve handling of runtime common symbols
5011 under SunOS4.
5012 * minsyms.c (get_symbol_leading_char): New routine to determine
5013 the leading symbol character for an objfile.
5014 (prim_record_minimal_symbol_and_info, install_minimal_symbols):
5015 Use it.
5016 * objfiles.h (rt_common_objfile): New global, points to objfile
5017 containing the runtime common minimal symbols.
5018 * objfiles.c (free_objfile): Mark rt_common_objfile as
5019 unallocated before freeing it.
5020 * solib.c (allocate_rt_common_objfile): New routine to allocate
5021 an objfile for the runtime common minimal symbols.
5022 (solib_add_common_symbols): Allocate an objfile for the runtime
5023 common symbols if necessary and put common symbols into it.
5024 Clean up code and comments.
5025 (solib_add, special_symbol_handling): Cleanup comments regarding
5026 runtime common symbols.
5027 * stabsread.c (scan_file_globals_1): New routine, contains
5028 old scan_file_globals code. Checks if there are any unresolved
5029 global symbols before starting the expensive minimal symbol table
5030 search.
5031 (scan_file_globals): Now calls scan_file_globals_1 for the passed
5032 objfile and eventually for the runtime common objfile. Complains
5033 about any unresolved global symbols and removes them from the
5034 global symbol chain to avoid dangling pointers into the symbol
5035 table if the symbol table is reread.
5036
5037Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com)
5038
5039 * Makefile.in (install_only uninstall): Indent for clarity.
5040
5041 * core.c (dis_asm_read_memory): Add call to
5042 dis_asm_read_memory_hook to provide alternate way for disassembler
5043 to read memory.
5044
5045 * defs.h: Protect from multiple inclusion. Add decl for
5046 dis_asm_read_memory_hook.
5047
5048 * top.c: Make window startup be the default.
5049 * Add dis_asm_read_memory_hook.
5050
5051start-sanitize-gdbtk
5052 * gdbtk.c (finish_saving_output): Don't do anything if not saving
5053 output.
5054 * (breakpoint_notify): Don't send null filename to tcl.
5055 * (gdb_eval): New tcl command to eval an expression.
5056 * (gdb_disassemble): New tcl command to do disassembly. This
5057 allows tcl code to choose between exec file and target memeory,
5058 and can also do mixed source and assembly.
5059 * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure
5060 that more of the environment is set up. Also, create link between
5061 gdb and tcl vars disassemble{-_}from{-_}exec.
5062
5063 * gdbtk.tcl: New expression window support.
5064 * Make assembly window be 80 columns wide.
5065 * Use new disassembly method. Add menu items to select
5066 disassembly from exec file or target.
5067 * Change View menubar item to Options.
5068
5069 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
5070 since they don't exist yet.
5071
5072 * Pop up a copyright window on startup.
5073end-sanitize-gdbtk
5074
5075Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu)
5076
5077 * stabsread.c (define_symbol): Handle `a' symbol type used for
5078 reference parameter passed in a register.
5079
5080start-sanitize-gdbtk
5081Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com>
5082
5083 * gdbtk.tcl (build_framework): Add standard commands menu, more
5084 windows to standard windows menu.
5085 (not_implemented_yet): Clarify message.
5086end-sanitize-gdbtk
5087
5088Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com>
5089
5090 * defs.h: move include tm.h up, so that the type LONGEST can
5091 also based on the target requirement to determine. In this case
5092 target mips64.
5093
5094 * remote-os9k.c (rombug_open): catch exception e in rombug.
5095 * remote-os9k.c (rombug_wait): print message before register display
5096 from rombug.
5097
5098Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5099
5100 * top.c (locate_arg): Call strchr not index.
5101
5102Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
5103
5104 * ch-exp.y (literal): Recognize NULL.
5105 (tuple): Parse simple unlabelled tuples.
5106 * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to
5107 evaluate brace-initializer-expressions depending on context.
5108 (evaluate_subexp case UNOP_CAST): Pass the target type as
5109 expected type when evaluating the expression.
5110
5111 * ch-typeprint.c (chill_type_print_base): Get names of PTR and
5112 BOOL from TYPE_NAME.
5113 * ch-valprint.c (chill_print_type_scalar): New function, to handle
5114 TYPE_CODE_RANGE better than print_type_scalar does.
5115 (chill_val_print_array_elements): Use above new function.
5116
5117Mon Jan 2 15:02:51 1995 Stan Shebs <shebs@andros.cygnus.com>
5118
5119 * remote-udi.c (udi_load): Tell symbol_file_add that the
5120 program being loaded is the main program.
5121
5122For older changes see ChangeLog-94
5123\f
5124Local Variables:
5125mode: indented-text
5126left-margin: 8
5127fill-column: 74
5128version-control: never
5129End:
This page took 0.289211 seconds and 4 git commands to generate.