* Makefile.in (VERSION): Version 4.15 released.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
3f38d5c9
FF
1Tue Oct 10 13:18:50 1995 Fred Fish <fnf@cygnus.com>
2
3 * configure.in: Add AC_PROG_YACC
4 * configure: Regenerate
5 * Makefile.in (BISON): Remove macro definition.
6 (YACC): Set from autoconfig.
7 (FLAGS_TO_PASS): Remove BISON.
8 (TARGET_FLAGS_TO_PASS): Remove BISON.
9
eb708f2e
SC
10Tue Oct 10 12:25:11 1995 steve chamberlain <sac@slash.cygnus.com>
11
12 * win32-nat.c (child_create_inferior): Pass argv correctly.
13 * Makefile.in (win32-nat.o): Add dependencies.
14
24e60978
SC
15Mon Oct 9 14:36:29 1995 steve chamberlain <sac@slash.cygnus.com>
16
17 * NEWS: Add information about win32 and arm code.
18 * win32-nat.c: Renamed from win32.c
19 * config/i386/win32.mh: Renamed from config/i386/i386win32.mh.
20 * config/i386/win32.mt: Renamed from config/i386/i386win32.mt.
21 * config/i386/tm-win32.h: Renamed from config/i386/tm-i386win32.h.
22 * config/i386/xm-win32.h: Renamed from config/i386/xm-i386win32.h.
23 * configure.in (i[345]86-*-win32): Updated to cope with filename changes.
24 * configure: Regenerated.
25
93f972b7
PB
26Sun Oct 8 18:01:04 1995 Per Bothner <bothner@kalessin.cygnus.com>
27
28 * ch-exp.y (yylex): Also look for '$' following '$'.
29
d88c6a8a
MM
30Sat Oct 7 22:52:42 1995 Michael Meissner <meissner@tiktok.cygnus.com>
31
32 * ch-exp.y (yylex): Fix typo.
33
7a29d686
JW
34Fri Oct 6 11:56:49 1995 Jim Wilson <wilson@chestnut.cygnus.com>
35
36 * remote-sim.c (gdbsim_open): Put callback initializations here.
37 (_initalize_remote_sim): Not here.
38
b5776522
SS
39Fri Oct 6 17:08:49 1995 Stan Shebs <shebs@andros.cygnus.com>
40
41 * top.c (execute_control_command): Use 0/1 instead of BFD's
42 true/false.
43
625559e7
SG
44Fri Oct 6 14:43:19 1995 Stu Grossman (grossman@cygnus.com)
45
b5776522 46 * sparcl-stub.c: Include sparclite.h to get access to register
625559e7
SG
47 fondling macros.
48 * (trap_low): Save and restore FP regs if necessary. Also, clean
49 up save and restore of debug unit regs.
50 * (hard_trap_info): Add more architecturally defined traps.
51 * (set_debug_traps): Only set FP disabled trap if FP is disabled.
52 * (get_in_break_mode): Clean up. Get rid of calls to
b5776522 53 set_hw_breakpoint_trap(). Also, use write_asi macro.
625559e7
SG
54 * (handle_exception): Clean up `g' and `G' commands. Add `P'
55 command.
56 * (hw_breakpoint): Why was this here!? It's gone now...
57
abf6a9dc
JW
58Fri Oct 6 11:56:49 1995 Jim Wilson <wilson@chestnut.cygnus.com>
59
60 * callback.c (fdbad): Fix typo in comment.
b5776522
SS
61 (os_close, os_isatty, os_lseek, os_read, os_write): Use if
62 statements rather than || to get correct return value.
abf6a9dc
JW
63 (os_write_stdout): Pass missing first argument to os_write.
64 * remote-sim.c: Include callback.h.
b5776522
SS
65 (_initialize_remote_sim): Call sim_set_callbacks and then
66 initialize the callbacks.
abf6a9dc 67
398f584f
PB
68Thu Oct 5 17:28:09 1995 Per Bothner <bothner@kalessin.cygnus.com>
69
70 * values.c allocate_repeat_value): Allocate an array type, and
71 a value of that type; use that instead of setting VALUE_REPEATED.
72 * value.h (struct value): Remove fields repetitions and repeated.
73 (VALUE_REPEATED, VALUE_REPETITIONS): Removed, no longer used.
74 * c-valprint.c, ch-valprint.c, eval.c, printcmd.c, valops.c,
b5776522
SS
75 value.h, values.c: Simplify, since now VALUE_REPEATED is never
76 used.
77 * valprint.c (value_print_array_elemen): Removed never-used
78 function.
398f584f 79
c700638c
PB
80Thu Oct 5 15:14:36 1995 Per Bothner <bothner@kalessin.cygnus.com>
81
82 * parse.c (write_dollar_variable): New function.
b5776522
SS
83
84 * c-exp.y (yylex): Replace code for recognizing '$'
85 pseudo-variables with a call to write_dollar_variable.
c700638c
PB
86 Simplify grammar correspondingly.
87 * f-exp.y: Likewise.
88 * m2-exp.y: Likewise.
89 * ch-exp.y: Likewise. (Remove function match_dollar_tokens.)
b5776522 90 * scm-exp.c (scm_lreadr): Call write_dollar_variable to handle '$'.
c700638c 91
0694bce6
SC
92Thu Oct 5 13:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
93
94 * win32.c: New file; support for debugging on windows NT.
95 * configure.in: (i[345]86-*-win32): New target.
96 * configure: Regnerated.
97 * eval.c (evaluate_subexp_standard): Remove unused name.
98 * serial.c (gdb_string.h): Include.
99 * source.c (value.h): Include.
100 * config/i386/i386win32.mh (XDEPFILES): Add win32.o
101 * config/i386/i386win32.mt: New.
102 * config/i386/tm-i386win32.h: New.
103
3c02944a
PB
104Wed Oct 4 18:41:34 1995 Per Bothner <bothner@kalessin.cygnus.com>
105
106 * expression.h (enum exp_code): Added OP_NAME.
107 * expprint.c (print_subexp): Add OP_NAME support.
108 * parse.c (length_of_subexp, prefixify_subexp): Likewise.
109 * scm-lang.c (scm_unpack, in_eval_c, scm_lookup_name): new function.
110 * scm-lang.h: Declare builtin_type_scm; other minor tweaks.
111 * values.c (unpack_long): If type is SCM, call scm_unpack.
112 * scm-valprint.c (scm_val_print): Use extract_signed_integer,
113 instead unpack_long
114 * scm-lang.c: More Scheme expression parsing from here ...
115 * scm-exp.c: ... to here. New file.
116 Also, provide for gdb to evaluate simple constants and names..
117 * Makefile.in: Note new scm-exp.{c,o}.
118
706bfe5a
PB
119Wed Oct 4 17:23:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
120
121 * gdbtypes.c (get_discrete_bounds): New function.
122 (force_to_range_type): Use get_discrete_bounds.
123 * gdbtypes.h (get_discrete_bounds): Add declaration.
124 * valarith.c (value_bit_index): Generalize to use get_discrete_bounds.
125 * ch-valprint.c (chill_val_print): Make (power)sets and bitstring
126 support use get_discrete_bounds and generally be more robust.
127
82569cc1
SS
128Tue Oct 3 16:54:56 1995 Stan Shebs <shebs@andros.cygnus.com>
129
130 * remote-nrom.c (nrom_ops): Add value for to_thread_alive,
b5776522 131 add comments naming slots.
82569cc1 132
a25ffb08
JL
133Mon Oct 2 21:45:44 1995 Jeff Law (law@hurl)
134
135 * top.c (build_command_line): Demand arguments for if/while
136 commands.
137
bac75810
JM
138Mon Oct 2 13:08:01 1995 Jason Molenda (crash@phydeaux.cygnus.com)
139
140 * Makefile.in (X11_CFLAGS): Set only to @X_INCDIR@.
141
5b4d668a
PB
142Sat Sep 30 16:13:36 1995 Per Bothner <bothner@kalessin.cygnus.com>
143
144 * scm-lang.c: Moved Scheme value printing code to ...
145 * scm-valprint.c: ... this new file.
146 Also major improvements in support for printing SCM values.
147 * scm-lang.h: New file.
148 * scm-tags.h: New file.
149 * Makefile.in: Note new scm-valprint.{c,o}.
150
66efdff9
JM
151Sat Sep 30 09:35:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
152
153 * configure.in: X_INCDIR and X_LIBDIR added.
154 * Makefile.in: @X_INCDIR@ and @X_LIBDIR@ added.
155 * configure: Regnerated.
156
b890317e
SC
157Fri Sep 29 02:10:05 1995 steve chamberlain <sac@slash.cygnus.com>
158
99f2ccd1
SC
159 * config/arm/tm-arm.h (FRAME_CHAIN, FRAME_CHAIN_VALID):
160 Any pc > LOWESTPC is ok.
161
b890317e
SC
162 * remote-rdp.c (rdp_init): Take out variable baud rate stuff.
163 (remote_rdp_detatch): Delete.
164 * breakpoint.c (ctype.h): Don't include twice.
165
166 * Makefile.in (remote-rdp.o): Doesn't need remote-rdp.h
167 * callback.c (os_printf_filtered): fix protos.
168 * defs.h (puts_filtered, puts_unfiltered
169 [v|f|]printf_[un]filtered): Make format arg const.
170 * remote-rdp.c (rdp_init): Attept to sync at different
171 baudrates.
172 * utils.c (puts_filtered, puts_unfiltered
173 [v|f|]printf_[un]filtered): Define prototypes with
174 const in the right place.
175
0e4ca328
PB
176Thu Sep 28 17:43:39 1995 Per Bothner <bothner@kalessin.cygnus.com>
177
178 * defs.h (enum language): Add language_scm.
179 * expression.h (enum exp_code): Added OP_EXPRSTRING.
180 * scm-lang.c: Preliminary support for Guile /SCM dialect of Scheme.
181 * expprint.c (print_subexp): Add OP_EXPRSTRING support.
182 * parse.c (length_of_subexp, prefixify_subexp): Likewise.
183 * valops.c (find_function_in_inferior): New function.
184 (value_allocate_space_in_inferior): New function.
185 (allocate_space_in_inferior): Redefine using previous function.
186 * Makefile.in (SFILES): Add scm-lang.c.
187 (COMMON_OBS): Add scm-lang.o
188
dedcc91d
SC
189Thu Sep 28 14:32:11 1995 steve chamberlain <sac@slash.cygnus.com>
190
191 * callback.[ch]: New files.
192 * remote-rdp.c: Support for the ARM RDP monitor.
193 * Makefile: Update.
194 * arm-tdep.c (arm_othernames): New.
195 (_initialize_arm_tdep): install 'othernames' command.
196 (arm_nullified_insn, shifted_reg_val, arm_get_next_pc): New.
197 * configure.in: Check for termios.h, termio.h and sgtty.h.
198 (i[345]86-*-win32*): New host.
199 * configure: Regenerated.
200 * inflow.c: Clean up inclusions.
201 * main.c (main): Check for WINGDB, not WIN32.
202 * printcmd.c (do_examine): Put QUIT test in loop.
203 * remote-hms.c (e7000_load): Delete.
204 (hms_ops): Point to generic_load instead.
205 * remote-hms.c (hms_ops): Point to generic_load.
206 * remote-sim.c (sim_callback_write_stdout): Becomes
207 gdbsim_write_stdout.
208 (gdbsim_load): Call generic_load.
209 * remote-utils.c (gr_load_image): Delete.
210 * ser-unix.c (terminal.h): Include instead of havig
211 own #if tree.
212 (hardwire_flush_input): Reset input buffer too.
213 * source.c (openp): If WIN32 then open file in binary mode.
82569cc1
SS
214 * terminal.h: Configure IO mechanism using autoconf defines if
215 available and not overriden.
216 * utils.c (quit, pollquit, notice_quit): WIN32 check becomes
217 WINGDB check.
218
219 * config/arm/arm.mt (TDEPFILES): Add remote-rdp.o.
220 * config/arm/tm-arm.h (TARGET_BYTE_ORDER): becomes
221 TARGET_BYTE_ORDER_SELECTABLE.
dedcc91d
SC
222 (ADDR_BITS_REMOVE): New.
223 (ORIGINAL_REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): New.
82569cc1 224 (INST_xx): New.
dedcc91d
SC
225 (FRAME_FIND_SAVED_REGS): Pass the right argument.
226 (arm_get_next_pc): Declare.
b890317e 227
37d190e0
PB
228Wed Sep 27 10:14:36 1995 Per Bothner <bothner@kalessin.cygnus.com>
229
82569cc1
SS
230 * valops.c (search_struct_field): Also allow "else" as a variant
231 name.
37d190e0
PB
232 * eval.c (evaluate_struct_tuple): New function. Used to evaluate
233 structure tuples. Now also handles Chill variant records.
234 (get_label): New function, used by evaluate_struct_tuple.
235 (evaluate_subexp_standard case OP_ARRAY): Use evaluate_struct_tuple.
236 (evaluate_labeled_field_init): Removed.
237
238 * valops.c (search_struct_field): Generalize to work with Chill
239 variant records.
240
df1e1074
PS
241Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
242
243 * mdebugread.c (parse_partial_symbols): Reset includes_used
244 and dependencies_used after finishing the partial symbol table.
245
4f8710e6
PS
246 * rs6000-tdep.c (push_dummy_frame): Handle lr_offset of zero
247 correctly.
248
df1e1074
PS
249 * rs6000-nat.c (xcoff_relocate_core): Don't relocate data
250 addresses for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE
251 is defined.
252 * xcoffread.c: gcc -Wall lint. Remove traceback table reading
253 code. The existing code tried to add parameter information for
254 functions compiled without -g, which cannot be done properly
255 for optimized code and produced misleading parameter displays.
256 (ef_complaint, eb_complaint): Make a local static copy to avoid
257 dependency on coffread.c.
258 (read_xcoff_symtab, process_xcoff_symbol, scan_xcoff_symtab):
259 Enter C_EXT/C_HIDEXT symbols into the minimal symbol table only.
260 (read_xcoff_symtab): Ignore C_STAT section auxiliary entry
261 symbols. Complain about unmatched .ef and .eb symbols instead of
262 segfaulting.
263 (process_xcoff_symbol): Determine value of C_GSYM symbols via
264 the global_sym_chain mechanism in stabsread.c.
265 (xcoff_new_init): Call stabsread_new_init and buildsym_new_init.
266 (init_string_tab): Initialize length field bytes in the strtbl.
267 (scan_xcoff_symtab): Skip symbols that start with `$' or `.$'.
268 Set first_fun_line_offset for symbols with two auxents only.
269
78441c6f
JL
270Wed Sep 20 21:06:35 1995 Jeff Law (law@snake.cs.utah.edu)
271
272 * op50-rom.c (op50n_cmds): Send ".\r" after the interrupt
273 character.
274
582433a8
ILT
275Wed Sep 20 13:12:56 1995 Ian Lance Taylor <ian@cygnus.com>
276
277 * Makefile.in (maintainer-clean): New target, synonym for
278 realclean. Add GNU standard maintainer-clean echos.
279 * gdbserver/Makefile.in (maintainer-clean): New target, synonym
280 for realclean.
281 * nlm/Makefile.in (maintainer-clean): Likewise.
282
5e67328f
SC
283Wed Sep 20 08:16:03 1995 steve chamberlain <sac@slash.cygnus.com>
284
285 * defs.h (xmalloc, xrealloc): Delete, they're declared in libiberty.h.
286 (GETENV_PROVIDED, FCLOSE_PROVIDED): New.
287 * doc/gdbint.texinfo (GETENV_PROVIDED, FCLOSE_PROVIDED): Document.
288 * remote-sim.[ch] (sim_callback_write_stdout): New.
289
b4680522
PB
290Tue Sep 19 15:28:58 1995 Per Bothner <bothner@kalessin.cygnus.com>
291
292 * gdbtypes.c (create_set_type): Set TYPE_LENGTH in bytes, not bits.
293 * valops.c (value_bitstring): TYPE_LENGTH is bytes, not bits.
294
295 * gdbtypes.c (force_to_range_type): Calculate upper limit of
296 TYPE_CODE_CHAR depending on TYPE_LENGTH (instead of just using 255).
297
667315a3
JL
298Mon Sep 18 01:43:42 1995 Jeff Law (law@snake.cs.utah.edu)
299
300 * somsolib.c (auto_solib_add_at_startup): Delete definition. No
301 longer needed.
302
cc917275
PS
303Sat Sep 16 13:23:36 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
304
305 * config/mips/tm-mips.h (UNUSED_REGNUM): Define.
306 * mipsv4-nat.c (supply_gregset): Fill UNUSED_REGNUM register
307 with zero.
308
0672384c
SG
309Thu Sep 14 17:35:24 1995 Stu Grossman (grossman@cygnus.com)
310
311 * remote-sim.c (gdbsim_create_inferior): Back out change that
312 broke all simulator configurations except the rs6000.
313
ee90dcc2
JL
314Thu Sep 14 14:44:59 1995 Jeffrey A. Law <law@rtl.cygnus.com>
315
316 * monitor.c (monitor_expect): Discard NULL characters.
317
515f09ea
KH
318Thu Sep 14 14:12:30 1995 Kung Hsu <kung@mexican.cygnus.com>
319
320 * infcmd.c: Add extern declaration for auto_solib_add_at_startup.
321
0bd537a4
KH
322Wed Sep 13 13:33:58 1995 Kung Hsu <kung@mexican.cygnus.com>
323
324 * symfile.c: Move global variable auto_solib_add_at_startup from
325 solib.c to symfile.c.
326 * solib.c: ditto.
327 * symfile.h: Add extern declaration of the above mentioned variable.
328 * infcmd.c: Take out extern declaration, since it's in symfile.h.
329
4444f56b
SG
330Thu Sep 14 12:39:35 1995 Stu Grossman (grossman@cygnus.com)
331
332 * coffread.c (coff_symtab_read): Complain about unmatched .ef and
333 .eb symbols instead of segfaulting.
334
771e0a5c
KH
335Wed Sep 13 13:33:58 1995 Kung Hsu <kung@mexican.cygnus.com>
336
4444f56b 337 * stabsread.c (read_one_struct_field): Use subfile language instead of
771e0a5c
KH
338 global language. Improve efficiency.
339
2e977a3a
JL
340Wed Sep 13 08:45:02 1995 Jeff Law (law@fast.cs.utah.edu)
341
342 * somsolib.c (auto_solib_add_at_startup): Define new global variable.
343 (som_solib_create_inferior_hook): Don't add libraries if
344 auto_solib_add_at_startup is zero.
345 (_initialize_som_solib): Add command to toggle
346 auto_solib_add_at_startup.
347
5be86c56
JL
348Tue Sep 12 19:37:24 1995 Jeff Law (law@snake.cs.utah.edu)
349
350 * monitor.c (monitor_make_srec): Fix thinkos in computation
351 of addr_size.
352
f434284a
KH
353Tue Sep 12 15:46:18 1995 Kung Hsu <kung@mexican.cygnus.com>
354
aeca85c1
KH
355 * stabsread.c (read_one_struct_field): Add a patch to handle cfront
356 generated stabs that each field is in full mangled name.
357
fe82872c
KH
358 * stabsread.c: To include language.h and expression.h for the reason
359 above.
360
f434284a
KH
361 * infcmd.c (attach_command): Add solibs only when
362 auto_solib_add_at_startup is set.
363
0764fb04
FF
364Mon Sep 11 17:22:35 1995 Fred Fish <fnf@cygnus.com>
365
366 * NEWS: Add information about remote target caching.
367
031c4a7e
FF
368Sun Sep 10 15:36:21 1995 Fred Fish <fnf@cygnus.com>
369
370 * defs.h: Only include mmalloc.h if NO_MMALLOC is not
371 defined.
372
3a4f9786
MT
373Sun Sep 10 10:24:48 1995 Michael Tiemann <tiemann@axon.cygnus.com>
374
375 * tm-ppc-eabi.h (PC_IN_CALL_DUMMY): Redefine this to work with the
376 simulator. FIXME.
377
378 * rs6000-tdep.c (push_dummy_frame): Calculate the correct link
379 register offset from the current frame (don't assume it is always 8).
380 (push_dummy_frame): Add comment about having only 4096 bytes of
381 stack space in the simulator (by default).
382
383 * remote-sim.c (gdbsim_create_inferior): Call
384 `add_text_to_loadinfo' so that gdb can find TOC entries when
385 calling functions in the inferior.
386
85226acd
PS
387Sun Sep 10 09:00:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
388
389 * sparc-tdep.c (fill_fpregset): Fix incorrect FP_MAX_REGNUM
390 substitution.
391 (supply_fpregset): Use FP_MAX_REGNUM.
392
b6a40d0c
PS
393Sat Sep 9 08:21:52 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
394
395 * stabsread.c (read_enum_type): Exit loop for putting pending
396 enum symbols into the enum type correctly if we had no pending
397 symbols on entry to read_enum_type.
398
2858b1f2
KH
399Fri Sep 8 12:57:41 1995 Kung Hsu <kung@mexican.cygnus.com>
400
6047ab6a
KH
401 * inferior.h: Add extern declaration of inferior_environ.
402 * solib.c (solib_map_sections): To get inferior's env instead of
403 gdb's for LD_LIBRARY_PATH, same for PATH.
404
2858b1f2
KH
405 * solib.c (solib_map_sections): Copy full path name into so_list
406 structure so that symbol_file_add can find it.
407
408Tue Sep 5 17:47:53 1995 Doug Evans <dje@canuck.cygnus.com>
409
410 * config/sparc/tm-sp64.h (REGISTER_RAW_SIZE): Lower 32 fp regs
411 have size 4.
412 (REGISTER_VIRTUAL_SIZE): Likewise.
413 (REGISTER_VIRTUAL_TYPE): Lower 32 fp regs have type float.
414 Upper 32 fp regs have type double.
415 * sparc-tdep.c (NUM_SPARC_FPREGS): Replace with
416 (FP_REGISTER_BYTES): this, and update all uses.
417 (FP_MAX_REGNUM): Define if not already.
418 (get_saved_register): Handle new sparc64 fp regs.
419 (sparc_frame_find_saved_regs): Likewise.
420 (sparc_print_register_hook): Only print fp regs < 32 as doubles.
421 Add code to handle long doubles when gdb does.
422 (_initialize_sparc_tdep): Use print_insn_sparc64 if sparc64.
423
5e711e7f
PS
424Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
425
426 * configure.in: Explicitly `exit 0' for broken shells.
427 * configure: Rebuilt.
428
429 * symtab.c (list_symbols): Add missing blank after
430 `<function, no debug info>' output.
431
432 * valops.c (value_assign): Handle truncation when assigning
433 to bitfields. Use value_copy to construct the return value
434 from toval.
435 * values.c (value_copy): Copy VALUE_FRAME and VALUE_OPTIMIZED_OUT.
436
180fd370
JSC
437Fri Sep 1 08:25:50 1995 James G. Smith <jsmith@beauty.cygnus.com>
438
439 * configure (mips64*vr4300*-*-elf): Support added.
440 * remote-mips.c (mips_readchar): Change to allow build-time prompt
441 string.
442 * config/mips/tm-mips.h: Added TARGET_MONITOR_PROMPT.
443 * config/mips/{vr4300.mt, vr4300el.mt, tm-vr4300.h,
444 tm-vr4300el.h}: Added.
445
07846c7a
JW
446Thu Aug 31 12:48:04 1995 Jim Wilson <wilson@chestnut.cygnus.com>
447
448 * config/sh/sh.mt (SIM): Add -lm.
449
9b73a467
KH
450Wed Aug 30 18:10:57 1995 Kung Hsu <kung@mexican.cygnus.com>
451
452 * rmote-nindy.c (non_dle, nidy_resume, nindy_wait): Changes to
453 conform to GNU coding standards.
454
455 * solib.c (match_main): Modify to follow GNU coding conventions.
456
0858c908
KH
457Mon Aug 28 17:07:26 1995 Kung Hsu <kung@lisa.cygnus.com>
458
459 * remote.c (remote_wait): Revert 19 July my change which should be
460 customer specific.
461
080868b4
PS
462Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
463
464 * mdebugread.c (parse_symbol): Handle sh.value of zero for enums.
465 Determine signedness of enum type from enumerators.
466 (parse_type): Handle btIndirect types, handle fBitfield for
467 some non-member types.
468 (upgrade_type): Use TYPE_FLAG_TARGET_STUB for arrays with
469 unknown length.
470 (cross_ref): Handle stIndirect forward reference to btTypedef.
471
472 * stabsread.c (read_enum_type): Determine signedness of enum
473 type from enumerators.
474
475 * top.c (execute_command): Remove trailing whitespace from
476 command arguments, except for `set' and `complete' commands.
477 (validate_comname): Allow underscores in user defined command
478 names.
479
480 * values.c (modify_field): Change `Value does not fit in %d bits'
481 error to a warning. Exclude sign extension bits of negative field
482 values from fit check.
483
13ba8b69
MM
484Fri Aug 25 11:31:29 1995 Michael Meissner <meissner@tiktok.cygnus.com>
485
486 * configure.in (powerpc*-*-eabisim*): Only link in the simulator
487 if the target is powerpc{,le}-*-eabisim*, since the simulator
488 needs GCC to build.
489 * config/powerpc/ppc{,le}-sim.mt: Cloned from ppc{,le}-eabi.mt.
490 * config/powerpc/ppc{,le}-eabi.mt: Remove simulator support.
491 * config/powerpc/tm-ppc{,le}-sim.mt: Include tm-ppc{,le}-sim.h.
492
19c3fec4
MM
493Wed Aug 23 16:55:35 1995 Michael Meissner <meissner@tiktok.cygnus.com>
494
495 * config/powerpc/ppc{,le}-eabi.mt (SIM_OBJS, SIM): Link in the
496 PowerPC simulator.
497
7e72b115
JL
498Tue Aug 22 02:00:47 1995 Jeff Law (law@snake.cs.utah.edu)
499
740e8028
JL
500 * tm-hppa.h (EXTRACT_RETURN_VALUE): Fix for FP values.
501
90df364f
JL
502 * tm-hppa.h (STORE_RETURN_VALUE): Fix to work with -msoft-float
503 calling conventions too. Use the TYPE of the return value, not
504 its length to determine if it should also be copied into the
505 floating point registers.
506
7e72b115
JL
507 * tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete. Causes more
508 problems than it fixes.
509 * hppa-tdep.c (skip_prologue): If we exit the main loop without
510 finding all the register saves, retry again without looking for
511 the registers we could not find the first time.
512
c85ff3a3
JL
513Mon Aug 21 23:39:56 1995 Jeff Law (law@snake.cs.utah.edu)
514
515 * hppa-tdep.c (frame_chain_valid): Handle systems where "$START$"
516 calls "main" directly.
517 (skip_prologue): Always assume arguments were saved into the stack
518 since GCC will do so without setting the magic Args_Saved bit in
519 the unwind descriptor.
520
bb8e4e4d
KH
521Mon Aug 21 11:49:17 1995 Kung Hsu <kung@mexican.cygnus.com>
522
523 * remote-udi.c (udi_wait): Mask off high bits of stop reason.
524 * remote-udi.c (fetch_register): For unfetchable regs, pretend it's
525 done. Fix a bug.
526
fa296a0c
JL
527Mon Aug 21 00:45:17 1995 Jeff Law (law@snake.cs.utah.edu)
528
529 * Makefile.in (install): Remove "brokensed" hack, unnecessary now
530 that we're using autoconf.
531 (uninstall): Likewise.
532
f61f41d9
MT
533Sat Aug 19 17:20:22 1995 Michael Tiemann <tiemann@axon.cygnus.com>
534
535 * gdbtk.tcl: ENABLE comes back as "1" or "0", not "enable" or
536 "disable".
537 Also, wire up the breakpoint window so that it can be demo'd.
538
2447e9af
PS
539Sat Aug 19 01:19:34 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
540
541 * gdbtypes.c (recursive_dump_type): Add dont_print_type_obstack
542 to inhibit infinite recursion when printing aggregate types.
543
69c626a9
SC
544Fri Aug 18 17:48:55 1995 steve chamberlain <sac@slash.cygnus.com>
545
546 * dcache.c (dcache_write_line): Write dirty lines right.
547
673e1bab
PS
548Fri Aug 18 06:26:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
549
550 * sparc-tdep.c (isbranch): Fix typo which caused wrong
551 target addresses for annulled branches.
552
1ce8a30f
JL
553Wed Aug 16 21:54:39 1995 Jeff Law (law@snake.cs.utah.edu)
554
555 * config/pa/tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Define.
556
ec10503a
SC
557Tue Aug 15 07:51:21 1995 steve chamberlain <sac@slash.cygnus.com>
558
559 * remote.c (remote_write_bytes): Chop up large transfers.
560
dd17dde6 561Mon Aug 14 17:56:36 1995 Stan Shebs <shebs@andros.cygnus.com>
0e2c2c1e 562
dd17dde6 563 * gcc.patch: Remove, relevant only to long-ago versions of GCC.
ae71adb8 564
dd17dde6 565Mon Aug 14 13:43:01 1995 Kung Hsu <kung@mexican.cygnus.com>
56c423fe 566
0e2c2c1e
KH
567 * config/sparc/tm-sparclite.h: Define FRAME_CHAIN_VALID_ALTERNATE.
568 * blockframe.c (inside_main_func): If main func addr range not set,
569 try to set it now.
570
65eaea27
JL
571Sat Aug 12 15:34:54 1995 Jeffrey A. Law <law@rtl.cygnus.com>
572
407f52c1
JL
573 * config/powerpc/xm-aix.h (FIVE_ARG_PTRACE): Define.
574 * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise.
575
65eaea27
JL
576 * configure.in: Recognize aix4 specially as some aspects
577 of aix4 need different handling than aix3.
578 * configure: Updated.
579 * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: New files
580 specific to aix4 support on the power pc.
581 * config/powerpc/tm-ppc-aix.h (DONT_RELOCATE_SYMFILE_OBJFILE): Do
582 not defined. The aix4 specific target files will do that.
583 * config/rs6000/{aix4,mh,aix4,mt,tm-rs6000-aix4.h}: New files
584 specific to aix4 support on the rs6000.
585
586 * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): Don't
587 do the conversion if the pointer is not a magic aix function
588 pointer.
589 * rs6000-tdep.c: Include objfiles.h and symtab.h.
590 (is_magic_function_pointer): New function.
591
592 * rs6000-tdep.c (skip_prologue): Refine check for frameless
593 functions. Handle b .+4 emitted by aix4 compilers. Only
594 allow one load of a minimal toc pointer. Handle aix4 compiler's
595 code for alloca.
596
597 * rs6000-tdep.c (find_toc_address): Report an error if no toc was
598 found rather than possibly core dumping.
599
dd17dde6 600 * partial-stab.h: Handle extra field generated by the aix4 compiler
65eaea27
JL
601 for enumerations.
602 * stabsread.c (read_enum_type): Likewise.
603
07781ac0
PS
604Sat Aug 12 03:18:04 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
605
606 * rs6000-tdep.c (extract_return_value): Fix returning of values
607 whose length is less than the register size for big endian targets.
608
f21c9aec
KH
609Fri Aug 11 13:04:32 1995 Kung Hsu <kung@mexican.cygnus.com>
610
dd17dde6
SS
611 * symtab.c (list_symbols): if break command set breakpoint on
612 matched symbol.
f21c9aec 613
eae45ea9
FF
614Wed Aug 9 18:59:05 1995 Fred Fish <fnf@cygnus.com>
615
616 * defs.h (strchr, strrchr, strstr, strtok, strerror): Enclose in
617 #ifndefs to protect against previous definitions as macros.
618
38fb211b
KH
619Wed Aug 9 14:51:36 1995 Kung Hsu <kung@mexican.cygnus.com>
620
dd17dde6
SS
621 * xcoffread.c (xcoff_symfile_offset): Revert an unwanted change
622 that got in accidentally with Aug 1 change.
38fb211b 623
998cfe7d
SC
624Sat Aug 5 09:07:28 1995 steve chamberlain <sac@slash.cygnus.com>
625
626 * remote-hms.c (hms_cmds): Get reg term right.
627 * monitor.c (monitor_fetch_register): If we see
628 a non-hex digit, just stop reading.
629 * remote.c (remote_wait): Change way $O is handled.
630
fbc3f191
JL
631Wed Aug 9 11:42:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
632
633 * configure.in (powerpc-*-aix*): Recognize as a new gdb host
634 and target.
635 (powerpc-*-eabi*): Don't set configdirs.
25d0e5a0 636 (powerpcle-*-eabi*): Likewise.
fbc3f191
JL
637 * configure: Updated.
638 * rs6000-nat.c (vmap_ldinfo): Don't relocate data addresses
639 for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE is
640 defined.
641 * config/powerpc/{aix.mh,aix.mh}: Host and target makefile fragments
642 for powerpc running aix4.
643 * config/powerpc/{nm-aix.h, tm-ppc-aix.h, xm-aix.h}: Native, target
644 and host include files for powerpc running aix4.
645
327332d8
SS
646Wed Aug 9 08:11:45 1995 Stan Shebs <shebs@cygnus.com>
647
648 * top.c (target_output_hook): Really make it match defs.h (char *
649 is not the same as unsigned char *).
650
c61c48c0
C
651Tue Aug 8 15:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
652
653 * Makefile.in (CXX_FOR_TARGET): Don't use ${rootme}/../gcc/xgcc
654 unless it is present.
655
842bdf8c
JL
656Tue Aug 8 10:50:15 1995 Jeffrey A. Law <law@rtl.cygnus.com>
657
7aaec27b
JL
658 * top.c (target_output_hook): Make declaration match the one
659 in defs.h.
660
842bdf8c
JL
661 * symfile.c (add_psymbol_to_list): Initialize SYMBOL_SECTION.
662 (add_psymbol_addr_to_list): Likewise.
663 * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Likewise.
664
b6d70e15
SC
665Mon Aug 7 15:34:29 1995 steve chamberlain <sac@slash.cygnus.com>
666
764efb58 667 * top.c (target_output_hook): New definition.
b6d70e15
SC
668 * stack.c (gdb_string.h): Include after defs.h
669 * defs.h (target_output_hook): New declaration.
670 * source.c (mod_path): Fix Win32 \ handling.
671
f4eec25c
JL
672Sun Aug 6 22:14:25 1995 Jeff Law (law@snake.cs.utah.edu)
673
674 * hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointer
675 out of a long branch stub.
676
677Fri Aug 4 13:37:31 1995 Jeffrey A. Law <law@rtl.cygnus.com>
678
679 * xcoffread.c (process_linenos): Fix typo in last change.
680
681Thu Aug 3 22:01:26 1995 Fred Fish <fnf@rtl.cygnus.com>
682
683 * ch-exp.y (write_lower_upper_value): Add prototype so bison
684 generated parser will insert prototype before first func usage.
685 Bison and byacc order the output sections differently. Also
686 make function static.
687
605b7789
FF
688Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
689
690 * Update all FSF addresses except those in COPYING* files.
691
adbe434b
PS
692Thu Aug 3 01:38:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
693
694 * config/alpha/tm-alpha.h (EXTRA_FRAME_INFO): Add pc_reg field.
695 (SKIP_TRAMPOLINE_CODE): Define.
696 * alpha-tdep.c (alpha_frame_saved_pc): Use pc_reg field from
697 frame to find the saved pc register.
698 (alpha_saved_pc_after_call): Skip over shared library trampoline
699 before trying to find the saved pc register.
700 (find_proc_desc): Copy PROC_PC_REG from found proc_desc
701 to heuristic proc_desc.
702 (init_extra_frame_info): Initialize pc_reg field in frame.
703
949e2bbf
SS
704Wed Aug 2 18:00:36 1995 Stan Shebs <shebs@andros.cygnus.com>
705
706 * configure.in (m68*-est-*): Use monitor target config.
707 * configure: Update.
708 * config/m68k/est.mt, config/m68k/tm-est.h: Delete.
709 * config/m68k/monitor.mt, config/m68k/tm-monitor.h: Fix comments.
710
7613212c
FF
711Tue Aug 1 22:52:53 1995 Fred Fish <fnf@cygnus.com>
712
713 * Makefile.in (VERSION): Bump to 4.14.2
714
715Tue Aug 1 16:04:36 1995 Kung Hsu <kung@mexican.cygnus.com>
716
717 * xcoffread.c (process_linenos): The value in include file symbol
718 should point to line number table. Currently this value is not
719 set correctly by AIX ld. A fix to get around this bug.
720
2b576293
C
721Tue Aug 1 11:44:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
722
723 * configure.in: Check for working mmap, ansi headers, string.h,
724 strings.h, and memory.h.
725 * configure: Regenerated.
726
727 * gdb_stat.h: New file, "portable" <sys/stat.h>.
728 * gdb_string.h: New file, "portable" <string.h>.
729
730 * altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c,
731 convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c,
732 gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c,
733 i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c,
734 mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c,
735 rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c,
736 symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c,
737 ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h"
738 instead of <sys/stat.h>.
739
740 * alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c,
741 ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c,
742 core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c,
743 dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c,
744 exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c,
745 fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c,
746 inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c,
747 m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c,
748 monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c,
749 printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c,
750 remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c,
751 remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c,
752 remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c,
753 remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c,
754 remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c,
755 solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c,
756 symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c,
757 valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include
758 "gdb_string.h" instead of <string.h>.
759start-sanitize-gdbtk
760 * gdbtk.c: Likewise.
761end-sanitize-gdbtk
762
763 * config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h,
764 sparc/xm-sun4os4.h (HAVE_MMAP): Removed.
765
766 * config/xm-lynx.h, config/i386/xm-ptx.h,
767 config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h,
768 config/mips/xm-irix3.h, config/mips/xm-mips.h,
769 config/mips/xm-news-mips.h, config/mips/xm-riscos.h,
770 config/pa/hppah.h, config/rs6000/xm-rs6000.h,
771 config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
772 config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h,
773 config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed.
774 * config/mips/xm-irix3.h, config/mips/xm-mips.h,
775 config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
776
92a6d600
PS
777Tue Aug 1 02:08:30 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
778
779 * mips-tdep.c (mips_extract_return_value): Fix returning of
780 values whose length is less than the register size for big endian
781 targets.
782 * alpha-tdep.c (alpha_extract_return_value,
783 alpha_store_return_value): Use alpha_convert_register_to_*
784 to handle functions returning "float" correctly.
785
ec7b6fcf
SS
786Mon Jul 31 19:12:48 1995 Stan Shebs <shebs@andros.cygnus.com>
787
788 * h8500-tdep.c: General linting and cleanup.
789 (opcodes/h8500-opc.h): Don't include.
790 (code_size, data_size): Make static.
791 (frame_locals_address, frame_args_address): Remove.
792 (h8300_pop_frame): Rename to h8500_pop_frame.
793 (big_command, medium_command, compact_command, small_command):
794 Define as regular functions rather than with macro trickery.
795 (tm_print_insn): Set to correct disassembler function.
796 * config/h8500/tm-h8500.h: Minor cleanup, add prototypes.
797 (ABOUT_TO_RETURN): #if 0 out.
798 (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Use usual define.
799 (GDB_TARGET_IS_H8500): Remove duplicate definition.
800 (regoff): Remove, never used.
801 * config/h8500/h8500.mt (TDEPFILES): Add monitor.o.
802
1a494973
C
803Mon Jul 31 14:32:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
804
805 * configure.in: Check for unistd.h.
806 * configure: Regenerated.
807
808 * command.c, cp-valprint.c, fork-child.c, i386-tdep.c,
809 i386b-nat.c, inflow.c, main.c, maint.c, objfiles.c, solib.c,
810 source.c, stack.c, symfile.c, top.c, utils.c: Include strings.h
811 and/or unistd.h to bring prototypes into scope.
812
813Sun Jul 30 01:40:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
814
815 * rs6000-tdep.c (frame_saved_pc): Check for signal handler caller
816 before trying to determine the start of the function.
817 (skip_prologue): Skip subroutine call which might save the
818 floating point registers only if it is within the first three
819 instructions.
820 Reinstate setting of alloca_reg if setup of a gcc frame pointer
821 is found.
822 (frame_get_cache_fsr): Use new fields in rs6000_framedata.
823
86b40da4
SS
824Sat Jul 29 14:43:35 1995 Stan Shebs <shebs@andros.cygnus.com>
825
826 * sparclite: Removed subdirectory. aload and eload are now in
827 utils/sparclite, low-level library is in libgloss.
828 * configure.in (sparclite*): Don't configure sparclite subdir.
829 * configure: Update.
830 * Makefile.in (TARDIRS): Remove, no longer used.
831
e4dbd248
PS
832Sat Jul 29 01:45:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
833
b6753b3f
PS
834 * procfs.c (unconditionally_kill_inferior): Clear current signal
835 if PROCFS_NEED_CLEAR_CURSIG_FOR_KILL is defined.
836 * config/alpha/nm-osf3.h (PROCFS_NEED_CLEAR_CURSIG_FOR_KILL): Define.
837
e4dbd248
PS
838 * alpha-tdep.c: Move sigtramp handling of saved registers from
839 read_next_frame_reg to alpha_find_saved_regs, handle saved
840 floating point registers.
841 * mips-tdep.c: Move sigtramp handling of saved registers from
842 read_next_frame_reg to mips_find_saved_regs, handle saved
843 floating point registers.
844 * config/mips/tm-irix3.h, config/mips/tm-irix5.h,
845 config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF): Define.
846
847 * sparc-tdep.c (sparc_pc_adjust): Fix check for `unimp'
848 instruction to handle functions returning structures with
849 large sizes properly.
850
851Fri Jul 28 11:50:17 1995 steve chamberlain <sac@slash.cygnus.com>
852
853 * configure, configure.in (z8k-*-sim): deleted.
854
855Thu Jul 27 12:49:28 1995 Jeffrey A. Law <law@rtl.cygnus.com>
856
857 * lynx-nat.c (child_wait): Handle threads exiting.
858
859Thu Jul 27 07:47:50 1995 Michael Meissner <meissner@cygnus.com>
860
861 * rs6000-tdep.c (skip_prologue): Don't assume the update stack
862 instruction is the last in the prologue, since xlc stores the lr
863 after the stack update. Make sure offset is correct sign for
864 large frames.
865 (frame_saved_pc): Move test for signal before frameless.
866
867 * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Define.
868 * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Redefine.
869
46f569b4
JL
870Thu Jul 27 01:22:08 1995 Jeffrey A. Law <law@rtl.cygnus.com>
871
872 * hppa-tdep.c (hppa_fix_call_dummy): Rewrite code for calling
873 into shared libraries.
874
068c9fd6
MM
875Wed Jul 26 23:33:34 1995 Michael Meissner <meissner@cygnus.com>
876
877 * config/rs6000/tm-rs6000.h (rs6000_framedata): Add offsets the
878 gprs, fprs, lr, and cr is stored at.
879 (FRAME_FIND_SAVED_REGS): Use new fields in rs6000_framedata.
880 (function_frame_info): Delete declaration.
881 (SKIP_PROLOGUE): Skip_prologue is now passed a rs6000_framedata
882 structure to fill in.
883 (FRAMELESS_FUNCTION_INVOCATION): Function now longer takes a
884 second argument.
885 (FRAME_SAVED_PC): Call frame_saved_pc.
886
887 * rs6000-tdep.c (skip_prologue): Recognize V.4 prologues as well
888 as AIX style. Fill in rs6000_framedata structure. Remember where
889 the gprs, fprs, cr, and lr are saved.
890 (pop_frame): Use skip_prologue, not function_frame_info, and use
891 new rs6000_framedata fields.
892 (function_frame_info): Function deleted.
893 (frameless_function_invocation): Separate frame_saved_pc support
894 to new function. Recognize V.4 frames.
895 (frame_saved_pc): New function.
896 (frame_get_cache_fsr): Use skip_prologue, not function_frame_info.
897 (frame_initial_stack_address): Ditto.
898
ddb97850
JL
899Wed Jul 26 01:00:37 1995 Jeff Law (law@snake.cs.utah.edu)
900
901 * remote.c: Add documentation for extended protocol operations
902 and for thread_alive change from a couple weeks ago.
903 (extended_remote_ops): Declare and define a new target vector
904 for the extended remote protocol.
905 (extended_remote_restart): New function to restart the remote
906 server & process.
907 (remote_open): Just a stub routine.
908 (extended_remote_open): New function to start a remote session
909 using the extended gdb remote protocol.
910 (remote_open_1): New function containing code common to both
911 remote_open and extended_remote_open.
912 (remote_mourn, extended_remote_mourn, remote_mourn_1): Similarly.
913 (extended_remote_create_inferior): New function for the extended
914 remote target.
915 (initialize_remote): Add the extended_remote_ops target vector.
916 * gdbserver/server.c (main, case '!'): Set extended_protocol.
917 (main, case 'k'): If the extended protocol is in use, kill the
918 inferior then start a new one.
919 (main, case 'R'): New command to restart the remote server and
920 inferior process. Only supported when using the extended
921 protocol.
922 (main, server loop): If the inferior terminates while using the
923 extended protocol then start a new one. If getpkt fails when
924 using the extended protocol then exit.
925
1789d5d5
SS
926Tue Jul 25 11:43:44 1995 Stan Shebs <shebs@andros.cygnus.com>
927
928 * mdebugread.c (psymtab_to_symtab_1): Relocate encoded stab
929 line numbers using the psymtab's section offsets.
930
63641491
MM
931Tue Jul 25 10:43:27 1995 Michael Meissner <meissner@tiktok.cygnus.com>
932
933 * config/rs6000/tm-rs6000.h (rs6000_framedata): Rename from
934 aix_framedata. Change all uses.
935 * rs6000-tdep.c: Change all aix_framedata -> rs6000_framedata.
936
0f7f5292
JL
937Sat Jul 22 23:44:18 1995 Jeff Law (law@snake.cs.utah.edu)
938
939 * defs.h (ATTR_FORMAT): Disable if ANSI_PROTOTYPES is not defined.
940
941Fri Jul 21 16:50:28 1995 Jeffrey A. Law <law@rtl.cygnus.com>
942
943 * lynx-nat.c (child_thread_alive): New function. Somehow I
944 forgot to check this in with all the other thread_alive changes.
945
5dc74605
JL
946Thu Jul 20 22:22:34 1995 Jeff Law (law@snake.cs.utah.edu)
947
948 * somread.c (som_symtab_read): Add unsatisfied common symbols to
949 the minimal symbol table. All common symbols are "unsatisfied"
950 when -E is passed to the linker.
951
032f80d8
FF
952Thu Jul 20 15:04:57 1995 Fred Fish <fnf@cygnus.com>
953
954 * top.c (show_endian): Cast first arg of printf_unfiltered to
955 correct type of "char *".
956
5c54124b
JL
957Thu Jul 20 14:18:51 1995 Jeffrey A. Law <law@rtl.cygnus.com>
958
959 * lynx-nat.c (child_wait): A thread_id of zero from wait apparently
960 means the process is single threaded, so there's no need to add
961 it to the thread list. Handle case where multi-threaded process
962 reverts back to a single-threaded process.
76087c53
JL
963
964 * gdbserver/low-hppabsd.c: Remove error declaration.
965 * gdbserver/low-sparc.c: Likewise.
966 * gdbserver/low-sun3.c: Likewise.
967 * gdbserver/server.h: Remove error and fatal declaration.
968 * gdbserver/utils.c (error): Update to be compatable with recent
969 changes in defs.h.
970 (fatal): Likewise.
971
bbcc95bd
PS
972Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
973
974 * config/m68k/tm-m68kv4.h (DWARF_REG_TO_REGNUM): Define to
975 correctly map floating point registers numbers.
976
977 * dwarfread.c (locval, new_symbol): Handle variables that are
978 optimized out.
979
980 * mdebugread.c: Replace all uses of builtin_type_* with
981 mdebug_type_*. Define and initialize mdebug_type_*.
982
983 * serial.h (serial_close): Add additional argument `really_close'.
984 (SERIAL_CLOSE): Update serial_close call accordingly.
985 (SERIAL_UN_FDOPEN): Use serial_close to handle refcnt properly.
986 * serial.c (serial_close): Handle `really_close'.
987 * serial.h (scb_base): Moved to serial.c, made static.
988
989 * valops.c (value_addr): Don't coerce arrays.
990 (typecmp): Coerce arrays instead of calling value_addr if necessary.
991
641c7fdf
SS
992Wed Jul 19 18:19:28 1995 Stan Shebs <shebs@andros.cygnus.com>
993
994 From Richard Earnshaw (rearnsha@armltd.co.uk):
995 * infrun.c (wait_for_inferior): Set the convenience variable
996 $_exitcode to the termination code of the inferior.
997 * top.c (quit_command): Accept optional expression to use
998 as parameter to exit().
999
1dde9159
KH
1000Wed Jul 19 13:15:32 1995 Kung Hsu <kung@mexican.cygnus.com>
1001
1002 * remote.c (remote_wait): When getting registers, check endianess and
1003 do conversion if necessary.
1004
c2aa5a89
JL
1005Tue Jul 18 00:41:31 1995 Jeff Law (law@snake.cs.utah.edu)
1006
1007 * gdbserver/low-hppabsd.c: New file.
1008 * gdbserver/Makefile.in (SFILES): Add low-hppabsd.c.
641c7fdf
SS
1009 * config/pa/hppabsd.mh (XDEPFILES): Add ser-tcp.o.
1010 (GDBSERVER_DEPFILES): Add low-hppabsd.o.
1011 * config/pa/hppaosf.mh: Likewise.
c2aa5a89 1012
6b14af2b
FF
1013Mon Jul 17 21:35:18 1995 Fred Fish <fnf@cygnus.com>
1014
641c7fdf
SS
1015 * dache.c (struct dcache_block): Change data member from unsigned
1016 char to char, since everything passed in and out of dcache is char
1017 or casted to appropriate type anyway.
1018 (dcache_alloc): Move assignment of db out of test and combine
1019 separate tests into if-else.
6b14af2b
FF
1020 (dcache_peek_byte): Change ptr from unsigned char* to char*.
1021 (dcache_peek_byte): Remove now unnecessary cast in read_memory call.
1022 (dcache_peek): Change cast of incoming data arg.
1023 (dcache_poke): Change cast of addr of incoming data arg.
1024 (dcache_info): Mask data passed to printf_filtered to lsbyte only.
1025 (dcache_info): Change printf_filtered arg from "% 2x" to " %2x".
1026 * target.c (debug_to_thread_alive): Change return type to int and
641c7fdf
SS
1027 return zero, for type compatibility with other *_thread_alive
1028 funcs.
6b14af2b
FF
1029 (cleanup_target): Change cast of ignore function to match type of the
1030 to_thread_alive member.
1031 * defs.h (error_hook): Add ATTR_NORETURN.
641c7fdf 1032 * defs.h (NORETURN, ATTR_NORETURN): Switch from volatile to
6b14af2b 1033 __attribute__ method with gcc 2.7, to avoid gcc 2.6.3 bug.
641c7fdf
SS
1034 * remote.c (remote_wait): Cast first arg to strtol, strchr, and
1035 strncmp to "const char *" from "unsigned char *".
1036 (remote_wait): Cast arg to putpkt and strcpy from "unsigned char *"
1037 to "char *".
6b14af2b
FF
1038 (remote_wait): Change printf format for long arg from "%d" to "%ld".
1039 (getpkt): Remove unused variable "bp".
1040 (remote_fetch_word, remote_store_word): Ifdef out apparently unused
1041 functions.
1042 * breakpoint.c (watchpoint_check): Removed unused variables
1043 "saved_level" and "saved_frame".
1044 * valops.c (value_arg_coerce): Add other enum TYPE_CODE_* and
1045 default cases to switch for completeness.
1046 * infrun.c (wait_for_inferior): Enclose "have_waited" label
1047 in #ifdef that matches the one in which it is referenced.
1048 * ser-unix.c (hardwire_noflush_set_tty_state): Enclose otherwise
1049 unused variable "state" in #ifdef that matches one in which it is
1050 referenced.
1051 * eval.c (evaluate_subexp_standard): Remove unused variable "var".
641c7fdf
SS
1052 * eval.c (evaluate_subexp_standard): Remove unused variable
1053 "tmp_symbol".
1054 * valarith.c (value_subscript): Remove unused variable
1055 "lowerbound", which is redeclared in a nested scope prior to use.
6b14af2b
FF
1056 * printcmd.c (print_frame_nameless_args): Use "%ld" to print long
1057 arg, not "%d".
1058 * {mem-break.c, remote-pa.c, remote.c, saber.suppress}:
1059 Remove unused static var "check_break_insn_size".
1060 * buildsym.c (finish_block): Add other enum LOC_* and default
1061 cases to switch for completeness.
1062 ch-lang.c (type_lower_upper): Removed unused label "retry".
1063 Add other enum TYPE_* and default cases to switch for completeness.
1064 * f-typeprint.c (f_type_print_args): Ifdef out unused function
1065 that may be used someday when Fortran support is complete.
1066 * ch-valprint.c (chill_print_type_scalar): Add other enum
1067 TYPE_* and default cases to switch for completeness.
1068 (chill_val_print): Remove unused local var "high_bound" that
1069 is redeclared in a nested scope prior to use.
1070 (chill_var_print): Use "%ld" to print long arg, not "%d".
641c7fdf
SS
1071 * regex.c (re_compile_fastmap, re_match_2): Add remaining enum
1072 types and default to switches for completeness.
6b14af2b
FF
1073 * minsyms.c (lookup_minimal_symbol_text): Delete unused variable
1074 "trampoline_symbol".
641c7fdf
SS
1075 (prim_record_minimal_symbol_and_info): Return NULL rather than
1076 trash.
6b14af2b
FF
1077 * elfread.c (elf_symtab_read): Don't dereference NULL returns from
1078 record_minimal_symbol_and_info.
1079 * f-lang.c (saved_function_list_end): Ifdef out unused variable
1080 that may be used someday.
641c7fdf 1081 * f-valprint.c (f_val_print): Remove unused local "straddr".
6b14af2b 1082
5d672f28
ILT
1083Mon Jul 17 13:08:00 1995 Ian Lance Taylor <ian@cygnus.com>
1084
f779e99f
ILT
1085 * stabsread.h (struct stab_section_list): Define.
1086 (coffstab_build_psymtabs): Remove staboff and stabsize parameters.
1087 Add textaddr, textsize, and stabs parameters.
1088 * gdb-stabs.h (struct dbx_symfile_info): Remove text_sect field.
1089 Add text_addr and text_size fields.
1090 (DBX_TEXT_SECT): Don't define.
1091 (DBX_TEXT_ADDR, DBX_TEXT_SIZE): Define.
1092 * coffread.c: Include <ctype.h>.
1093 (struct coff_symfile_info): Remove stabsect and stabindexsect
1094 fields. Add textaddr, textsize, and stabsects fields.
1095 (coff_locate_sections): Record the address of the .text section,
1096 and total the sizes of all sections with names beginning with
1097 ".text". Don't bother to record a .stab.index section (COFF
1098 doesn't use them). Make a linked list of all sections with names
1099 beginning with ".stab".
1100 (coff_symfile_read): Adjust call to coffstab_build_psymtabs for
1101 new parameters.
1102 * dbxread.c (dbx_symfile_read): Use DBX_TEXT_ADDR and
1103 DBX_TEXT_SIZE, rather than getting both from DBX_TEXT_SECT.
1104 (dbx_symfile_init): Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not
1105 DBX_TEXT_SECT.
1106 (elfstab_build_psymtabs): Likewise.
1107 (stabsect_build_psymtabs): Likewise.
1108 (symbuf_sections, symbuf_left, symbuf_read): New static variables.
1109 (fill_symbuf): If symbuf_sections is not NULL, read symbols from
1110 multiple sections.
1111 (coffstab_build_psymtabs): Remove staboffset and stabsize
1112 parameters. Add textaddr, textsize, and stabsects parameters.
1113 Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not DBX_TEXT_SECT. Handle
1114 multiple stabs sections.
1115 * os9kread.c (os9k_symfile_read): Use DBX_TEXT_ADDR and
1116 DBX_TEXT_SIZE, rather than getting both from DBX_TEXT_SECT.
1117 (os9k_symfile_init): Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not
1118 DBX_TEXT_SECT.
1119
5d672f28
ILT
1120 * remote-vx.c (vx_ops, vx_run_ops): Initialize new to_thread_alive
1121 field.
1122
b8ea4fec
PS
1123Sat Jul 15 01:02:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1124
1125 * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: New files
1126 for OSF/1-3.x procfs support.
1127 * configure.in (alpha-dec-osf): Use them when configuring
1128 for OSF/1-3.x.
1129 * configure: Updated.
1130 * target.c: Include <string.h>.
1131
5f107900
C
1132Fri Jul 14 16:16:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1133
1134 * Makefile.in, configure.in: Use one variable, frags, to hold
1135 pathnames of makefile fragments.
1136 * configure: regenerated.
1137
10f644eb
JL
1138Fri Jul 14 09:49:47 1995 Jeff Law (law@snake.cs.utah.edu)
1139
1140 * procfs.c (procfs_ops): Fix typo in last change.
1141
43fc25c8
JL
1142Thu Jul 13 13:42:38 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1143
1144 * inftarg.c (child_thread_alive): New function to see if a
1145 particular thread is still running.
1146 (child_ops): Add child_thread_alive entry.
1147 * remote.c (remote_thread_alive): New function to see if a
1148 particular thread is still alive.
1149 (remote_ops): Add remote_thread_alive.
1150 * target.c (dummy_target): Add dummy entry for thread_alive.
1151 (cleanup_target): de_fault thread_alive too.
1152 (update_current_target): INHERIT thread_alive too.
1153 (debug_to_thread_alive): New function.
1154 (setup_target_debug): Add debug_to_thread_alive.
1155 * target.h (struct target_ops): Add to_thread_alive.
1156 (target_thread_alive): Define.
1157 * thread.c (info_threads_command): Don't call kill; use
1158 target_thread_alive instead.
1159 * config/nm-lynx.h (CHILD_THREAD_ALIVE): Define.
1160 * gdbserver/low-lynx.c (mythread_alive): New function.
1161 (mywait): Don't restart any threads after a new thread notification,
1162 let the generic code handle it.
1163 * gdbserver/low-sparc.c (mythread_alive): Dummy version.
1164 * gdbserver/low-sun3.c (mythread_alive): Likewise.
1165 * gdbserver/server.c (main): Handle thread_alive requests.
1166 * gdbserver/server.h (mythread_alive): Declare.
1167 * corelow.c (core_ops): Add dummy entry for thread_alive.
1168 * exec.c (exec_ops): Likewise.
1169 * m3-nat.c (m3_ops): Likewise.
1170 * monitor.c (monitor_ops): Likewise.
1171 * procfs.c (procfs_ops): Likewise.
1172 * remote-arc.c (arc_ops): Likewise.
1173 * remote-array.c (array_ops): Likewise.
1174 * remote-e7000.c (e7000_ops): Likewise.
1175 * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
1176 * remote-mips.c (mips_ops): Likewise.
1177 * remote-pa.c (remote_hppro_ops): Likewise.
1178 * remote-sim.c (gdbsim_ops): Likewise.
1179 * sparcl-tdep.c (sparclite_ops): Likewise.
1180
43fc25c8
JL
1181Tue Jul 11 11:15:55 1995 Kung Hsu <kung@rtl.cygnus.com>
1182
1183 * solib.c: Add _DYNAMIC__MGC base symbol for Mentor Graphics Inc.
1184 * solib.c (match_main): New function for checking name of main.
1185 * solib.c (solib_add): Not to add if solib match main.
1186
1187Fri Jul 7 14:41:56 1995 Kung Hsu <kung@rtl.cygnus.com>
1188
1189 * elfread.c (elf_symtab_read): Fix a bug ignoring compiler
1190 generated internal labels ($LM...).
1191
c6236d12
KH
1192Wed Jul 5 11:38:36 1995 Kung Hsu <kung@rtl.cygnus.com>
1193
fec60da3
KH
1194 * defs.h: if __GO32__ or WIN32 the directory separating symbol should
1195 be '\' not '/'.
1196
c6236d12
KH
1197 * remote-nindy (nindy_wait): Use infinite timeout reading after
1198 esacpe character.
1199
48f4903f
JL
1200Tue Jul 4 10:30:22 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1201
88a294b1
JL
1202 * infrun.c (wait_for_inferior): When switching from one thread to
1203 another, save infrun's state for the old thread and load infrun's
1204 previous state for the new thread.
1205 * thread.c (struct thread_info): Add new fields for thread specific
1206 state saved/restored in infrun.c.
1207 (add_thread): Initialize new fields.
1208 (load_infrun_state): New function.
1209 (save_infrun_state): New function.
1210 * thread.h (load_infrun_state): Provide external decl.
1211 (save_infrun_state): Likewise.
1212
48f4903f
JL
1213 * infrun.c (wait_for_inferior): When we hit a breakpoint for the
1214 wrong thread, make sure to write the fixed PC value into the thread
1215 that stopped. Restart all threads after single stepping over a
1216 breakpoint for a different thread.
1217 * breakpoint.c (set_momentary_breakpoint): Make momentary
1218 breakpoints thread specific in a multi-threaded program.
1219 * lynx-nat.c (child_resume): Add some comments. Correctly
1220 choose between the single and multi-threaded step and continue
1221 ptrace calls.
1222
fb506180
SS
1223Fri Jun 30 16:15:36 1995 Stan Shebs <shebs@andros.cygnus.com>
1224
1225 * config/h8300/h8300.mt: Renamed from h8300hms.mt.
1226 * config/h8500/h8500.mt: Renamed from h8500hms.mt.
1227 * config/z8k/z8k.mt: Renamed from z8ksim.mt.
1228 * configure, configure.in: Update to reflect renamings.
1229
1230 * remote-sim.c (sim): New command, passes commands to simulator.
1231 (simulator_command): New function.
1232 (gdbsim_ops): Clean up.
1233 * remote-sim.h (sim_do_command): Declare.
1234 * sh-tdep.c (memory_size): Remove command.
1235
1236 * Makefile.in (SIM, SIM_OBS): New variables.
1237 (CLIBS, CDEPS): Add value of SIM.
1238 (DEPFILES): Add value of SIM_OBS
1239
1240 * config/arm/arm.mt, config/h8300/h8300.mt, config/h8500/h8500.mt,
1241 config/sh/sh.mt, config/sparc/sp64sim.mt, config/w65/w65.mt,
1242 config/z8k/z8k.mt: Remove simulator files from TDEPFILES,
1243 define in SIM_OBS and SIM.
1244 config/sparc/sp64sim.mt (SIMFILES): Remove.
1245
1246 * remote-z8k.c: Remove, was superseded by remote-sim.c
1247 * Makefile.in, mpw-make.in: Remove references to remote-z8k.c.
1248
fe442b43
SS
1249Sun Jun 25 15:30:43 1995 Stan Shebs <shebs@cygnus.com>
1250
1251 * remote.c (remote_read_bytes, remote_write_bytes): Second arg
1252 should be char *, not unsigned char *.
1253 * dcache.h (memxferfunc): Ditto.
1254 * monitor.c (monitor_write_memory, monitor_read_memory_single):
1255 Ditto.
1256 (monitor_make_srec): Let compiler figure size of hextab.
1257
1657d50b
JL
1258Sat Jun 24 19:27:37 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1259
1260 * lynx-nat.c (child_wait): Don't restart new threads and loop
1261 to the top of child_wait; let the machine independent code in
1262 wait_for_inferior deal with new thread notifications.
1263
8a7143f4
KH
1264Fri Jun 23 11:51:58 1995 Kung Hsu <kung@mexican.cygnus.com>
1265
1266 * remote-nindy (nindy_load): Put in target specific load, it's
1267 20 times faster.
1268
26a53fe8
SS
1269Thu Jun 22 20:21:59 1995 Stan Shebs <shebs@andros.cygnus.com>
1270
31bda44a
SS
1271 * utils.c (error): Move local `args' outside conditional,
1272 move local `string1' inside, declare function as void if
1273 non-ANSI compiler, dereference error_hook when calling.
1274
26a53fe8
SS
1275 * mac-xdep.c (stdarg.h): Don't include.
1276
89fd75ae
KH
1277Thu Jun 22 13:12:33 1995 Kung Hsu <kung@mexican.cygnus.com>
1278
1279 * remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.
1280
b3a34d4f
JL
1281Wed Jun 21 13:24:41 1995 Jeff Law (law@snake.cs.utah.edu)
1282
1283 * hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR and
1284 HP800_THREAD_STATE_COUNT to TRACE_FLAVOR_SIZE.
1285
c3a9b88e
SC
1286Wed Jun 21 05:57:56 1995 Steve Chamberlain <sac@slash.cygnus.com>
1287
1288 * monitor.c: Turn on caching.
1289 (monitor_printf): If a ^C was sent, don't expect to see its
1290 echo.
1291 (monitor_open): Enable caching.
1292 (monitor_resume, monitor_load): Flush cache.
1293 (monitor_xfer_memory): Call cache routine.
1294 (monitor_dump_regs): New.
1295 (monitor_fetch_registers): If monitor_dump_regs available
1296 then use it.
1297 (monitor_load): Don't ref exec_bfd if it's NULL.
1298 (monitor_load_srec): Use new monitor_make_srec calling convention.
1299 (monitor_make_srec): Rewrite to cope with two, three and four byte
1300 addresses.
1301 * remote-hms.c (hms_cmds): Initialze end-of-command delim.
1302 * dcache.h, dcache.h: Rewritten.
1303 * remote.c: Reenable caching.
1304 (getpkt): Reduce MAX_TRIES to 3.
1305 (remote_xfer_memory): Use dcache_xfer_memory.
1306 * defs.h (error_hook): New.
1307 * top.c (error_hook): New definition.
1308 * utils.c (error): Use error_hook if initialized.
1309 * sparcl-tdep.c (HAVE_SOCKETS): Don't define if GO32 or WIN32. Use
1310 HAVE_SOCKETS in place of #ifndef GO32.
1311
5e2f4e2d
JL
1312Tue Jun 20 22:17:44 1995 Jeff Law (law@snake.cs.utah.edu)
1313
1314 * config/pa/tm-hppa.h (PSW_*): Define processor status word masks.
1315 (INSTRUCTION_NULLIFIED): Allow specific targets to override.
1316 * config/pa/tm-hppao.h (INSTRUCTION_NULLIFIED): Define to work
1317 around losing mach kernel behavior.
1318
4a430794
SS
1319Tue Jun 20 12:03:36 1995 Stan Shebs <shebs@andros.cygnus.com>
1320
1321 * monitor.c (monitor_wait): Don't use the watchdog timeout
1322 if its value is 0.
1323 * w89k-rom.c (w89k_open): Define to be static.
1324
1325start-sanitize-gdbtk
f1b64caa
SG
1326Tue Jun 20 10:19:40 1995 Stu Grossman (grossman@cygnus.com)
1327
8c19daa1
SG
1328 * gdbtk.c: Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free.
1329
f1b64caa
SG
1330 * gdbtk.tcl (add_breakpoint_frame): Add more fields.
1331 * (create_file_win create_asm_win build_framework): Create null
1332 bindings for meta keys to keep window from dropping down to
1333 insertion point when meta is pressed by itself. New bindings:
1334 Up/Down - Scroll up/down one line at a time
1335 Next/Prior - Scroll up/down one page at a time
1336 Home/End - Warp to current pc/end of file
1337 * (build_framework): Turn on breakpoint menu.
1338 * (create_command_window): Implement tab completion. Add binding
1339 for ^C to stop target.
4a430794 1340end-sanitize-gdbtk
f1b64caa 1341
156285aa
JL
1342Sat Jun 17 10:17:16 1995 Jeff Law (law@snake.cs.utah.edu)
1343
1344 * somsolib.c (som_solib_add): Validate regexp argument.
1345 Don't assume the first entry on dld's library list is the main
1346 program. Don't load the same library more than once and don't
1347 consider the main program a shared library.
1348 (som_solib_sharedlibrary_command): New function
1349 (_initialize_som_solib): Add "sharedlibrary" command.
1350
e33c359d
SS
1351Thu Jun 15 14:54:58 1995 Stan Shebs <shebs@andros.cygnus.com>
1352
1353 * array-rom.c: Remove, no longer used.
1354
1355 * remote-hms.c (hms_open): Make static.
1356
1357 * mpw-config.in (MacSerial.h): Copy from version in {CIncludes},
1358 not {MPW}Interfaces:CIncludes.
1359 * ser-mac.c (mac_baud_rate_table): Fix value for 38400 baud.
1360
1361Wed Jun 14 14:27:07 1995 Per Bothner <bothner@kalessin.cygnus.com>
1362
1363 * ch-exp.y: Remove lots of unsupported productions and names.
1364 Add support for IF-expressions, ORIF, ANDIF, NUM, and ADDR.
1365
61379835
PB
1366Tue Jun 13 21:40:11 1995 Per Bothner <bothner@kalessin.cygnus.com>
1367
1368 * parser-defs.h (enum precedence): Added PREC_BUILTIN_FUNCTION.
1369 * expression.h (enum exp_opcode): Added UNOP_LOWER, UNOP_UPPER,
1370 UNUP_LENGTH.
1371 * expprint.c (dump_expression): Handle the new exp_opcodes.
1372 (print_subexp): Handle PREC_BUILTIN_FUNCTION.
1373 (print_simple_m2_func): Removed.
1374 (print_subexp): Remove support for Modula2 builtin functions.
1375 * m2-lang.c (m2_op_print_tab): Add support for builtin functions.
1376 * ch-exp.y: Parse LOWER, UPPER, and LENGTH builtins.
1377 (write_lower_upper_value): Convenience function for LOWER and UPPER.
1378 (upper_lower_argument, length_argument): Removed non-terminals.
1379 * ch-lang.c (chill_op_print_tab): Entries for UPPER, LOWER, LENGTH.
1380 (type_lower_upper): New function. Calculate LOWER/UPPER of type.
1381 (value_chill_length): New function. Calcalate LENGTH of ARRAY/STRING.
1382 (evaluate_subexp_chill): Handle UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH.
1383
2e1cc801
SS
1384Mon Jun 12 12:48:13 1995 Stan Shebs <shebs@andros.cygnus.com>
1385
1386 Windows support bits from Steve Chamberlain <sac@slash.cygnus.com>.
1387 * defs.h: Don't declare strchr and friends if WIN32.
1388 (DIRNAME_SEPARATOR): Move here from source.c.
1389 (SLASH_P, SLASH_CHAR, SLASH_STRING, ROOTED_P): New macros,
1390 symbolic definitions for filename bits.
1391 * top.c (cd_command): Use these.
1392 * source.c (mod_path, openp): Ditto.
1393 * terminal.h: Disable termio/sgtty definitions if WIN32.
1394 * findvar.c (registers_changed): Call registers_changed_hook
1395 if it is defined.
1396
43b442f1
C
1397Mon Jun 12 12:22:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1398
1399 * Makefile.in (distclean, realclean): Remove config.cache and
1400 config.log.
1401
99e0981c
JL
1402Mon Jun 12 00:21:59 1995 Jeff Law (law@snake.cs.utah.edu)
1403
1404 * somsolib.c: Include gdb-stabs.h.
1405 (som_solib_section_offsets): Use SECT_OFF_XXX rather than 0, 1,
1406 etc. Initialize offsets for RODATA & BSS too.
1407
b7202faa
JL
1408Sat Jun 10 17:59:11 1995 Jeff Law (law@snake.cs.utah.edu)
1409
1410 * hppa-tdep.c (frame_chain): Try to compensate for incomplete
1411 register information in core files when backtracing.
1412
1413Fri Jun 9 14:51:38 1995 Stu Grossman (grossman@cygnus.com)
1414
1415 * remote-nrom.c: Remove everything but download code. More
1416 cleanups.
1417
4887063b
SG
1418Thu Jun 8 15:06:00 1995 Stu Grossman (grossman@cygnus.com)
1419
1420 * defs.h maint.c monitor.c remote-mips.c remote.c: Add support
1421 for `watchdog' variable. This allows the user to put an upper
1422 limit on the amount of time that GDB will wait for the target to
1423 return from a step or continue operation. This will primarily be
1424 used for the testsuite, where it is difficult to come up with a
1425 reasonable timeout for things like function calls, which can take
1426 as long as three minutes under some circumstances. If the
1427 watchdog timer expires, GDB will generate an error that looks like
1428 `Watchdog has expired.', and will detach from the target.
1429
1430 * remote-mips.c (mips_open): Setup initial frame from target.
1431 Print it out so that user is told where the program is stopped
1432 when they attach.
1433
1434 * remote-nrom.c: Loads of cleanups. Use serial code to open
1435 network connections. Use expect() to wait for response to
1436 download command.
1437
1438 * ser-tcp.c (tcp_open): Retry connection if we get ECONNREFUSED.
1439
1440 * serial.c serial.h (serial_open serial_fdopen serial_close):
1441 Allow users to open the same device multiple times. They all get
1442 to share the same serial_t. This is about the only way to have
1443 multiple active targets use the same device (for download and
1444 debug).
1445
1446 * sparcl-tdep.c: Keep #include <unistd.h> away from GO32.
1447
1448 * target.c: Add `targetdebug' variable. If this is non-zero,
1449 then a special target is put at the top of the target stack which
1450 will cause all calls through the target vector to have their args
1451 and results printed out.
1452
1453Wed Jun 7 17:40:37 1995 Per Bothner <bothner@kalessin.cygnus.com>
1454
1455 * ch-exp.y: Handle <primitive_value> "->" <modename>.
1456
a4c7302a
MM
1457Wed Jun 7 17:46:33 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1458
b726a3d8
MM
1459 * mem-break.c (LITTLE_BREAKPOINT): If BREAKPOINT and
1460 {LITTLE,BIG}_BREAKPOINT are all defined, don't redefine.
1461 (BIG_BREAKPOINT): Ditto.
1462
a4c7302a
MM
1463 * config/rs6000/tm-rs6000.h (BREAKPOINT): Define as either
1464 BIG_BREAKPOINT or LITTLE_BREAKPOINT depending on the target byte
1465 order.
1466
c38e0b58
JL
1467Wed Jun 7 12:41:42 1995 Jeff Law (law@snake.cs.utah.edu)
1468
fbf8d7e1
JL
1469 * somsolib.c (som_solib_section_offsets): Handle relative pathnames.
1470
c38e0b58
JL
1471 * hppa-tdep.c (frame_saved_pc): Handle backtracing through signal
1472 handler in dynamically linked executables.
1473
5c172b4b
MM
1474Tue Jun 6 10:44:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1475
1476 From Andrew Cagney <cagney@highland.com.au>
1477 * rs6000-tdep.c (single_step): Handle both little and big endian
1478 breakpoints.
1479 (gdb_print_insn_powerpc): Deal with disassembling both little and
1480 big endian PowerPC systems.
1481 (_initialize_rs6000_tdep): Use gdb_print_insn_powerpc to handle
1482 disassembly, rather that assuming big endian order.
1483
1484 * config/rs6000/tm-rs6000.h (BREAKPOINT): Delete.
1485 (BIG_BREAKPOINT): Define, big endian breakpoint instruction.
1486 (LITTLE_BREAKPOINT): Define, little endian breakpoint instruction.
1487
1488Sat Jun 3 01:54:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1489
1490 * README: Add note about Unixware 2.x.
1491
1492 * dbxread.c (process_one_symbol): Check for exact symbol name
1493 match when fixing up N_GSYM and N_STSYM symbols from Sun acc.
1494
1495 * valprint.c (value_print_array_elements): Use
1496 fprintf_filtered to put out `<repeats %u times>',
1497 from schwab@issan.informatik.uni-dortmund.de (Andreas Schwab).
1498
1499 * value.h (struct value): Change `repetitions' field from
1500 `short' to `int' type.
1501
4f36d4ab
DE
1502start-sanitize-arc
1503Fri Jun 2 11:17:23 1995 Doug Evans <dje@canuck.cygnus.com>
1504
1505 * arc-tdep.c (arc_bfd_mach_type): New static global.
1506 (codestream_fill): Handle byte order differences.
1507 (setup_prologue_scan): Don't read stdarg function's "sub sp,sp,N".
1508 (arc_get_frame_setup): Read it here.
1509 (arc_frame_saved_pc): And here.
1510 (arc_print_insn): New function.
1511 (arc_set_cpu_type): Set arc_bfd_mach_type. Don't set tm_print_insn.
1512 (_initialize_arc_tdep): Set tm_print_insn to arc_print_insn.
1513end-sanitize-arc
1514
2de498d8
C
1515Wed May 31 12:04:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1516
119a5f4e
C
1517 * nlm/{configure.in, Makefile.in}: Converted to use autoconf.
1518 * nlm/configure: New file, generated with autoconf 2.3.
1519
3be5f039
C
1520 * nlm/configure.in: Use sed instead of awk to get the value of
1521 cpufile. Awk is not a utility required by the GNU coding
1522 standards. This change also fixes the rigid whitespace
1523 requirements that were required for awk.
1524
2de498d8
C
1525 * sparclite/aload.c: Use a file descriptor instead of a stdio
1526 stream for i/o with target board.
1527 Use #error if HAVE_TERMIOS is not defined.
1528
1529 * sparclite/{Makefile.in, configure.in}: Converted to use
1530 autoconf.
1531 * sparclite/configure: New file, generated with autoconf 2.3.
1532
413cba82
JL
1533Sun May 28 23:10:07 1995 Jeff Law (law@snake.cs.utah.edu)
1534
089c9303
JL
1535 * defs.h: Include either varargs.h or stdarg.h (for va_list).
1536 Fix stupid thinko in last change ("..." -> "va_list").
1537
413cba82
JL
1538 * defs.h (vprintf_filtered declaration): Add PARAMS prototype;
1539 gcc-2.5 chokes on format attributes for unprototyped functions.
1540 (vfprintf_filtered declaration): Likewise.
1541 (vprintf_unfiltered declaration): Likewise.
1542 (vfprintf_unfiltered). Likewise.
1543
094fd4ae
C
1544Sat May 27 23:54:17 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1545
1546 * configure.in: Use sed instead of awk to get the values of
1547 hostfile, targetfile and nativefile. Awk is not a utility
1548 required by the GNU coding standards. This change also
1549 fixes the rigid whitespace requirements that were required
1550 for awk.
1551 * configure: regenerated.
1552
0cc3f4fc
AMT
1553Sat May 27 16:24:04 1995 Angela Marie Thomas <angela@cirdan.cygnus.com>
1554
1555 * sparclite/{Makefile,configure}.in: Add hooks for building with
1556 -lsocket & -lnsl for solaris2. Don't build aload/eload for DOS.
1557
1558Thu May 25 12:46:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1559
1560 * gdbserver/remote-utils.c (prepare_resume_reply): Add FIXME
1561 comment regarding signal numbering.
1562
54af8e6e
SC
1563Wed May 24 15:49:47 1995 Steve Chamberlain <sac@slash.cygnus.com>
1564
4936656a
SC
1565 * arm-tdep.c (_initialize_arm_tdep): Use print_insn_little_arm
1566 now.
1567
54af8e6e
SC
1568 * arm-tdep.c (convert_from_extended, convert_to_extended):
1569 New.
1570 * coffread.c (enter_linenos): Return if linetab 0.
1571 * config/arm/arm.mt (TDEPFILES): Add simulator support.
1572 * config/arm/tm-arm.h (FRAME_FIND_SAVED_REGS): Fix prototypes.
1573
1574Mon May 22 19:37:21 1995 Rob Savoye <rob@darkstar.cygnus.com>
1575
1576 * config/idt.mt: replace monitor and array-rom with the new
1577 remote-array.
1578
f5a8f1a6
SG
1579Mon May 22 15:38:25 1995 Stu Grossman (grossman@cygnus.com)
1580
cac390d4
SG
1581 * remote-nindy.c: Install Kung patch for PR 6820. I have no idea
1582 what this does...
1583
f5a8f1a6
SG
1584 * breakpoint.c: Move defaults of watchpoint related macros into
1585 target.h.
1586 * target.h: Macros from breakpoint.c. Conditionalize based on
1587 TARGET_HAS_HARDWARE_WATCHPOINTS.
1588 * i386v-nat.c procfs.c: Use TARGET_HAS_HARDWARE_WATCHPOINTS
1589 instead of TARGET_CAN_USE_HARDWARE_WATCHPOINT to enable watchpoint
1590 code.
1591 * config/i386/nm-linux.h, config/mips/nm-irix4.h,
1592 config/pa/nm-hppab.h, config/sparc/tm-sparclite.h: #define
1593 TARGET_HAS_HARDWARE_WATCHPOINTS to enable watchpoint code.
1594
e8bf33c4
JK
1595Mon May 22 06:47:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1596
1597 * breakpoint.c, target.h: Move defaults of watchpoint related
1598 macros back to breakpoint.c. Required to get GDB compiling
1599 on Solaris again.
1600
1601Fri May 19 14:49:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1602
1603 * defs.h (ATTR_FORMAT): New macro, expands to gcc's format
1604 attribute when compiled by gcc.
1605 * defs.h, language.h, monitor.h: Changed many function
1606 declarations to use ATTR_FORMAT.
1607
1608 * breakpoint.c (delete_command); source.c (directory_command);
1609 top.c (define_command): Changed call to query() that had too
1610 many arguments.
1611 * printcmd.c (address_info): Changed call to printf_filtered()
1612 that had too many arguments.
1613
a5298c2a
JK
1614Fri May 19 09:52:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1615
1616 * infrun.c (wait_for_inferior): Move assignments to stop_signal
1617 and stop_pc, and STOPPED_BY_WATCHPOINT code, back where they
1618 were--after the switch statement on w.kind. You can't read the
1619 registers of an inferior which has exited. Use a goto in the
1620 STOPPED_BY_WATCHPOINT code.
1621 * infrun.c (wait_for_inferior): Reinstate
1622 HAVE_STEPPABLE_WATCHPOINT and HAVE_CONTINUABLE_WATCHPOINT code.
1623
73d3dbd4
JK
1624Fri May 19 06:15:40 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1625
1626 * utils.c, complaints.c, language.c, monitor.c, remote-array.c,
1627 remote-mips.c, remote-os9k.c, remote-st.c: Conditionalize use of
1628 stdarg rather than varargs on ANSI_PROTOTYPES not __STDC__; it
1629 must match the definition of PARAMS.
1630start-sanitize-gdbtk
1631 * gdbtk.c: Likewise.
1632end-sanitize-gdbtk
1633
85c613aa
C
1634Thu May 18 15:58:46 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1635
1636 * utils.c (fprintf_filtered, fprintf_unfiltered, fprintfi_filtered,
1637 printf_filtered, printf_unfiltered, printfi_filtered, query, warning,
1638 error, fatal, fatal_dump_core): Use stdarg.h macros when compiling
1639 with an ANSI compiler.
e8bf33c4 1640 * complaints.c (complain): Likewise.
85c613aa
C
1641 * language.c (type_error, range_error): Likewise.
1642 * monitor.c (monitor_printf, monitor_printf_noecho): Likewise.
1643 * remote-array.c (printf_monitor, debuglogs): Likewise.
1644 * remote-mips.c (mips_error): Likewise.
1645 * remote-os9k.c (printf_monitor): Likewise.
1646 * remote-st.c (printf_stdebug): Likewise.
1647start-sanitize-gdbtk
1648 * gdbtk.c (gdbtk_query): Likewise.
1649end-sanitize-gdbtk
1650
e8bf33c4 1651 * defs.h, complaints.h, language.h, monitor.h: Add prototypes to
85c613aa
C
1652 match above changes.
1653
1654 * printcmd.c: Remove uneeded #include <varargs.h>.
1655 * remote-e7000.c: Likewise.
1656
1657 * f-typeprint.c (f_type_print_base): Fix typo found by above
1658 changes.
1659
fb494327
JK
1660Wed May 17 11:21:32 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1661
1662 * Makefile.in (xcoffread.o): Depend on partial-stab.h.
1663
1664 * xcoffsolib.c (sharedlibrary_command): New command.
1665 * xcoffsolib.c (solib_info): Call xcoff_relocate_symtab.
1666 * xcoffsolib.c: Miscellaneous cleanups.
1667
1668 * partial-stab.h: Ignore symbol descriptor '-' (for local
1669 variables with negative type numbers) without complaint.
1670
1671 * rs6000-nat.c (vmap_ldinfo): Use bfd_stat rather than our own
1672 local emulation thereof. Remove unused variable ostart.
1673
eba08643
C
1674Wed May 17 15:55:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1675
e61853dd
C
1676 * Makefile.in (config.status): changed target so that
1677 config.status --recheck is executed if configure script changes.
1678
eba08643
C
1679 * monitor.c (monitor_printf): Changed format specification in
1680 error message to work with pre-ansi compilers.
1681 (monitor_load_srec): reduced length of s-records from 128 to 32
1682 bytes so download is more reliable with the rom68k monitor.
1683
1684 * rom68k-rom.c: Added trailing space to prompt string.
1685
1686 * config/i386/xm-i386sco.h (HAVE_STRSTR): Removed.
1687 * config/i386/xm-go32.h, mswin/xm.h (SYS_SIGLIST_MISSING):
1688 Removed.
1689 * defs.h, config/{xm-lynx.h, xm-nbsd.h},
1690 config/i386/{xm-i386bsd.h, xm-linux.h},
1691 config/m68k/xm-hp300bsd.h, config/mips/xm-irix4.h,
1692 config/ns32k/xm-ns32km3.h, doc/gdbint.texinfo
1693 (PSIGNAL_IN_SIGNAL_H): Removed.
1694
0a5a1821
C
1695Tue May 16 13:16:06 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1696
eba08643
C
1697 * Makefile.in (Makefile): Added config.status to dependency list.
1698
0a5a1821
C
1699 * configure.in: Added INIT-CMDS argument to AC_OUTPUT which sets
1700 gdb_host_cpu, gdb_target_cpu and nativefile.
1701 * configure: regenerated.
1702
943b7032
PS
1703Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1704
1705 * mdebugread.c (parse_symbol): Do not relocate stBlock/scText
1706 symbols, their value is the displacement from the procedure address.
1707 * top.c (init_main): Add missing newlines to help strings for
1708 `if' and `while' commands, fix help string for `show commands'.
1709
75cbae71
SG
1710Mon May 15 18:37:56 1995 Stu Grossman (grossman@cygnus.com)
1711
1712 * breakpoint.c: Move defaults of watchpoint related macros into
1713 target.h. Use BP_TEMPFLAG and BP_HARDWAREFLAG instead of
1714 constants.
1715 * infrun.c (wait_for_inferior): Enhance comment near
1716 STOPPED_BY_WATCHPOINT.
1717 * target.h: Macros from breakpoint.c.
1718
5436fc65
C
1719Mon May 15 17:11:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1720
1721 * config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
1722 config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
1723 mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
1724 out by autoconf.
1725 * config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
1726
1727 * Makefile.in, configure.in: Converted to use autoconf
1728 * aclocal.m4: New file, local autoconf macro definitions.
1729 * configure: New file, generated with autoconf 2.3.
1730
dfd7f395
SS
1731Mon May 15 14:46:41 1995 Stan Shebs <shebs@andros.cygnus.com>
1732
1733 * remote.c (remote_kill): Add prototype.
1734 * cpu32bug-rom.c (cpu32bug_open): Properly define as static.
1735 * config/h8300/h8300hms.mt (TDEPFILES): Add monitor.o.
1736
c66ed884
SG
1737Mon May 15 12:12:34 1995 Stu Grossman (grossman@cygnus.com)
1738
24e1a4e0
SG
1739 * sparclite/salib.c (win_ovf win_unf): Make window size constant
1740 into a variable (__WINSIZE) so that it can be controlled via the
1741 .h file.
1742 * sparclite/sparclite.h: Add SL933 #ifdef to set __WINSIZE to 6
1743 for the 933 board.
1744
c66ed884
SG
1745 * infrun.c: Add #ifdef HP_OS_BUG to all references to
1746 trap_expected_after_continue.
1747 * (wait_for_inferior): Fix for remote watchpoints. Don't try to
1748 insert breakpoints while target is running (this only works on
1749 *some* native targets). This may also speed up native watchpoints
1750 considerably.
1751
f133a597
JK
1752Sat May 13 13:55:04 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1753
1754 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
bbb053fd
JK
1755 mdebugread.c (struct symloc), hpread.c (struct symloc),
1756 xcoffread.c (struct symloc): Fix inaccurate comment introduced
1757 20 Apr 1995.
f133a597 1758
a367db89
JK
1759Sat May 13 13:34:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1760
1761 * rs6000-tdep.c (find_toc_address): Revise comment.
1762 * symfile.c, symfile.h (init_psymbol_list): New function;
1763 consolidate duplicated copies from os9kread.c, dbxread.c
1764 and dwarfread.c.
1765 * defs.h: Declare info_verbose.
1766 * xcoffread.c: Extensive changes to support psymtabs.
1767
511ffbf2
SG
1768Fri May 12 13:48:41 1995 Stu Grossman (grossman@andros.cygnus.com)
1769
1770 * cpu32bug-rom.c remote-est.c rom68k-rom.c: Update line_term element.
1771
48b2d07e
JK
1772Fri May 12 06:39:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1773
1774 * partial-stab.h: Expand comments.
1775
2d2959e8
JL
1776Thu May 11 19:01:37 1995 Jeff Law (law@snake.cs.utah.edu)
1777
1778 * Support debugging using native MACH primitives on hppa*-*-osf*.
1779 * configure.in: hppa*-*-osf* != hppa*-*-bsd* anymore.
1780 * config/pa/hppaosf.mh: New file.
1781 * config/pa/nm-hppao.h: Likewise.
1782 * hppam3-nat.c: Likewise.
1783 * config/pa/tm-hppao.h (PSW_SS): Define for single-stepping.
1784 (MACHINE_CPROC_*_OFFSET): Define.
1785 (TRACE_*): Define.
1786 (START_INFERIOR_TRAPS_EXPECTED): Delete definition.
1787
d8afcce9
SG
1788Wed May 10 18:59:26 1995 Stu Grossman (grossman@andros.cygnus.com)
1789
1790 * hppa-tdep.c (read_unwind_info): Cosmetic cleanup.
1791 * (unwind_command): Clean it up and make it print things out
1792 nicer.
1793 * monitor.c: Add ^C handling capability (mostly ripped off from
1794 remote.c).
1795 * (monitor_printf): Make it check the command echo.
1796 * (monitor_printf_noecho): Similar to above, but doesn't check
1797 for echo.
1798 * (monitor_stop): No longer waits for prompt. That is the job of
1799 the caller. This makes things work much better for monitor_wait,
1800 which waits for the prompt itself.
1801 * (monitor_open): Deal with new monitor_stop semantics. Also,
1802 flush input after sending init strings to get rid of junk that may
1803 be output. Also, don't always send \r to remote. Use
1804 monitor_ops->line_term cuz proper character isn't always \r.
1805 * (monitor_fetch_register): Switch to completely different
1806 algorithm to deal with lame-ass monitors which put spaces in the
1807 middle of numbers, and prompt with a space!!!!!
1808 * (monitor_read_memory_single): New routine to be used with
1809 monitors that can only return one byte/short/long at a time. This
1810 is selected via MO_GETMEM_READ_SINGLE.
1811 * (monitor_load_srec): Use monitor_printf_noecho for sending S
1812 records. Most targets don't echo them.
1813 * (monitor.h): Get rid of cmd_delim. Add line_delim.
1814 * op50n-rom.c (op50n_cmds): Fill it up. Make it work.
1815 * w89k-rom.c: Change all eols from \r to \n. Change load_resp to
1816 ^Q to prevent error message.
1817 * config/pa/tm-hppa.h (CALL_DUMMY (for hppro)): Add special
1818 instruction sequence at end to make restore_pc_queue happy.
1819
bec6c6db
TG
1820Wed May 10 15:59:00 1995 Torbjorn Granlund <tege@adder.cygnus.com>
1821
1822 * remote-est.c (est_open): Make static to match prototype.
1823
c7b44b04
MM
1824Tue May 9 16:58:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1825
1826 * configure.in: Add little endian PowerPC support.
1827 * config/powerpc/ppcle-eabi.mt: New file for little endian PowerPC
1828 support.
1829 * config/powerpc/tm-ppcle-eabi.h: ditto.
1830
5e3f4eac
C
1831Mon May 8 12:11:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1832
7e1bfb70
C
1833 * nlm/configure.in (gdb_host, gdb_host_cpu, gdb_target): Removed.
1834 These variables not used.
1835
5e3f4eac
C
1836 * config/m68k/monitor.mt (TDEPFILES): Added cpu32bug-rom.o.
1837
774e5d7f
SS
1838Wed May 3 17:54:47 1995 Stan Shebs <shebs@andros.cygnus.com>
1839
1840 * monitor.c (monitor_command): Don't use PROMPT until monitor
1841 target is known to be open.
1842 (monitor_make_srec): Don't define size of hextab.
1843
1844Tue May 2 18:32:24 1995 Stan Shebs <shebs@andros.cygnus.com>
1845
1846 * configure.in (--enable-netrom): New configuration option.
1847 * Makefile.in (REMOTE_OBS): Rename from REMOTE_O, append
1848 value of NETROM_OBS.
1849 (NETROM_OBS): New variable.
1850 * remote-nrom.c: New file, NetROM target support.
1851 * config/a29k/a29k-udi.mt, config/i960/vxworks960.mt: Use
1852 REMOTE_OBS instead of REMOTE_O.
1853start-sanitize-arc
1854 * config/arc/arc.mt: Ditto.
1855end-sanitize-arc
1856
e2bc2606
SG
1857Fri Apr 28 23:30:00 1995 Stu Grossman (grossman@cygnus.com)
1858
1859 * array-rom.c (_initialize_array array_open): Move baud_rate
1860 initialization from _initxxx to array_open to fix bug with
1861 overriding -b command line option.
1862
ad0c0b7f
DE
1863Thu Apr 27 20:29:34 1995 Doug Evans <dje@canuck.cygnus.com>
1864
1865 * Makefile.in (RUNTEST): Fix reference of `srcdir'.
1866
5d747d61
SC
1867Wed Apr 26 19:01:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
1868
1869 * remote-hms.c: Rewrite to use new monitor conventions.
1870
ab52cc44
JK
1871Tue Apr 25 11:27:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1872
1873 * dbxread.c: Add comment explaining lowest_text_address.
0f60fbb8 1874 Add comment regarding stringtab_global and psymtabs.
ab52cc44 1875
4a8b575e
JL
1876Sat Apr 22 01:26:29 1995 Jeff Law (law@snake.cs.utah.edu)
1877
87e33b84
JL
1878 * config/pa/tm-hppa.h (EXTRACT_STRUCT_VALUE_ADDRESS): Fix.
1879
4a8b575e
JL
1880 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
1881 handle "short", "int" and small structures returned in registers.
1882
cdd2212f
KH
1883Fri Apr 21 12:57:53 1995 Kung Hsu <kung@mexican.cygnus.com>
1884
1885 * minsyms.c: add new function lookup_minimal_symbol_text, to look
1886 for text symbol only.
1887 * breakpoint.c (create_longjmp_breakpoint): call
1888 lookup_minimal_symbol_text instead of lookup_minimal_symbol.
1889 * symtab.h: add lookup_minimal_symbol_text prototype.
1890
66d05e03
SS
1891Fri Apr 21 12:03:44 1995 Stan Shebs <shebs@andros.cygnus.com>
1892
1893 * sh-tdep.c (sh-opc.h): Don't include.
1894 (gdbcore.h): Include.
1895 (frame_find_saved_regs): Remove unused local.
1896
989d9cba
JK
1897Thu Apr 20 10:12:21 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1898
1899 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
1900 mdebugread.c (struct symloc), hpread.c (struct symloc): Clean
1901 up comments.
1902
7486c68d
SG
1903Wed Apr 19 16:58:11 1995 Stu Grossman (grossman@andros.cygnus.com)
1904
1905 * hppa-tdep.c (deposit_17): New routine to deposit 17 bit
1906 constants into PA instructions.
1907 * Put #ifdefs around all signal handling code. Not generally
1908 needed for embedded boards.
1909 * (hppa_fix_call_dummy): Parameterize offsets into call dummy to
1910 allow different dummys to be used by this code. Use
1911 INSTRUCTION_SIZE instead of REGISTER_SIZE for things.
1912 Conditionalize setup of _sr4export fixup. Improve comments.
1913 * config/pa/tm-hppa.h: Define INSTRUCTION_SIZE. Use a different
1914 call dummy if PA_LEVEL_0 is defined. Better comments for call
1915 dummys. Define offsets for LDIL/LDO instructions which load
1916 function addresses.
1917 * config/pa/tm-pro.h: Get rid of signal handling stuff. Define
1918 PA_LEVEL_0 to disable mucking with space regs and such.
1919
1920Mon Apr 17 15:37:08 1995 Stu Grossman (grossman@andros.cygnus.com)
1921
1922 * cpu32bug-rom.c monitor.h op50-rom.c remote-est.c rom68k-rom.c
1923 w89k-rom.c: Remove loadtypes, loadprotos and baudrates.
1924 * op50-rom.c: Fix copyrights and add load routine to op50n_cmds.
1925 * rom68k-rom.c (_initialize_rom68k): Don't set baud rate.
1926 * w89k-rom.c: Fix copyrights.
1927
fe4bce98
SG
1928Sun Apr 16 14:00:55 1995 Stu Grossman (grossman@andros.cygnus.com)
1929
1930 * monitor.c: Move all xmodem stuff into xmodem.[ch]. Remove
1931 unnecessary remoteloadprotocol and remoteloadtype support.
1932 * (expect expect_prompt): Change names to monitor_expect and
1933 monitor_expect_prompt. Make them global.
1934 * (printf_monitor): Change name to monitor_printf. Make global.
1935 * (monitor_read_memory): Flush command echo to avoid parsing
1936 ambiguity with CPU32Bug monitor.
1937 * (monitor_load): Remove remoteloadprotocol and remoteloadtype
1938 support. Call target_ops->load_routine, default to
1939 monitor_load_srec.
1940 * (monitor_load_srec): Remove everything but S-record support.
1941 * monitor.h (monitor_ops): Add load_routine to provide monitor
1942 specific download capability.
1943 * remote-est.c: Clean up copyrights and comments.
1944 * w89k-rom.c: Use new xmodem support.
1945 * xmodem.c xmodem.h: New files to support xmodem downloads.
1946 * rom68k-rom.c remote-est.c: Fix copyrights, add load_routine
1947 entry to monitor_ops.
1948 * cpu32bug-rom.c: New file to support Moto BCC debuggers.
1949 * config/m68k/est.mt (TDEPFILES): Add cpu32bug.o.
1950 * config/pa/hppapro.mt (TDEPFILES): Add xmodem.o.
1951
51558740
JK
1952Sat Apr 15 18:00:15 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1953
1954 * rem-multi.shar: Removed; superceded by gdbserver.
1955
e2adc41a
JK
1956Fri Apr 14 12:10:24 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1957
1958 * xcoffread.c (xcoff_sym_fns): Revise comment about merging this
1959 with coffread.c.
1960
1961 * breakpoint.c (fixup_breakpoints): Removed.
1962 * rs6000-nat.c (vmap_symtab): Don't call fixup_breakpoints.
1963 (vmap_ldinfo, xcoff_relocate_core): Call breakpoint_re_set.
1964
1965 * coffread.c (coff_symfile_offsets): Allocate SECT_OFF_MAX
1966 sections, not just SECT_OFF_MAX-1.
1967
1968 * rs6000-nat.c (vmap_symtab), xcoffread.c: Re-do section offsets
1969 to be indexed by SECT_OFF_* instead of xcoff section numbers.
1970 * objfiles.c, remote.c: Remove comments regarding SECT_OFF_*.
1971 * symtab.h: Revise comment about block_line_section.
1972 * rs6000-nat.c (vmap_symtab): Don't relocate objfile->sections.
1973
8befb594
SS
1974Sat Apr 15 14:15:14 1995 Stan Shebs <shebs@andros.cygnus.com>
1975
1976 * mpw-make.in (init.c): Don't try to do symbolic {o} in sed
1977 command, not allowed by some version of MPW Make.
1978 * ser-mac.c (mac-setbaudrate): Make it actually set baud rates.
1979
b3636ee5
JK
1980Sat Apr 15 14:05:09 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1981
1982 * alpha-tdep.c (alpha_push_arguments): Fix typo (TYPE_VALUE ->
1983 VALUE_TYPE). Do the cast for TYPE_CODE_BOOL, TYPE_CODE_CHAR,
1984 TYPE_CODE_ENUM, and TYPE_CODE_RANGE as well as TYPE_CODE_INT.
1985
1986Sat Apr 15 14:04:32 1995 Per Bothner <bothner@cygnus.com>
1987
1988 * alpha-tdep.c (alpha_push_arguments): Only cast to long for
1989 TYPE_CODE_INT.
1990
6fd934a6 1991start-sanitize-gdbtk
d7c4766c
SS
1992Sat Apr 15 13:52:24 1995 Stan Shebs <shebs@andros.cygnus.com>
1993
1994 * gdbtk.c (gdb_disassemble): Read from inferior if connected
1995 to a VxWorks target.
1996
6fd934a6
SG
1997Fri Apr 14 10:18:20 1995 Stu Grossman (grossman@cygnus.com)
1998
1999 * README.GDBTK: New file. Contains the obvious.
6fd934a6 2000end-sanitize-gdbtk
d7c4766c 2001
3e437fe6
RS
2002Thu Apr 13 16:17:04 1995 Rob Savoye <rob@darkstar.cygnus.com>
2003
2004 * remote-array.c: New file for Array Tech LSI33k based controller
2005 board.
2006
546e6a39
KH
2007Thu Apr 13 12:23:31 1995 Kung Hsu <kung@rtl.cygnus.com>
2008
2009 * a29k-tdep.c (get_longjmp_target): Replace SWAP_TARGET_AND_HOST with
2010 extract_address.
2011 * remote-vxsparc.c: New file, preliminary check in, this configuration
2012 not supported yet.
2013 * remote-vxmips.c: ditto.
2014
2015Thu Apr 13 12:10:14 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2016
2017 * rs6000-tdep.c (xcoff_add_toc_to_loadinfo): Don't use a prototype
2018 to declare the function.
2019
d108166f
SS
2020Wed Apr 12 16:40:20 1995 Stan Shebs <shebs@andros.cygnus.com>
2021
2022 * monitor.h (init_monitor_ops): Declare.
2023 * rom68k-rom.c: Clarify some comments.
2024 (rom68k_open): Define as static, to match decl.
2025
ade01652
JK
2026Wed Apr 12 16:36:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2027
56b73ad2
JK
2028 * gdb.gdb: New file.
2029 * .gdbinit: Move list-objfiles to gdb.gdb.
2030
ade01652
JK
2031 * values.c (set_internalvar): Set modifiable flag of newval.
2032
f8203ed0
JK
2033Wed Apr 12 14:34:31 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2034
2035 * xcoffread.c: Call complain() rather than error() or printing a
2036 warning.
2037
32513ed1
DE
2038start-sanitize-arc
2039Wed Apr 12 08:15:27 1995 Doug Evans <dje@canuck.cygnus.com>
2040
2041 * arc-tdep.c: #include "gdbcmd.h".
2042 (codestream_seek): Pass CORE_ADDR.
2043 (arc_cpu_type, tmp_arc_cpu_type, arc_cpu_type_table): New globals.
2044 (debug_pipeline_p): Likewise.
2045 (X_...): Instruction field access macros.
2046 (BUILD_INSN): Define.
2047 (codestream_tell): Allow for stream elements > 1 byte.
2048 (codestream_fill): Likewise.
2049 (setup_prologue_scan): New function.
2050 (arc_get_frame_setup): Call it. Update to current spec
2051 regarding prologues. Use BUILD_INSN.
2052 (skip_prologue): New argument `frameless_p'. Use BUILD_INSN.
2053 (arc_frame_saved_pc): New function.
2054 (frame_find_saved_regs): Use BUILD_INSN.
2055 (get_insn_type, single_step): New functions.
2056 (one_stepped): New global.
2057 (arc_set_cpu_type_command, arc_show_cpu_type_command): New functions.
2058 (arc_set_cpu_type): New function.
2059 (_initialize_arc_tdep): Define new `set' commands `cpu',
2060 `displaypipeline', and `debugpipeline'.
2061 * remote-arc.c (break_insn): Add bi-endian support.
2062 (arc_insert_breakpoint): Likewise.
2063 (arc_remove_breakpoint): Likewise.
2064 (switch_command): Delete.
2065 * arc/tm-arc.h (TARGET_BYTE_ORDER): Delete.
2066 (TARGET_BYTE_ORDER_SELECTABLE): Define.
2067 (DEFAULT_ARC_CPU_TYPE): Define.
2068 (SKIP_PROLOGUE_FRAMELESS_P): Define.
2069 (BREAKPOINT): Delete.
2070 (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Define.
2071 (DECR_PC_AFTER_BREAK): Change to 8.
2072 (NO_SINGLE_STEP): Define.
2073 (ARC_PC_TO_REAL_ADDRESS): Define.
2074 (SAVED_PC_AFTER_CALL): Use it.
2075 (NUM_REGS, REGISTER_BYTES): Fix.
2076 (FRAME_SAVED_PC): Call arc_frame_saved_pc.
2077 (FRAME_LOCALS_ADDRESS): Fix.
2078end-sanitize-arc
2079
0c0c911b
JK
2080Tue Apr 11 16:42:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2081
2082 * top.c, utils.c, defs.h: Remove error_hook. It is currently
2083 unused and would need to hook into error_begin()/return_to_top_level(),
2084 instead of error(), if it were to be used.
2085
8989d4fc
JK
2086Tue Apr 11 13:46:25 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2087
2088 * utils.c, defs.h (warning_begin): Renamed from warning_setup, for
2089 consistency with error_begin. Also print warning_pre_print.
2090 Document it better.
2091 * utils.c (warning): Use it.
2092 * utils.c (error_begin): Doc fix.
88a5c3fc
JK
2093 * rs6000-nat.c (vmap_ldinfo): If we don't find ldinfo for the
2094 symfile_objfile, nuke it.
8989d4fc 2095
0b078540
JK
2096Tue Apr 11 09:35:20 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2097
f1cd942d
JK
2098 * printcmd.c (print_address_numeric): Pass use_local to
2099 print_longest, rather than always passing 1.
2100
0b078540
JK
2101 * nlm/Makefile.in: Remove comments discussing munch.
2102
d7c4766c 2103start-sanitize-gdbtk
45f90c50
MM
2104Tue Apr 11 11:07:12 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2105
2106 * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, but
2107 F_SETOWN is, use that.
d7c4766c 2108end-sanitize-gdbtk
45f90c50 2109
cb5aa38b
SS
2110Mon Apr 10 18:31:57 1995 Stan Shebs <shebs@andros.cygnus.com>
2111
2112 Merge in support for Mac MPW as a host.
2113 (Old change descriptions retained for informational value.)
2114
2115 * mpw-config.in (i386-unknown-go32): Change from aout.
2116 (sh-hitachi-hms): New target.
2117 * mpw-make.in (BISON): Use byacc instead of bison.
2118 (VERSION): Bump to 4.14.1.
2119 (*-pinsn.*): Remove mentions everywhere.
2120 (all): Don't build MacGDB.
2121 (gdb, SiowGDB): Depend on Version.r.
2122 (Version.r): Generate from version info.
2123 * main.c (main): Pass program name to START_PROGRESS, END_PROGRESS.
2124 (main) [MPW]: Remove debugging hook.
2125 * mac-xdep.c (debug_openp): New flag.
2126 (mac_init): Set flag if env variable defined.
2127 * ser-mac.c (mac_open): Clarify error message.
2128 (mac_readchar): Call PROGRESS while looping.
2129 (mac_write): Call sleep instead of sec_sleep.
2130 (sec_sleep): Remove.
2131 * source.c (openp) [MPW]: Only print debugging info if debugging.
2132 * utils.c (query) [MPW]: Clarify that behavior is a bug.
2133
2134 * mpw-make.in (init.c): Use open-brace instead of mpw-open-brace.
2135
2136 * main.c, source.c: Remove hacks that replace long strings
2137 with shorter ones, now solved portably.
2138
2139 * config/m68k/xm-mpw.h (spin.h): Include.
2140 (ALMOST_STDC): Only define if MPW_C.
2141 * config/m68k/tm-mac.h: New file, Mac target definitions.
2142
2143 * mpw-config.in (m68k-apple-macos, ppc-apple-macos,
2144 i386-unknown-aout): New targets.
2145 (mk.tmp): Add *DEPFILES definitions.
2146 * mpw-make.in: Remove gC rules, clean up definitions for other
2147 include files, bump version, fix bogus \ that should be \Option-d.
2148 (init.c): Build correctly.
2149
2150 * mpw-make.in (HFILES_NO_SRCDIR): Add somsolib.h
2151 (ALLDEPFILES): Add somsolib.c.
2152 (somsolib.o): Add some dependencies.
2153
2154 * mpw-config.in: Use nm-empty.h if host is not target.
2155 (xdepfiles): Add mac-xdep.c.o.
2156 (xm_file): Remove.
2157 * mpw-make.in: Add Fortran files.
2158 (XDEPFILES): Remove.
2159
2160 * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.
2161 * ser-mac.c (MacSerial.h): Include instead of Serial.h.
2162
2163 * mpw-make.in: Use {s} instead of {srcdir} everywhere.
2164 (bindir, libdir): Remove extra colon.
2165 (source.c): Compile with C instead of gC.
2166 (c-exp.tab.c, ch-exp.tab.c, m2-exp.tab.c): Add {o}.
2167 (install-only): Don't install MacGDB.
2168 * source.c (openp) [MPW]: Add a debugging display.
2169 (open_source_file) [MPW]: Use MPW basename finders.
2170 [MPW_C]: Briefer versions of help for line and list commands.
2171
2172 * mpw-make.in: Change references from paread.c to somread.c
2173
2174 * mpw-make.in (VERSION): Update to 4.12.3.
2175 (SiowGDB): New target, GDB using SIOW library.
2176 (init-new.c): New target, attempt to generate init.c from sources.
2177 (main.c.o, top.c.o): Put each in its own segment.
2178 * main.c (main) [MPW]: Always call mac_init.
2179 * utils.c (query) [MPW]: Always return "yes" if in MacGDB, output
2180 an extra newline otherwise.
2181 * mac-xdep.c: More comments in various places, remove junk.
2182 (mac_init): Add tests for MPW and SIOW.
2183 (use_wne, has_color_qd): Renamed.
2184 (use_color_qd): New variable.
2185 (grow_window): Only do console resizing to console window,
2186 call resize_console_window.
2187 (zoom_window): Call resize_console_window.
2188 (resize_console_window, scroll_text): New functions.
2189 (adjust_console_sizes): Always align viewrect to even multiples of
2190 text lines.
2191 (adjust_console_text): Always scroll by whole lines.
2192 (hacked_vfprintf, hacked_puts, hacked_fputc, hacked_putc): Force a
2193 recalculation of scroll positions if a newline was output.
2194 (hacked_fflush): Similarly, for flushing.
2195 (hacked_fgetc): New function, aborts if called in MacGDB.
2196 * ser-mac.c (mac_readchar): Rename starttime to start_time,
2197 remove debugging printf.
2198 (mac_write): Sleep on first 4 writes.
2199 (sec_sleep): New function, works like standard sleep.
2200 * macgdb.r: Adjust positioning and contents of About box.
2201 Set minimum size to 2000K, preferred size to 5000K.
2202 * config/m68k/xm-mpw.h (fgetc): Define as a macro.
2203
2204 * mpw-make.in (.c.o, .gc.o): Prefix segment names with gdb_.
2205 (top.c.o, annotate.c.o): Add build rules.
2206 * macgdb.r (SysTypes.r): Include.
2207 ('vers'): New resource, version info.
2208 (mFile, mEdit, mDebug): Enable all menu items.
2209 (mDebug): Add key equivalents for continue, step, next.
2210 (wConsole): Add zoom and close boxes to window.
2211 * mac-xdep.c (new_console_window): New function, code taken from
2212 mac_init.
2213 (mac_command_loop): Use GetCaretTime for wait interval, call
2214 do_idle on null events.
2215 (do_idle): New function.
2216 (zoom_window): Implement zooming.
2217 (v_scroll_proc): New function, handles vertical scrolling.
2218 (activate_window): Do activation of console window.
2219 (do_menu_command): Implement items of file, edit, and debug menus.
2220 (do_keyboard_command): Fix command extraction.
2221 (adjust_console_sizes, adjust_console_text): New functions.
2222 (hacked_fprintf, hacked_vfprintf, hacked_fputs, hacked_fputc,
2223 hacked_putc): Don't call draw_console.
2224 * ser-mac.c (mac_open): Add an error message for invalid ports.
2225 (first_mac_write): New global.
2226 (mac_write): Use first_mac_write to sleep on first several writes.
2227
2228 * mpw-make.in (INCLUDE_CFLAGS): Add readline source dir.
2229 (READLINE_CFLAGS, READLINE_SRC, READLINE_DIR): Uncomment.
2230 (TSOBS): Don't compile inflow.c.
2231 (all, install): Add MacGDB.
2232 * main.c (main): Do Mac-specific init and command loop if a
2233 standalone app, skip full option help message if compiling
2234 with MPW C.
2235 (gdb_readline): If MPW, add a newline after the (gdb) prompt.
2236 * utils.c (_initialize_utils): If MPW, don't try to use termcap to
2237 compute the window size.
2238 * config/m68k/xm-mpw.h (printf, fprintf, fputs, fputc, putc,
2239 fflush): Define as macros that expand into hacked_... versions.
2240 (StandAlone, mac_app): Declare.
2241 * macgdb.r (SIZE): Set the default partition to 4000K.
2242 * mac-xdep.c (readline.h, history.h): Include.
2243 (terminal.h): Don't include.
2244 (mac_app): Define.
2245 (gdb_has_a_terminal): Define Mac-specific version.
2246 (do_keyboard_command): Simplify search for command string.
2247 (readline): Define as gdb_readline.
2248 Add other history/readline stubs to make main gdb link.
2249 (hacked_fprintf, hacked_printf, hacked_vfprintf, hacked_fputs,
2250 hacked_fputc, hacked_fflush): New functions, intercept output to
2251 stdout and stderr, send to console window.
2252
2253 * mpw-make.in (MacGDB): New target, standalone Mac-hosted gdb.
2254 (XDEPFILES): Define.
2255 (main.c.o): Compile with gC instead of C.
2256 * mac-defs.h: New file, menu etc definitions shared between
2257 C and Rez files.
2258 * macgdb.r: New file, Rez (resource compiler) resource
2259 definitions.
2260 * mac-xdep.c: New file, Mac host interface code.
2261 * config/m68k/xm-mpw.h (PATHNAME_SEPARATOR): Rename to
2262 DIRNAME_SEPARATOR.
2263 (PATHNAME_SEPARATOR_STRING): Remove.
2264 (SIGQUIT, SIGHUP): Define.
2265 (fileno, R_OK): Define.
2266
2267 * mpw-config.in: New file, MPW configuration fragment.
2268 * mpw-make.in: New file, MPW makefile fragment.
2269 * config/m68k/xm-mpw.h: New file, MPW host definitions.
2270 * ser-mac.c: New file, Mac serial interface.
2271
c08c3640
KH
2272Mon Apr 10 16:47:57 1995 Kung Hsu <kung@mexican.cygnus.com>
2273
73dab896
KH
2274 * valprint.c (print_longest): Fix a syntax error in #ifdef
2275 PRINTF_HAS_LONG_LONG.
2276
2277 * config/mips/xm-irix5.h: turn on CC_HAS_LONG_LONG and
c08c3640
KH
2278 PRINTF_HAS_LONG_LONG.
2279 * config/mips/tm-irix5.h: turn on FORCE_LONG_LONG.
2280
41270571
PS
2281Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2282
2283 * mdebugread.c (parse_symbol): Use new variable
2284 nodebug_var_symbol_type as type of variables which don't have any
2285 ecoff debug info associated with them.
2286 (parse_symbol, parse_procedure): Use heuristics to determine if
2287 functions were compiled without debugging info and change their
2288 type to nodebug_function_symbol_type.
2289 (_initialize_mdebugread): Initialize nodebug_*_symbol_type.
2290
2291 * source.c (line_info): Clear sal.pc for `info line' without
2292 arguments.
2293
7952bce6
SG
2294Fri Apr 7 17:43:01 1995 Stu Grossman (grossman@andros.cygnus.com)
2295
2296 * monitor.c: make_xmodem_packet and print_xmodem_packet go away.
2297 send_xmodem_packet shows up to do the obvious. Lots of fixes to
2298 xmodem downloads including resetting of block number at start of
2299 new transfers, fix for buffer overrun problem, addition of CRC
2300 generation code.
2301 * (monitor_open): loadtype_str and loadproto_str now default to
2302 first entry in monitor_ops->loadtypes.
2303 * (monitor_wait): Lengthen register dump buf, because of verbose
2304 Winbond monitor.
2305 * (monitor_fetch_register): Report unimplemented registers as 0.
2306 * (monitor_read_memory): Only do 16 byte aligned transfers
2307 because of formatting weirdness with the Winbond monitor. Also,
2308 ignore non-hex, non-whitespace formatting between bytes (same
2309 monitor).
2310 * (monitor_load): Clean up logic.
2311 * (monitor_load_srec): Re-do xmodem support. Move lots of it
2312 into send_xmodem_packet.
2313 * (getacknak): Get rid of polls and timeouts. Handle CRC
2314 requests from receiver.
2315 * (monitor_make_srec): Efficiency improvements. Don't call
2316 sprintf to output two digit hex numbers.
2317 * (crcinit, docrc): New, CRC-16 support routines.
2318 * (send_xmodem_packet): New routine to generate either CRC-16 or
2319 checksummed xmodem packets.
2320
2321 * remote-est.c (est_loadtypes), rom68k-rom.c (rom68k_loadtypes):
2322 Reduce tables down to only the load types supported by each
2323 monitor.
2324
2325 * w89k-rom.c (w89k_supply_register): Parses output of Winbond
2326 register dumps.
2327 * (w89k_loadtypes, w89k_loadprotos): Reduce to just srec/xmodem.
2328 * (w89k_cmds): Add clear all breakpoints, memory fill, and dump
2329 registers commands.
2330
0ac704d2
SG
2331 * config/pa/tm-hppa.h: Define lots register offsets needed by
2332 w89k-rom.c.
2333
5d747d61 2334
77a89957
MM
2335Thu Apr 6 17:00:46 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2336
2337 * Makefile.in (X11_INCLUDES): Define as empty.
2338 (X11_CFLAGS): Define as including $(X11_INCLUDES).
2339 (X11_LIB_SWITCHES): Define as empty.
2340 (X11_LIBS): Define as -lX11.
2341
cb5aa38b 2342start-sanitize-gdbtk
77a89957
MM
2343 * configure.in (enable_gdbtk): If gdbtk, support the --x-includes
2344 and --x-libraries switches, setting the X11_INCLUDES and
2345 X11_LIB_SWITCHES respectively. Instead of using a hardcoded -lX11
2346 in ENABLE_CLIBS, use the X11_LIB_SWITCHES and X11_LIBS variables.
2347
2348 * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, don't use
2349 it. This means that the stop button doesn't work, but is better
2350 than nothing.
cb5aa38b 2351end-sanitize-gdbtk
77a89957 2352
8066e434
JK
2353Wed Apr 5 19:57:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2354
2355 * mips-tdep.c (mips_print_register): Remove unused variable
2356 our_type and call to init_type. Fixes memory leak. Reindent function.
2357
2358 * mips-tdep.c (mips_print_register), findvar.c
2359 (write_register_bytes): Make buffer char[] instead of unsigned
2360 char[].
2361
dee80384
JK
2362Mon Apr 3 19:28:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2363
8066e434 2364 * top.c, utils.c, main.c, defs.h: Replace error_pre_print with two
dee80384
JK
2365 variables: error_pre_print (for RETURN_ERROR) and quit_pre_print
2366 (for RETURN_QUIT). Fixes a bug whereby typing ^C (e.g. in "maint
2367 print sym") could output extraneous stuff.
2368 * objfiles.c: Don't declare error_pre_print; defs.h does it.
2369
2370Mon Apr 3 13:48:28 1995 Stu Grossman (grossman@andros.cygnus.com)
2371
2372 * monitor.h: Add MO_GETMEM_NEEDS_RANGE flag.
2373 * monitor.c (monitor_read_memory): Use previously mentioned flag
2374 to send proper format memory examine commands to the w89k monitor.
2375 Also, try to handle bizarre format of memory dump...
2376
2377 * op50-rom.c w89k-rom.c: Update to new monitor.[ch] conventions.
2378
576c3913
PS
2379Sat Apr 1 03:22:20 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2380
2381 * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
2382 Handle relocated symbol address.
2383 * partial-stab.h, case N_SO, SOFUN_ADDRESS_MAYBE_MISSING:
2384 Do not relocate a zero address.
2385
23a1346e
JK
2386Thu Mar 30 19:46:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2387
7c7c4f0a
JK
2388 * config/a29k/tm-a29k.h: Nuke obsolete define CONTROL_END_ADDR; it
2389 is nowhere used.
2390
23a1346e
JK
2391 * stabsread.c (read_range_type): Remove FIXME comment about
2392 type-id (I presume this meant a number followed by = followed by a
2393 type) versus type number; Per fixed it.
2394
1e1dd175
SS
2395Wed Mar 29 09:56:04 1995 Jason Molenda (crash@phydeaux.cygnus.com)
2396
2397 * configure.in: sparc-*-sunos5* is same as sparc-*-solaris2*.
2398
a2f0cf2f
SS
2399Wed Mar 29 18:30:03 1995 Stan Shebs <shebs@andros.cygnus.com>
2400
2401 * remote-e7000.c (why_stop): Add new kinds of strings to expect
2402 from the emulator.
2403 (e7000_wait): Add interpretations for more stop reasons,
2404 including warnings for write protect and cycle address errors.
2405
a706069f
SG
2406Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
2407
2408start-sanitize-gdbtk
2409 * Makefile.in (gdbtk.o): Use X11_CFLAGS to provide alternate
2410 locations (per-host) for X11 include files.
2411 * config/pa/hppahpux.mh (XM_CLIBS): Add -L/usr/lib/X11R5 to force
2412 the use of R5 libs. (X11_CFLAGS): Add this to indicate the locs
2413 of the R5 include files.
2414end-sanitize-gdbtk
2415 * monitor.c monitor.h remote-est.c rom68k-rom.c: Add start of
2416 support for interrupting target.
2417 * monitor.c (monitor_open): Send stop command before doing
2418 anything else.
2419 * (monitor_load_srec): Fix record size calculation to prevent end
2420 of segment from getting trashed.
2421 * rom68k-rom.c: Update to latest version of struct monitor_ops.
2422 * config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Fix byte-order
2423 problems. Makes DOS hosted function calling work.
2424 * sparclite/crt0.s: Define _start to make COFF happy.
a706069f 2425
3e8fdb61
MM
2426Wed Mar 29 09:11:51 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2427
2428 * defs.h (atof): Don't provide an external declaration if atof is
2429 a macro.
2430
e137e850
PS
2431Wed Mar 29 00:01:07 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2432
2433 * rs6000-tdep.c (skip_prologue): Skip saving of LR and CR in
2434 the stack frame, fix typos in `st rx,NUM(r1)' and `stu r1,NUM(r1)'
2435 tests.
2436
e55a5796
PB
2437Tue Mar 28 17:04:04 1995 Per Bothner <bothner@kalessin.cygnus.com>
2438
2439 * gdbtypes.c (create_range_type): If indextype has TYPE_FLAG_STUB
2440 set, set TYPE_FLAG_TARGET_STUB.
2441 (check_stub_type): Recalculate TYPE_LENGTH for range type.
2442 * stabsread.c (read_range_type): If index type number is followed
2443 by '=', back up, call read_type. and assume we have a true range.
2444 * gdbtypes.h (TYPE_FLAG_TARGET_STUB): Update comment.
2445
3f403f6a
PS
2446Mon Mar 27 22:51:54 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2447
2448 * alpha-nat.c, irix4-nat.c, irix5-nat.c, mipsv4-nat.c,
2449 sparc-tdep.c (supply_gregset, supply_fpregset): Fill inaccessible
2450 registers with zero to handle recent read_register_bytes change.
2451 * irix4-nat.c, irix5-nat.c, mipsv4-nat.c (supply_gregset,
2452 fill_gregset): Fix handling of CAUSE_REGNUM.
2453 * mips-nat.c (store_inferior_registers): Handle unwritable
2454 registers when storing a single register.
2455 * config/mips/tm-irix3.h (CAUSE_REGNUM, BADVADDR_REGNUM):
2456 Fix definitions.
2457
2458 * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Clear
2459 allocated mips_extra_func_info, if the debug info is corrupt,
2460 the PDR to fill it in might be missing.
2461
3b94a0b8
KH
2462Mon Mar 27 14:43:00 1995 Kung Hsu <kung@mexican.cygnus.com>
2463
2464 * vx-share/regPacket.h: a new file interfacing with vxworks.
2465
d582898a
JK
2466Sun Mar 26 13:22:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2467
2468 * breakpoint.c (bpstat_do_actions): Once we've executed the
2469 commands, set bs->commands to NULL.
2470
b9e58503
PS
2471Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2472
2473 * buildsym.c (patch_subfile_name): Update last_source_file
2474 with the real source file name.
2475 * dbxread.c (end_psymtab): Handle static functions in the
2476 SOFUN_ADDRESS_MAYBE_MISSING case by passing pst->filename
2477 to lookup_minimal_symbol.
2478 (process_one_symbol): Ignore extra outermost context from
2479 SunPRO cc and acc.
2480 * stabsread.c (define_symbol): Do not complain for SunPRO
2481 static variable encoding if STATIC_TRANSFORM_NAME is defined.
2482 * sparc-tdep.c, config/sparc/tm-sun4sol2.h
2483 (sunpro_static_transform_name): Renamed from
2484 solaris_static_transform_name.
2485 * config/sparc/tm-sun4os4.h (STATIC_TRANSFORM_NAME):
2486 Define to sunpro_static_transform_name for acc 3.0 compiled
2487 executables.
2488 * procfs.c, config/alpha/nm-osf2.h (PROCFS_DONT_TRACE_FAULTS):
2489 Renamed from PROCFS_DONT_TRACE_IFAULT, don't trace any faults
2490 if defined.
2491 * procfs.c (info_proc_siginfo): Cast sip->si_addr to
2492 `unsigned long' and use `lx' format for printing it.
2493
2494Fri Mar 24 15:45:42 1995 Stu Grossman (grossman@cygnus.com)
2495
2496 * configure.in: Move test for m68*-est-* before m68*-*-coff*.
2497 * findvar.c: Move default def of CANNOT_STORE_REGISTER closer to
2498 the beginning of the code.
2499 * (write_register_gen): New routine. Analogous to
2500 read_register_gen.
2501 * (write_register_bytes): Another rewrite! Make it smarter about
2502 not updating regs with the same value.
2503 * monitor.c (printf_monitor readchar): Use stderr instead of
2504 stdout to output debug info. Also cleanup readchar a little.
2505 * (expect): Make sure that excessive responses are null
2506 terminated.
2507 * (monitor_open): Check for magic number in monitor_ops struct.
2508 Allow multiple commands as init strings. Also, clear all
2509 breakpoints.
2510 * (monitor_resume monitor_wait): Send a command to dump all the
2511 regs for those targets which don't do so when waking up after a
2512 continue command.
2513 * (monitor_wait): Handle excessive response output better.
2514 * (monitor_write_memory): Use block fill, word, and long word
2515 commands (if they exist) to write memory more efficiently.
2516 * General cleanups to use flag bits instead of individual flag
2517 words in monitor_ops struct.
2518 * (monitor_command): Return output from command.
2519 * (monitor_load_srec): Allocate buffer only once. Use alloca.
2520 Wait for load response string instead of using a timeout to start
2521 sending S-records. Fix bug where value of srec_frame shrinks. If
2522 hashmark is set, print `-' for retransmissions. General cleanups.
2523 * (monitor_make_srec): Get rid of S-record default type kludge.
2524 * monitor.h: Use seperate struct for memory and register
2525 read/write commands. Memory commands can come in byte, word,
2526 long, and longlong forms.
2527 * (monitor_ops): Change lots of fields. Generalize some stuff.
2528 Put all flags into flags word. Allow init to be a list of commands.
2529 Add command for clearing all breakpoints, block fill, dumping all
2530 registers.
2531 * remote-est.c: Rewrite to use new monitor conventions.
2532 * config/m68k/est.mt (TDEPFILES): Add monitor.o.
2533 * config/m68k/tm-est.h: Set NUM_REGS to 18.
2534 * testsuite/gdb.base/break.exp: Lots of cleanups. Use gdb_test
2535 more thoroughly.
2536
9bfed1ee
JL
2537Thu Mar 23 23:20:00 1995 Jeff Law (law@snake.cs.utah.edu)
2538
2539 * somsolib.c (som_solib_add): Handle case where a shared library
2540 referenced by a core file has sections without the SEC_ALLOC bit
2541 set (eg stabs sections).
2542
1c04536e
JK
2543Thu Mar 23 15:07:08 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2544
2545 * breakpoint.c (bpstat_do_actions): For each element in the bpstat
2546 chain, do all the commands regardless of whether they run the
2547 inferior.
2548
aa949c08
DE
2549Wed Mar 22 19:17:06 1995 Doug Evans <dje@cygnus.com>
2550
2551 * mem-break.c (LITTLE_BREAKPOINT, BIG_BREAKPOINT): Define as
2552 BREAKPOINT if mono-endian.
2553 (break_insn): Deleted.
2554 (big_break_insn, little_break_insn): Define.
2555 (memory_insert_breakpoint): Handle bi-endian cpus.
2556 (BREAKPOINT_LEN): Define.
2557 (memory_remove_breakpoint): Use it.
2558 (memory_breakpoint_size): Likewise.
2559
9cc2cd4f
KH
2560Tue Mar 21 17:03:17 1995 Kung Hsu <kung@mexican.cygnus.com>
2561
2562 * sparc-stub.c: add nop after 'bg good_wim'.
2563 * sparcl-stub.c: ditto.
2564
1968ed13
JK
2565Tue Mar 21 13:34:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2566
2567 * infrun.c (handle_command): Don't print TARGET_SIGNAL_0,
2568 TARGET_SIGNAL_UNKNOWN, or TARGET_SIGNAL_DEFAULT.
2569
e6059f4a
JL
2570Mon Mar 20 10:09:59 1995 Jeff Law (law@snake.cs.utah.edu)
2571
2572 * hppab-nat.c (store_inferior_registers): Sync with HPUX version.
2573
a15f6b0a
SG
2574Mon Mar 20 07:34:48 1995 Stu Grossman (grossman@cygnus.com)
2575
2576 * hppah-nat.c (store_inferior_registers): Move check for
2577 CANNOT_STORE_REGISTER to a better place. Fixes ptrace I/O errors
2578 found by test suite during function calls, which attempts to write
2579 unwritable registers.
2580
5c26250b
PS
2581Sat Mar 18 02:02:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2582
2583 * mdebugread.c (parse_symbol): If finishing a function without
2584 known parameter type info, set that from parameter symbols.
2585 Remove commented-out add_param_to_type support.
2586
2587Thu Mar 16 16:38:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2588
2589 * xcoffread.c (process_linenos): Make sure filename we pass to
2590 start_subfile will cause deduce_language_from_filename to return
2591 the correct thing. Reindent function to GNU standards.
2592
334655aa
C
2593Thu Mar 16 15:54:00 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2594
2595 * nlm/gdbserve.c (handle_exception): #if out call to StopBell,
2596 as it is not available on NetWare 3 or PIN.
2597 * nlm/ppc.c (StopBell): Removed.
2598
8367c66b
JK
2599Thu Mar 16 12:14:41 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2600
d1f14b46
JK
2601 * xcoffread.c (read_xcoff_symtab): When creating a dummy parameter
2602 inferred from the traceback tags, give its type the name
2603 "<non-float parameter>".
2604
8367c66b
JK
2605 * stabsread.c (rs6000_builtin_type): Recognize types -31 to -34.
2606
2081365f
SG
2607Wed Mar 15 15:09:29 1995 Stu Grossman (grossman@cygnus.com)
2608
2609 * findvar.c (read_register_bytes write_register_bytes): Make
2610 these routines much smarter about updating registers from the
2611 target, only doing so when absolutely necessary. This really
2612 speeds up register modification on some remote targets.
2613
2614 * monitor.c: More cleanups. Get rid of monitor_load_ascii_srec.
2615 BFD makes this unnecessary. Lots of debugging speedups.
2616 * (expect): NULL terminate return string.
2617 * (monitor_open monitor_supply_register parse_register_dump
2618 monitor_wait monitor_fetch_register): Switch to using GNU regexp
2619 library to parse multi-register displays.
2620 * (monitor_read_memory): Read multiple bytes (up to 16) at once.
2621 * (monitor_create_inferior): Call clear_proceed_status to make run
2622 command notice first breakpoint.
2623 * (monitor_load): Clean up. Reset inferior_pid, set pc to start
2624 address and reset symbol table stuff to make loads put things into
2625 a fresh state.
2626 * (monitor_load_srec): Lower sleep time to 1 second.
2627
2628 * monitor.h (struct monitor_ops): Add register_pattern and
2629 supply_register to monitor_ops.
2630
2631 * rom68k-rom.c: Add new support for handling register dumps.
efe4e52d
SG
2632 * config/m68k/tm-m68k.h: Define D0_REGNUM and A0_REGNUM for register
2633 dump handling.
2081365f 2634
a7f6f40b
JK
2635Wed Mar 15 15:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2636
2637 * utils.c, defs.h (putchar_unfiltered, fputc_unfiltered): Make
2638 argument be an int, not a char. Using a prototype followed by an
2639 old-style function definition in a case where an argument is
2640 widened is a GCC-ism not supported by the native AIX compiler.
2641
b1dda26e
C
2642Wed Mar 15 12:22:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2643
68c1bc9c
C
2644 * nlmstub.def: Removed, this was moved to nlm/gdbserve.def
2645 long ago.
2646
a64bbacf 2647 * configure.in (alpha-*-netware*): Removed configuration.
68c1bc9c
C
2648 * config/alpha/{alpha-nw.mt, gdbserve.mt, tm-alphanw.h}: Removed.
2649 * nlm/{README-ALPHA-NETWARE, aio.h, alpha-io.S, alpha-regdef.h,
2650 alpha.c, alpha.h, altdebug.h}: Removed.
2651
b1dda26e
C
2652 * nlm/gdbserve.c (main): Add support for processing BOARD=
2653 argument, deprecate NODE=.
2654
961b8ebd
JK
2655Wed Mar 15 10:58:26 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2656
2657 * c-exp.y (yylex): Make an empty character constant an error.
2658
912cb3fd
PB
2659Tue Mar 14 15:00:54 1995 Per Bothner <bothner@kalessin.cygnus.com>
2660
2661 * valops.c (value_arg_coerce): Do possible value_coerce_array
2662 before determining type argument to value_cast.
2663
1990231d
KH
2664Tue Mar 14 10:41:41 1995 Kung Hsu <kung@mexican.cygnus.com>
2665
2666 * remote-es.c: Replace ignore with 0.
2667
a3012272
JK
2668Tue Mar 14 05:52:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2669
2e12bf4f
JK
2670 * valops.c (value_repeat), eval.c (evaluate_subexp_standard):
2671 If VALUE_REPEATED is already set, just error out.
2672
36633dcc
JK
2673 * valops.c (value_cast, value_slice), parse.c (follow_types): Add
2674 FIXME-type-allocation comments.
2675
a3012272
JK
2676 * gdbtypes.h (struct type): Fix comment about what units the
2677 TYPE_LENGTH is in.
2678
477b2425
SS
2679Mon Mar 13 18:27:25 1995 Stan Shebs <shebs@andros.cygnus.com>
2680
2681 * ch-valprint.c (annotate.h): Include.
2682 * eval.c (evaluate_subexp_standard): Remove unused variable.
2683 (calc_f77_array_dims): Add parens to expression.
2684 * f-exp.y (yylex): Add parens to expression, remove unused label.
2685 * f-lang.h (calc_f77_array_dims): Declare.
2686 * f-valprint.c (f_val_print): Remove unused variables.
2687
4f69fe46
JK
2688Mon Mar 13 15:25:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2689
2690 * alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
2691 use the PDR, just examine prologues instead.
2692
477b2425 2693start-sanitize-arc
c230fbb6
KH
2694Fri Mar 10 16:13:18 1995 Kung Hsu <kung@mexican.cygnus.com>
2695
c230fbb6
KH
2696 * config/tm-arc.h: Change arc register names.
2697end-sanitize-arc
2698
a1a0d974
PS
2699Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2700
2701 Fix problems with infinite recursion when printing a class
2702 that contains a static instance of the class.
2703 * cp-valprint.c (dont_print_vb_obstack): Renamed from
2704 dont_print_obstack, made static.
2705 (dont_print_statmem_obstack): New obstack, controls printing
2706 of static member classes.
2707 (_initialize_cp_valprint): Initialize it.
2708 (cp_print_static_field): New function, handles printing of
2709 static members.
2710 (cp_print_value_fields): New parameter dont_print_statmem to
2711 handle recursive printing of static member classes, use
2712 cp_print_static_field to handle printing of static members.
2713 * c-valprint.c (cp_print_value_fields): Update prototype and
2714 call to include additional dont_print_statmem parameter.
2715 * c-valprint.c, f-valprint.c (dont_print_obstack): Remove unused
2716 extern declaration.
2717
2718 * alpha-tdep.c, findvar.c, infptrace.c: Include <string.h>.
2719
2720 * config/alpha/tm-alpha.h (FRAME_FIND_SAVED_REGS): Call
2721 alpha_find_saved_regs if fi->saved_regs is still NULL.
2722
2723 * elfread.c (elf_symtab_read): Ensure that the filename field
2724 of a minsym is nonempty. Ignore solib trampoline symbols from
2725 the main symbol table, they might have a bogus value.
2726
2727 * procfs.c (set_proc_siginfo), config/alpha/alpha-osf2.mh:
2728 Fix typos in comments.
2729
45d6f623
JK
2730Thu Mar 9 17:19:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2731
2732 * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Initialize
2733 pdr.framereg field of MIPS_EFI_SYMBOL_NAME symbol to -1. That way
2734 we know whether the PDR ever got set.
2735 * mips-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
2736 use the PDR, just examine prologues instead.
2737
2738Wed Mar 8 23:35:10 1995 Jeff Law (law@snake.cs.utah.edu)
2739
2740 * somsolib.c (som_solib_section_offsets): Get offset of text
2741 section right.
2742
34c40fd7
SG
2743Wed Mar 8 16:12:21 1995 Stu Grossman (grossman@cygnus.com)
2744
8cbf6efc 2745start-sanitize-gdbtk
9468f8aa
SG
2746 * gdbtk.c (gdb_get_breakpoint_info): Return error if breakpoint
2747 type is not bp_breakpoint.
8cbf6efc 2748end-sanitize-gdbtk
9468f8aa 2749
34c40fd7
SG
2750 * source.c (forward_search_command reverse_search_command): Set
2751 convenience variable $_ to be the line # of the match.
2752 * symtab.c (decode_line_1): Allow convenience variables to be
2753 used in line specs (for breakpoints and such).
2754
95618211
SS
2755Wed Mar 8 12:51:00 1995 Stan Shebs <shebs@andros.cygnus.com>
2756
2757 * Makefile.in (VERSION): Bump to 4.14.1.
2758 * NEWS, README: Update for 4.14.
2759 * i386v-nat.c (i386_insert_aligned_watchpoint): Fix declaration.
2760 (i386_insert_nonaligned_watchpoint): Call aligned instead of
2761 generic watchpoint insertion.
2762
830a65b3
PB
2763Tue Mar 7 19:26:10 1995 Per Bothner <bothner@kalessin.cygnus.com>
2764
2765 * valops.c (value_slice): Do COERCE_VARYING_ARRAY.
2766
236274b9
SG
2767Tue Mar 7 00:23:47 1995 Stu Grossman (grossman@cygnus.com)
2768
95618211 2769 * monitor.c, array-rom.c, monitor.h, rom68k-rom.c: Move target_ops
32fa4b59
SG
2770 into monitor.c.
2771 * monitor.c (monitor_create_inferior): Allow run command to start
2772 program.
2773
f17aed8b
SG
2774 * monitor.c (monitor_load): Set PC to start address when done
2775 loading.
2776
95618211 2777 * array-rom.c, monitor.h, rom68k-rom.c: Clean up target_ops.
f17aed8b
SG
2778 Remove ref to monitor_create_inferior.
2779
8f078234
SG
2780 * monitor.c: More general cleanups. Add prototypes, remove
2781 unused routines. Fix bug with wrong number of args to error().
2782
cc60ad63
SG
2783 * main.c (main): Don't start up GUI when running under gdb mode
2784 in emacs.
2785
1265e2d8
SG
2786 * Makefile.in: Add rules for monitor.o and rom68k-rom.o to make
2787 Sun make (with VPATH) work...
2788
95618211 2789 * monitor.c, monitor.h, rom68k-rom.c: Serious cleanup to make IDP
1265e2d8 2790 (rom68k) target work right.
95618211 2791 * array-rom.c, op50-rom.c, w89k-rom.c: Partial updates to new
1265e2d8
SG
2792 monitor.c interface. More work needs to be done here.
2793 * config/m68k/tm-monitor.h: Change DECR_PC_AFTER_BREAK to 0 to
2794 match the IDP monitor. Also, set NUM_REGS to 18 cuz there's no
2795 floating-point for this card.
2796
95618211 2797 * serial.h, ser-go32.c, ser-go32-para.c, ser-mac.c, ser-tcp.c,
85c8b135
SG
2798 ser-unix.c: Add SERIAL_SETSTOPBITS to set the number of stopbits
2799 (needed for IDP board?!?!?).
2800
95618211
SS
2801 * defs.h, utils.c, remote-hms.c, remote-pa.c, remote.c: Fix defs
2802 and usage of fputc_unfiltered and putchar_unfiltered. Eliminate
7baea946
SG
2803 putc_unfiltered (it's superfluous).
2804
95618211 2805 * command.h, command.c, top.c: Add var_enum command type. It's
09374c98 2806 like var_string but allows only only one of the specified strings.
236274b9 2807
e70bba9f
JK
2808Mon Mar 6 15:03:59 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2809
2810 * valops.c (value_cast): Don't use backslash newline--pre-ANSI
2811 compilers (such as SunOS4 /bin/cc) don't generally support it
2812 except in some contexts.
2813
f7a69ed7
PB
2814Fri Mar 3 17:42:48 1995 Per Bothner <bothner@kalessin.cygnus.com>
2815
2379f65c 2816 * valops.c (value_cast): Check for cast to array type *before*
f7a69ed7
PB
2817 we coerce array to pointer (in case arg2 is already array).
2818
2819 * valops.c (call_function_by_hand): Set using_gcc to 2 if using
2820 gcc2. Needed for REG_STRUCT_HAS_ADDR to work on sparc.
2821 Also check REG_STRUCT_HAS_ADDR for union, array and string types.
2822
2823 * valops.c (call_function_by_hand): Re-arrange code for pushing
2824 paramaters on the stack so we can do better STACK_ALIGN.
2825
2826 * valops.c (call_function_by_hand): Call error if the number
2827 of arguments is fewer than parameter types in function type.
2828
732ff6af
DE
2829Fri Mar 3 17:13:05 1995 Doug Evans <dje@canuck.cygnus.com>
2830
2831 * sparc-tdep.c (sparc_extract_struct_value_address): Move
2832 sparc64 support to here.
2833 (sparc64_extract_struct_value_address): Deleted.
2834 (dump_ccreg): Add a prototype so long long arg -> int.
2835 * sparc/tm-sp64.h (USE_STRUCT_CONVENTION): Define.
2836 (EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
2837
13ffa6be
JL
2838Fri Mar 3 15:12:12 1995 Jeff Law (law@snake.cs.utah.edu)
2839
3a0fbb3b
JL
2840 * hpread.c (hpread_record_lines): New argument "offset". All
2841 callers changed. Use it to handle dynamic address relocation.
2842 (hpread_build_psymtabs): Adjust texthigh as we read each function
2843 debug symbol. Fix computation of texthigh.
2844 (hpread_read_subrange_type): Work around macro bugs in HP's
2845 compilers.
2846 (hpread_process_one_debug_symbol): Correctly map source lines.
2847
2097152a
JL
2848 * somread.c (check_strange_names): Filter names emitted by the HP
2849 compiler when generating PIC code.
2850
13ffa6be
JL
2851 * valops.c (value_struct_elt_for_reference): Work around macro
2852 bugs in HP's compilers.
2853 * c-exp.y (block): Likewise.
2854
0d172a2e
JK
2855Fri Mar 3 12:27:28 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2856
5816555b
JK
2857 * rs6000-tdep.c (push_dummy_frame): Fix order of arguments to
2858 store_address.
2859
0d172a2e
JK
2860 * utils.c [_AIX]: Include stddef.h instead of #defining size_t.
2861
629b6214
MM
2862Fri Mar 3 12:33:24 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2863
2864 * rs6000-tdep.c (skip_prologue): Skip multiple stores of the saved
2865 registers that GCC emits on the PowerPC by default in addition to
2866 the store multiple instruction used on the Power series.
2867
8b0f5a9d
DE
2868Fri Mar 3 00:54:58 1995 Doug Evans <dje@canuck.cygnus.com>
2869
2870 * sparc-tdep.c (decode_asi): New function.
2871 (sparc_print_register_hook): Pretty print more v9 registers.
2872 * sparc/tm-sp64.h (REGISTER_NAMES): Fix some typos.
2873
306d27ca
DE
2874Thu Mar 2 22:20:22 1995 Doug Evans <dje@canuck.cygnus.com>
2875
2876 * dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc.
2877 (target_to_host): Change result type to CORE_ADDR.
2878
2879Thu Mar 2 15:13:04 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2880
2881 * rs6000-tdep.c: Fix byte-swapping sins.
2882
dc59e982
MM
2883Thu Mar 2 16:48:45 1995 Michael Meissner <meissner@cygnus.com>
2884
2885 * rs6000-tdep.c (branch_dest): Minor code cleanup, don't share
2886 code between branch unconditional and branch conditional cases.
2887
762cf56f
DE
2888Wed Mar 1 09:41:26 1995 Doug Evans <dje@canuck.cygnus.com>
2889
2890 Various changes for sparc64.
2891 * sparc-tdep.c (NUM_SPARC_FPREGS): Define.
2892 (SPARC_INTREG_SIZE): Define.
2893 (*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
2894 where appropriate.
2895 (enum branch_type): New value `done_retry'.
2896 (isbranch): Renamed from isannulled. All callers changed.
2897 Support new sparc64 branch insns.
2898 (single_step): Handle done_retry.
2899 (sparc_extract_struct_value_address): Don't assume 4 byte regs.
2900 (get_saved_register): Likewise.
2901 (sparc_push_dummy_frame): Likewise.
2902 (sparc_frame_find_saved_regs): Likewise.
2903 (sparc_pop_frame): Likewise. Don't refer to FPS_REGNUM, CPS_REGNUM,
2904 or PS_REGNUM if not sparc64. sparc64 has 64 fp regs.
2905 (sparc64_extract_struct_value_address): New function.
2906 (dump_ccreg, sparc_print_register_hook): Likewise.
2907 * sp64-tdep.c: Deleted.
2908 * sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
2909 (NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
2910 (CC_HAS_LONG_LONG): Define.
2911 (REGISTER_NAMES): Delete cle/tle and reorganize.
2912 (PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
2913 sparc-tdep.c now.
2914 (REGISTER_BYTES): Update.
2915 (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
2916 (EXTRACT_RETURN_VALUE): Delete. Use definition in tm-sparc.h.
2917 (NO_SINGLE_STEP): Likewise.
2918 * sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
2919 * sparc/sp64.mt: Move simulator support ...
2920 * sparc/sp64sim.mt: ... to here.
2921
7e869571
KH
2922Wed Mar 1 13:14:42 1995 Kung Hsu <kung@mexican.cygnus.com>
2923
2924 * remote-vx960.c: new file for target specific register packaging.
2925 * remote-vx68.c: ditto.
2926 * config/i960/vxworks960.mt: add remote-vx960.o.
2927 * config/m68k/vxworks68.mt: add remote-vx68.o.
2928
8bfd30b2
MM
2929Wed Mar 1 13:42:49 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2930
2931 * remote.c (remote_wait): Make calls to strtol be type correct by
2932 passing the address of a char * pointer instead of an unsigned
2933 char *.
2934
2935 * rs6000-tdep.c (push_dummy_frame): Cast sp to char * when calling
2936 write_memory to make things type correct.
2937
ea082c0a
MM
2938Wed Mar 1 12:17:31 1995 Michael Meissner <meissner@cygnus.com>
2939
2940 * ch-exp.y, c-exp.y, f-exp.y, m2-exp.y (yy defines): Support the
2941 standard Linux yacc by adding more names to be redefined with a
2942 prefix.
2943
bc28e68d
JK
2944Tue Feb 28 22:55:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2945
2946 * hppa-tdep.c (pa_print_registers), monitor.c: Use
2947 extract_unsigned_integer and friends, not SWAP_TARGET_AND_HOST.
2948 * defs.h, findvar.c: Move SWAP_TARGET_AND_HOST back to findvar.c.
2949 Rename it to SWAP_FLOATING to make it clear it is no longer for
2950 integers.
2951
326ae3e2
KH
2952Tue Feb 28 14:38:39 1995 Kung Hsu <kung@mexican.cygnus.com>
2953
66aa7cf9
KH
2954 * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
2955 compile time.
2956
8cbf6efc 2957start-sanitize-arc
abed6bc2
KH
2958 * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
2959 processor.
2960 * remote-arc.c (arc_wait): when a processor stops, stop other two
2961 processors too.
2962 * remote-arc.c (switch_command): switch tm_print_insn.
8cbf6efc 2963end-sanitize-arc
abed6bc2 2964
bc01beb5
KH
2965 * vx-share/ptrace.h: merge in WRS new ptrace requests.
2966
75988f94
KH
2967 * defs.h: fix a syntax error.
2968
161520dc
KH
2969 * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
2970 * remote-vx.c: move read_register and write_register out to
2971 target specific files.
2972 * remote-vx29k.c (get_fp_contnets): add this function, from WRS.
2973
326ae3e2
KH
2974 * defs.h: define SWAP_TARGET_AND_HOST macro.
2975 * findvar.c, monitor.c, hppa-tdep.c: remove definition of
2976 SWAP_TARGET_AND_HOST.
2977
de7ad6d8
JK
2978Tue Feb 28 08:31:40 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2979
689409ca
JK
2980 * alpha-tdep.c (find_proc_desc): Only attempt to set
2981 PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.
de7ad6d8 2982
431b7d5f
SS
2983Mon Feb 27 11:56:32 1995 Stan Shebs <shebs@andros.cygnus.com>
2984
2985 * monitor.c: General gcc -Wall lint cleanup and reformat.
2986 (monitor_command): If no args, send an empty command.
2987
82fc3432
SG
2988Thu Feb 23 21:07:25 1995 Stu Grossman (grossman@cygnus.com)
2989
2990 * monitor.c (monitor_load_ascii_srec): Add a one second sleep
2991 after send LOAD_CMD to prevent loss of first S-record.
2992
835c2559
PB
2993Tue Feb 21 20:48:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
2994
2995 * valops.c (call_function_by_hand): Set using_gcc to 2 if gcc-2.
2996 Call error if too few arguments.
2997 If REG_STRUCT_HAS_ADDR (structs passed by invisible reference),
2998 copy and convert to reference *before* we calculate alignment.
2999 Also, make sure structs allocated for return values and invisible
3000 reference don't violate STACK_ALIGN.
3001
1d19172b
PB
3002Tue Feb 21 23:29:59 1995 Per Bothner <bothner@rtl.cygnus.com>
3003
3004 * ch-exp.y (expression_conversion): Recognize 'ARRAY () TYPE (EXPR)'
3005 (same as C's '(TYPE[])EXPR')
3006
7f4b4b71
SS
3007Tue Feb 21 11:47:26 1995 Stan Shebs <shebs@andros.cygnus.com>
3008
3009 * top.c (print_gdb_version): Update the year.
3010
d940a47e
JK
3011Sun Feb 19 14:31:57 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
3012
7f4b4b71 3013 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Look for newlib in
d940a47e
JK
3014 `..' not in `../..'.
3015
f5de4904
PS
3016Sun Feb 19 11:05:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3017
3018 * procfs.c (unconditionally_kill_inferior): Don't issue a PIOCKILL
3019 in addition to a PIOCSSIG to kill the inferior.
3020
fda36387
PB
3021Thu Feb 16 15:06:12 1995 Per Bothner <bothner@kalessin.cygnus.com>
3022
3023 * parse.c (follow_types): Given (TYPE[]) (i.e. with no length),
3024 create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
3025 * valops.c (value_cast): If a cast like (TYPE[])VALUE (i.e. array
3026 of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
3027 * c-typeprint.c (c_type_print_varspec_suffix): If array length
3028 is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.
3029
92c6bf4d
MM
3030Thu Feb 16 16:06:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3031
3032 * dcache.c (insque, remque): Rewrite Linux support.
3033
677653a0
MM
3034Wed Feb 15 12:33:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3035
3036 * config/powerpc/tm-ppc-eabi.h (TEXT_SEGMENT_BASE): Define as 1.
3037
fed9a8d4
MM
3038 * dcache.c (insque, remque): If compiling in standard C on Linux,
3039 protect insque and remque with macros to cast the pointer
3040 arguments to the proper type.
677653a0
MM
3041
3042Tue Feb 14 17:16:41 1995 Stu Grossman (grossman@cygnus.com)
3043
7f4b4b71 3044 * annotate.c, breakpoint.c, defs.h, top.c: Replace
677653a0 3045 enable/disable_breakpoint_hook with modify_breakpoint_hook.
7f4b4b71
SS
3046start-sanitize-gdbtk
3047 * gdbtk.c: Ditto.
3048 * gdbtk.c: General cleanups, get rid of unused variables. Redo
677653a0
MM
3049 handling of stdout/stderr to just return output as the result of
3050 the tcl command that caused the output. Cleanup -Wall stuff.
3051 * (breakpoint_notify): Now returns just action and breakpoint
3052 number.
3053 * (gdb_get_breakpoint_list): New routine. Does the obvious.
3054 * (gdb_get_breakpoint_info): Mostly derived from the old
3055 breakpoint_notify, but returns lots more info.
3056 * (dsprintf_append_element): Helper routine, works like printf,
3057 but appends a tcl element onto the specified DString. Good for
3058 building up lists as return values.
3059 * (gdbtk_enable/disable_breakpoint): Go away. Replaced with
3060 gdbtk_modify_breakpoint.
3061 * (*many routines*): Use new result protocol.
3062 * (call_wrapper): Make sure that recursive calls don't trash results.
3063 * gdbtk.tcl: New windows, autocmd, and breakpoints.
3064 * (gdbtk_tcl_fputs): Don't use $current_output_win redirection
3065 anymore. It's not needed (in fact, this routine may not be needed
3066 anymore).
3067 * (gdbtk_tcl_breakpoint): Change to reflect new breakpoint
3068 notification protocol.
3069 * (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove
3070 catches.
3071 * (interactive_cmd): Use this wrapper around button invocations
3072 of many commands. This will catch errors and put the results into
3073 the command window. It also updates all the other windows.
3074 * Also, change reliefs of most things to sunken. This actually
3075 looks better.
3076 * (create_file_win): Fix margin binding to allow breakpoints to
3077 work again.
3078 * (create_asm_win): Use return value of gdb_disassemble instead
3079 of implicit I/O to the command window.
3080 * (create_command_window): Use new result protocol to get output
3081 from commands.
7f4b4b71 3082end-sanitize-gdbtk
677653a0 3083
5466f20f
JK
3084Tue Feb 14 16:58:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3085
3086 * expression.h: Move declaration of evaluate_subexp_with_coercion
3087 from here...
3088 * value.h: ...to here.
3089 * expression.h: Don't include value.h
3090
a6865104
JK
3091Tue Feb 14 11:46:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3092
3093 * expression.h: Move include of value.h until after declaration of
3094 enum exp_opcode.
3095
faf4dcd7
SS
3096Sun Feb 12 13:47:30 1995 Stan Shebs <shebs@andros.cygnus.com>
3097
d5c8cefe
SS
3098 * remote-e7000.c: Comprehensive cleanup; removal of dead code,
3099 simplify code, declare things, format to standards.
3100 (inferior.h, value.h, command.h, remote-utils.h): Include.
3101 (e7000_login): Rename to e7000_login_command.
3102 (e7000_ftp): Rename to e7000_ftp_command.
3103 (e7000_drain): Rename to e7000_drain_command.
3104
faf4dcd7
SS
3105 * irix5-nat.c (string.h): Include near beginning of file.
3106
18d3d859
JK
3107Sun Feb 12 12:36:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3108
3109 * valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
3110 arg, it is a value not a symbol.
3111
3112 gcc -Wall lint:
3113 * eval.c: Move declaration of evaluate_subexp_with_coercion from here..
3114 * expression.h: ..to here.
3115 * expression.h: Include value.h.
3116 * ch-lang.c (evaluate_subexp_chill): Add default case in switch.
3117
60438e8e
PB
3118Sun Feb 12 11:03:47 1995 Per Bothner <bothner@kalessin.cygnus.com>
3119
7398958c
PB
3120 * language.h (struct language_defn): New field evaluate_exp.
3121 * c-lang.c (c_language_defn, cplus_language_defn, asm_langauge_defn),
3122 f-lang.c (f_language_defn), language.c (unknown_language_defn,
3123 auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn):
3124 Set evaluate_exp to evaluate_subexp_standard.
3125 * ch-lang.c (evaluate_subexp_chill): New function. Chill-specific
3126 support for MULTI_SUBSCRIPT.
3127 (chill_language_defn): Set evaluate_exp to evaluate_subexp_chill.
3128 * eval.c (enum noside): Move from here ....
3129 * expression.h (enum noside): ... to here.
3130 (evaluate_subexp_standard): New prototype.
3131 * eval.c (evaluate_subexp): Renamed to evaluate_subexp_standard.
3132 Removed lo-longer-needed test for chill_varying_type.
3133 (evaluate_subexp): New. Calls exp->language_defn->evaluate_exp.
3134
60438e8e
PB
3135 * ch-exp.y (maybe_expression_list): New non-terminal.
3136 (primitive_value): Allow empty parameter list.
3137
27202b6a
PB
3138Sun Feb 12 10:02:16 1995 Per Bothner <bothner@cygnus.com>
3139
3140 * buildsym.c (finish_block): If finishing a function without known
3141 parameter type info, set that from parameter symbols.
3142 * c-typeprint.c (c_type_print_varspec_suffix): For TYPE_CODE_FUNC,
3143 print parameter types, if available.
3144 * ch-typeprint.c (chill_type_print_base): Likewise.
3145
3146 * gdbtypes.h (struct type): Remove function type field.
3147 (TYPE_FUNCTION_TYPE): Remove macro. We can't as simply re-use
3148 function types now that we're also storing parameter types.
3149 And the payoff is much less.
3150 * gdbtypes.c (make_function_type): Don't use/set TYPE_FUNCTION_TYPE.
3151 (recursive_dump_type): Don't print TYPE_FUNCTION_TYPE.
3152 * dwarfread.c (read_subroutine_type): Don't set TYPE_FUNCTION_TYPE.
3153
5222ca60
PB
3154 * valops.c (value_arg_coerce): Now takes param_type argument.
3155 (call_function_by_hand): Convert arguments with value_arg_coerce
3156 early, and overwrite original args with converted args.
3157 No longer need multiple calls to value_arg_coerce.
3158 (value_arg_push): Removed.
3159 * hppa-tdep.c (hppa_push_arguments): No longer call value_arg_coerce.
3160 * mips-tdep.c (mips_push_arguments): Likewise.
3161 * alpha-tdep.c (alpha_push_arguments): Likewise.
3162 * rs6000-tdep.c (push_arguments, ran_out_of_registers_for_arguments):
3163 Likewise.
3164 * value.h (value_arg_coerce): Remove declaration. (It's now static.)
3165
3166 * valops.c (value_cast): Do COERCE_VARYING_ARRAY after COERCE_REF.
3167
7c606261
PB
3168 * symtab.c (add_param_to_type): Remove (commented-out) function,
3169 since that functionality has been re-written.
3170 * coffread.c: Remove commented-out add_param_to_type support.
3171 * mdebugread.c (parse_symbol): Likewise.
3172 * stabsread.c (define_symbol): Likewise.
3173
21af55c9
JK
3174Sun Feb 12 09:03:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3175
3176 * buildsym.c (start_subfile): Set language for f2c like for cfront.
3177
3178Thu Feb 9 20:20:11 1995 Rob Savoye <rob@darkstar.cygnus.com>
3179
3180 * op50n-rom.c: Add the control registers.
3181
76a457c0
SS
3182Thu Feb 9 15:46:39 1995 Stan Shebs <shebs@andros.cygnus.com>
3183
3184 * Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to
3185 after, any host/target/native libraries.
3186 * dcache.c (insque, remque): Remove declarations.
3187 * gdbtypes.h (type_code): Remove trailing comma.
3188
3189 From Peter Schauer:
3190 * xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef
3191 STATIC_NODEBUG_VARS inside case.
3192
137a07e6
JK
3193Thu Feb 9 07:43:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
3194
3195 * config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.
3196 * partial-stab.h: Call it.
3197 * stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call
3198 STATIC_TRANSFORM_NAME to get the name and use minimal symbols to
3199 get the address.
3200 * sparc-tdep.c (solaris_static_transform_name): New function.
3201
506af7a7
JL
3202Thu Feb 9 12:09:09 1995 Jeff Law (law@snake.cs.utah.edu)
3203
3204 * somread.c (som_symtab_read): Handle dynamic relocation for both
3205 text and data symbols.
3206 (som_symfile_offsets): If objfile is a shared library, then get
3207 text and data offsets from the shared library structures.
3208 * somsolib.c (som_solib_add): Copy the bfd pointer from the
3209 objfile rather than reopening the file again.
3210 (som_solib_section_offsets): New function.
3211 * somsolib.h (som_solib_section_offsets): Declare.
3212
2d336b1b
JK
3213Wed Feb 8 20:32:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
3214
3215 * config/sparc/tm-sun4sol2.h, dbxread.c: Rename
3216 N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING.
3217 * symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add
3218 filename field.
3219 * elfread.c (record_minimal_symbol_and_info),
3220 minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return
3221 newly created symbol.
3222 * elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]:
3223 Set filename field of minimal symbol.
3224 * symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]:
3225 Print filename field.
3226 * minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile.
3227 * symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y,
3228 m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c,
3229 os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c,
3230 printcmd.c, dbxread.c: Change callers to pass NULL for sfile.
3231 * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
3232 Find address of function from minimal symbols.
3233 * partial-stab.h, case 'f', 'F': Call find_stab_function_addr
3234 instead of getting pst->textlow from the stab.
3235 * minsyms.c (find_stab_function_addr): New function.
3236
151e7820
RS
3237Wed Feb 8 19:19:56 1995 Rob Savoye <rob@darkstar.cygnus.com>
3238
3239 * monitor.c: Fix so all the output shows up in the GUI command
3240 window.
3241
9c4ecee6
SS
3242Mon Feb 6 18:50:59 1995 Stan Shebs <shebs@andros.cygnus.com>
3243
3244 * i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
3245 line, so init.c generation works correctly.
3246start-sanitize-arc
3247 * arc-tdep.c (_initialize_arc_tdep): Ditto.
3248end-sanitize-arc
3249
16b3ea5e
RS
3250Mon Feb 6 14:44:36 1995 Rob Savoye <rob@darkstar.cygnus.com>
3251
04697040
RS
3252 * config/mips/idt.mt: Add support for the lsi33k target.
3253 * config/sparc/sun4sol2.mh: Add support for ser-tcp.
16b3ea5e
RS
3254 * array-rom.c: Finish the rest of the support commands needed by
3255 GDB.
3256 * mips-tdep.c: Add LSI33k register names and processor type.
3257
d039851f 3258start-sanitize-gdbtk
ddc0c38d 3259Sun Feb 5 20:32:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9c4ecee6 3260
d039851f
JK
3261 * gdbtk.c (gdb_disassemble): Deference pointer to function before
3262 calling it (pre-ANSI compilers generally require this).
ddc0c38d 3263
f64a8968 3264end-sanitize-gdbtk
ddc0c38d
SS
3265Sat Feb 4 13:29:52 1995 Stan Shebs <shebs@andros.cygnus.com>
3266
3267 * config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.
3268
6396e0c0
KH
3269Fri Feb 3 16:47:31 1995 Kung Hsu <kung@mexican.cygnus.com>
3270
3271 * ser-go32-para.c (dos_read): fix syntax errors.
3272
a76ef70a
SG
3273Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com)
3274
ddc0c38d
SS
3275 * core.c (dis_asm_read_memory), defs.h, top.c: Get rid of
3276 dis_asm_read_memory_hook. We can now call the disassemblers
3277 directly and have no need for this hook anymore.
3278start-sanitize-gdbtk
3279 * gdbtk.c (gdb_disassemble): Ditto.
3280end-sanitize-gdbtk
3281 * defs.h, printcmd.c: Make print_insn be static.
a76ef70a
SG
3282
3283 * ser-go32.c (dos_comisr): Make this 8 bit clean.
3284 * (dos_open dos_close): Allow multiple opens to the same device.
3285 Use a ref count to prevent unwanted deallocations.
3286 * sparcl-tdep.c: Put #ifdefs around all socket stuff to make GO32
3287 happy.
3288 * (sparclite_ops): Switch to download_stratum.
3289 * target.h (enum strata): Move download_stratum before
3290 process_stratum so that executable targets get pushed on top of
3291 download targets.
3292
1b552670
RS
3293Thu Feb 2 19:02:45 1995 Rob Savoye <rob@darkstar.cygnus.com>
3294
3295 * array-rom.c: Remove the non GDB remote protocol config stuff.
3296
3297 * monitor.c: All reading/writing functions for memory and
3298 registers work.
3299
75a5da5f
KH
3300Thu Feb 2 16:11:04 1995 Kung Hsu <kung@mexican.cygnus.com>
3301
ddc0c38d 3302start-sanitize-arc
75a5da5f
KH
3303 * config/arc/arc.mt: new target makefile for arc processor.
3304 * config/arc/tm-arc.h: new target header for arc processor.
3305 * config/arc/go32.mh: new go32 host makefile for arc processor.
3306 * config/arc/xm-go32.h: new go32 host header for arc processor.
3307 * arc-tdep.c: new target dependent codes for arc processor.
3308 * remote-arc.c: new file for arc-specific protocol through
3309 parallel line.
ddc0c38d 3310end-sanitize-arc
75a5da5f 3311 * ser-go32-para.c: new file for go32 parallel port communication.
75a5da5f 3312
2d144441
SS
3313Thu Feb 2 13:58:40 1995 Stan Shebs <shebs@andros.cygnus.com>
3314
3315 * Makefile.in (VERSION): Bump to 4.13.2.
3316
3317Thu Feb 2 07:27:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3318
3319 Fix compiler warnings:
3320 * remote-e7000.c (printf_e7000debug): Rename to puts_e7000debug
3321 and have the caller do the sprintf. Saves us from varargs hell.
3322 (normal): Define before use.
3323 * remote-e7000.c: Reindent a few things.
3324
8a329002 3325Wed Feb 1 21:16:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
6073b8de 3326
8a329002
PB
3327 * f-typeprint.c (f_type_print_varspec_suffix): Print array index
3328 ranges in reverse order.
3329 * f-valprint.c (f77_create_arrayprint_offset_tbl): Fix calculation.
3330
3331 * eval.c (evaluate_subscript): Don't call value_subscript, since
3332 it adjusts for lower bound and enforces ranges.
3333
3334 * expression.h (exp_code): Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR.
3335 * eval.c, parse.c: Removed uses of removed opcodes.
ead95f8a
PB
3336 * eval.c (evaluate_subexp): Clean up handling of
3337 OP_UNDETERMINED_ARGLIST (no backtracking, more general).
3338
3339 * f-valprint.c (f_val_print): Print TYPE_CODE_STRING using
3340 LA_PRINT_STRING, and not val_print_string (which reads from inferior).
3341
3342 * ch-lang.c (chill_is_varying_struct), ch-lang.h: Remve function
3343 duplicate function made redundant by chill_varying_type.
3344
3345 Re-write of f77 string and complex number support:
3346
3347 * language.h (struct language_defn): New fields string_lower_bound
3348 and string_char_type.
3349 * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn),
3350 language.c (unknown_language_defn, auto_language_defn,
3351 local_language_defn), m2-lang.c (m2_language_defn), f-lang.c
3352 (f_language_defn), ch-lang.c (chill_language_defn): Set new fields.
3353 * gdbtypes.c (create_string_type): Use new string_char_type field.
3354 * valops.c (value_string): Use new string_lower_bound field.
3355
3356 * defs.h (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): Removed.
3357 * f-lang.c (f_create_fundamental_type, _initialize_f_language),
3358 m2-lang.c (m2_create_fundamental_type),
3359 gdbtypes.c (_initialize_gdbtypes): Set TYPE_TARGET_TYPE of complex
3360 types. Set their TYPE_CODEs to TYPE_CODE_COMPLEX.
3361 * mdebugread.c (mdebug_type_complex, mdebug_type_double_complex):
3362 Removed. Use builtin_type_complex and builtin_type_double_complex.
3363
3364 * gdbtypes.h (enum type_code): Removed TYPE_CODE_LITERAL_STRING
3365 and TYPE_CODE_LITERAL_COMPLEX.
3366 * c-typeprint.c, f-typeprint.c, f-valprint.c, eval.c: Removed uses of
3367 TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX.
3368 * gdbtypes.c, gdbtypes.h (f77_create_literal_complex_type,
3369 f77_create_literal_string_type): Removed.
3370 * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_MEMADDR,
3371 VALUE_SUBSTRING_MYADDR): Removed.
3372
3373 * expression.h (enum exp_opcode): Rename OP_F77_LITERAL_COMPLEX to
3374 OP_COMPLEX.
3375 * parse.c: Update accordingly.
3376
3377 * f-valprint.c (f77_print_cmplx): Removed.
3378 (f_val_print case TYPE_CODE_COMPLEX): Re-write to use print_floating.
3379
3380 * f-exp.y (STRING_LITERAL): Use OP_STRING instead of OP_ARRAY.
3381 * eval.c (evaluate_subexp): For case OP_ARRAY, don't call
3382 f77_value_literal_string.
3383 * valops.c, value.h (f77_value_literal_string, f77_value_substring,
3384 f77_assign_from_literal_string, f77_assign_from_literal_complex):
3385 Removed.
3386 (value_assign): No longer need to handle literal types.
3387 * valops.c (f77_value_literal_complex), value.h: Re-written and
3388 renamed to value_literal_complex. Last arg is now a (complex) type.
3389 * valops.c (f77_cast_into_complex): Re-written and renamed to
3390 cast_into_complex.
3391 * eval.c (evaluate_subexp): Update accordingly.
3392
6073b8de
PB
3393 * ch-valprint.c (chill_val_print): On TYPE_CODE_STRING, don't
3394 print address for non-'s'-formats.
3395 * ch-typeprint.c, ch-valprint.c: Use chill_varying_type instead
3396 of chill_is_varying_struct.
3397
e3be225e
SS
3398Wed Feb 1 13:27:33 1995 Stan Shebs <shebs@andros.cygnus.com>
3399
3400 gcc -Wall lint.
3401 * alpha-tdep.c (alpha_in_lenient_prologue): Comment out.
3402 (after_prologue): Remove unused local b.
3403 * procfs.c (thread.h): Include.
3404 (pr_flag_table, pr_why_table, faults_table, siginfo_table): Use
3405 nested braces in initializer.
3406 * top.c (initialize_targets, initialize_utils): Declare.
3407 (locate_arg, insert_args): Add parens around tested assignments.
3408 * remote-utils.c (sr_scan_args): Remove decl of strtol.
3409 * remote.c (thread.h): Include.
3410 (remote_wait): Remove unused local p2.
3411 * sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of
3412 registers array.
3413
3414 defs.h (stdlib.h): Include.
3415 (exit, perror, atoi, qsort, memcpy, memcmp): Don't declare.
3416 (fclose, atof, malloc, realloc, free, strchr, strrchr, strstr,
3417 strtok, strerror): Don't specify parameter types in declaration.
3418
f91a9e05
PB
3419Wed Feb 1 12:23:57 1995 Per Bothner <bothner@kalessin.cygnus.com>
3420
3421 * ch-exp.y (value_string_element, string_primitive_value,
3422 start_element, left_element, right_element, slice_size,
3423 lower_element, upper_element, first_element): Removed.
3424 (value_string_slice, value_array_slice): Replaced by ...
3425 (slice): New non-terminal, with working slice support.
3426 (primitive_value_lparen, rparen): New non-terminals.
3427 (maybe_tuple_elements): New non-terminal, to allow empty tuples.
3428 (idtokentab): Added "up".
3429
3430 * value.h (COERCE_VARYING_ARRAY): New macro.
3431 * valarith.c (value_subscript): Use it.
3432 * valops.c (value_cast): Likewise. Also, do nothing if already
3433 correct type, and allow converting from/to range to/from scalar.
3434
3435 * valops.c, value.h (varying_to_slice, value_slice): New functions.
3436 * eval.c (OP_ARRAY): Add cast for array element.
3437 * expression.h (TERNOP_SLICE, TERNOP_SLICE_COUNT): New exp_opcodes.
3438 * valops.c (chill_varying_type): Moved function frp, here ...
3439 * gdbtypes.c (chill_varying_type), gdbtypes.h: ... to here.
3440 * parse.c (length_of_subexp, prefixify_subexp): Add support
3441 for TERNOP_SLICE, TERNOP_SLICE_COUNT.
3442 * expprint.c (print_subexp, dump_expression): Likewise.
3443 * eval.c (evaluate_subexp): Likewise.
3444
3445 * eval.c (evaluate_subexp case MULTI_SUBSCRIPT): Don't call
3446 value_x_binop on a Chill varying string.
3447
23676ab8
JK
3448Tue Jan 31 13:51:53 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3449
3450 * config/m68k/monitor.mt,
3451 config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put
3452 depfiles in TDEPFILES not REMOTE_O.
3453
ccbae889
SC
3454Tue Jan 31 11:14:44 1995 Steve Chamberlain <sac@splat>
3455
3456 From nigel@algor.co.uk.
3457 * ser-go32.c (dos_close): Don't crash if scb null.
3458 (dos_sendbreak): New function.
3459 (dos_ops): Point to dos_sendbreak.
3460 (dos_info): Calculate COM number correctly.
3461
a81ce07d
JK
3462Tue Jan 31 09:40:11 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3463
3464 * xcoffread.c (process_xcoff_symbol): Use new variables
3465 func_symbol_type and var_symbol_type as type of functions and
3466 variables which don't have any stabs associated with them.
3467 Reindent most of function.
3468 (_initialize_xcoffread): Initialize *_symbol_type.
3469
3470 * xcoffread.c (read_xcoff_symtab): Reindent most of function.
3471 Put C_HIDEXT symbols in the minimal symbols, rather than ignoring
3472 them (this part commented out as I didn't quite get it to work).
3473 (cs_to_section, find_targ_sec): New functions, to support above code.
3474 * xcoffread.c (RECORD_MINIMAL_SYMBOL): Only skip '.' if it is
3475 actually present.
3476
0e887539 3477Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com)
e3be225e 3478start-sanitize-gdbtk
78daa95e
SG
3479 * gdbtk.tcl (create_file_win): Disable old popup menu for source
3480 window.
e3be225e 3481end-sanitize-gdbtk
0e887539
SG
3482 * sparcl-tdep.c: Add `sparclite' target for doing serial and udp
3483 downloads to SPARClite demo boards.
3484
3485Sun Jan 29 09:43:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3486
3487 * remote.c, remote-pa.c: Remove #if 0'd icache code. It has had
3488 no hope of working as is for a long time (in particular, shebs' 27
3489 Jan 95 change confuses the issue further--target_read_memory and
3490 xfer_core_file do *not* do the same thing in this context).
3491 Revise comment.
3492
de537409
PS
3493Sat Jan 28 13:40:46 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3494
3495 * elfread.c (elf_symtab_read): Do not test BSF_GLOBAL for
3496 procedure linkage table symbols, it is no longer set due to the
3497 Jan 6 BFD change in bfd/elfcode.h.
3498
06c41b39
SS
3499Fri Jan 27 17:08:06 1995 Stan Shebs <shebs@andros.cygnus.com>
3500
f22661ee
SS
3501 * top.c (use_windows): Clarify comments.
3502
0d2d8412
SS
3503 * convex-tdep.c (xfer_core_file): Comment out.
3504 * config/convex/tm-convex.h (XFER_CORE_FILE): Remove.
3505 * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file
3506 references to target_read_memory.
3507 * gdbcore.h (xfer_core_file, core_open, core_detach): Remove
3508 declarations.
3509 * corelow.c (core_open, core_detach): Make static.
3510
06c41b39
SS
3511 * arm-tdep.c: Make it compile.
3512 (exec_file_command, xfer_core_file): Comment out.
3513 (arm_print_insn): Remove, now in libopcodes.
3514 (skip_prologue): Comment out most of body.
3515 (arm_frame_find_saved_regs): Move here from tm-arm.h.
3516 (_initialize_arm_tdep): Set tm_print_insn.
3517 * config/arm/tm-arm.h: Remove old refs to first_object_file_end.
3518 (XFER_CORE_FILE): Remove.
3519 (FRAME_FIND_SAVED_REGS): Call arm_frame_find_saved_regs.
3520
0d6a571b
JK
3521Fri Jan 27 08:48:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3522
3523 * Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in.
3524
bf644f8f
JK
3525Thu Jan 26 18:24:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
3526
606ae2ba
JK
3527 * symtab.c (find_pc_line): When subtracting one to get a line
3528 number, make sure not to end up with zero.
3529
bf644f8f
JK
3530 * remote-vx.c: Revert all of Kung's changes of 16 Jan. The
3531 problems with those changes were (a) the file didn't compile, (b)
3532 they changed memset to bzero--memset is correct, (c) they took out
3533 code to deal with boards lacking floating point, (d) who knows
3534 what I didn't discover in a quick read.
3535
c746aa85
SG
3536Thu Jan 26 17:32:54 1995 Stu Grossman (grossman@cygnus.com)
3537
3538 * sparcl-tdep.c: Clean up formatting and indentation.
3539
d2d0e51d
SC
3540Thu Jan 26 10:49:59 1995 Steve Chamberlain <sac@splat>
3541
3542 * remote-hms.c (hms_ops): Change ref of hr_load_image
3543 to gr_load_image.
03fc5a0b
SC
3544 (dcache_flush, dcache_hit, dcache_value, dcache_fetch,
3545 dcache_poke, dcache_init): Deleted.
3546 (hms_open, hms_resume, hms_fetch_word, hms_store_word):
3547 Use dcache routines provided by remote-util.h
d2d0e51d 3548
97544048
MM
3549Thu Jan 26 12:08:31 1995 Michael Meissner <meissner@cygnus.com>
3550
3551 * configure.in: Add support for powerpc-*-eabi.
3552
3553 * powerpc/tm-ppc-eabi.h, powerpc/pcc-eabi.mt: New files for
3554 PowerPC support.
3555
acc4efde
PB
3556Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
3557
3558 * language.h (struct language_defn): New field c_style_arrays.
3559 * language.c (unknown_language_defn, auto_language_defn,
3560 local_language_defn), c-lang.c (c_language_defn, cplus_language_defn,
3561 asm_language_defn): Set c_style_arrays to true.
3562 * m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn),
3563 f-lang.c (f_language_defn): Set c_style_arrays to false.
3564 * valops.c (value_string): If c_style_array is not set,
3565 allocate string in gdb (not inferior) using allocate_value.
3566
3567 * value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce):
3568 Only call value_coerce_array if current_language->c_style_arrays.
3569 * values.c: Add #include "language.h". (Needed for COERCE_ARRAY.)
3570
3571 * valops.c (chill_varying_type): New predicate.
3572 * valops.c (value_cast): Support assigning a fixed string or array
3573 to a variable string/array structure.
3574
3575 * valarith.c (value_subscripted_rvalue): Extra parameter lowerbound.
3576 Check index>=lowerbound, and then add lowerbound to index here,
3577 instead of in caller. Generalize to arbitrary lval_types.
3578 (value_subscript): Use enhanced value_subscripted_rvalue if
3579 c_style_arrays is false (and index is in range).
3580
8cbf6efc 3581start-sanitize-gdbtk
b66051ec
SG
3582Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com)
3583
3584 * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
3585 found.
3586 * gdbtk.tcl: Initialize expr_update_list() to prevent errors when
3587 popping up expression window for the first time.
8cbf6efc 3588end-sanitize-gdbtk
b66051ec 3589
ee3a45e7
PB
3590Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
3591
3592 * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:
3593 TYPE_LENGTH is length in bytes, not bits.
3594
5024a43f
JK
3595Wed Jan 25 08:19:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3596
3597 * infrun.c (proceed): Flush stdout before resuming inferior.
3598 * infcmd.c (step_1), annotate.c (annotate_starting):
3599 Don't bother to flush here.
3600
dc192b86
JL
3601Wed Jan 25 01:11:21 1995 Jeff Law (law@snake.cs.utah.edu)
3602
3603 * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
3604 by an ill-advised global search and replace.
3605
c81a3fa9
SG
3606Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com)
3607
8e5bc49f
SG
3608 * gdbtk.tcl (create_registers_window): Work around a radiobutton
3609 widget bug to make Options|Natural button work.
3610
c81a3fa9
SG
3611 * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and
3612 g++ caused by out-of-order pc's.
3613 * gdbtk.tcl (files_command): Remove duplicate file names. Also,
3614 add scrollbar.
3615
6bd7d9fa
SG
3616Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com)
3617
3618 * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
3619 doc!
3620
6d34c236
PB
3621Mon Jan 23 13:11:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
3622
3623 Add support for Chill bitstring literals (e.h. H'FF00').
3624 * ch-exp.y (match_bitstring_literal): Fix for proper endianness.
3625 * expprint.c (print_subexp): Don't call error on OP_BITSTRING,
3626 just print B'<unimlemented>'.
3627 * gdbtypes.c (create_set_type): Fix bug in length calculation.
3628 * valops.c, value.h (value_bitstring): New function.
3629 * eval.c (evaluate_subexp): Implement support for OP_BITSTRING.
3630
3631 * ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
3632 check that return type is non-void, and print in proper Chill syntax.
3633
ce51845b
RS
3634Mon Jan 23 12:20:34 1995 Rob Savoye <rob@darkstar.cygnus.com>
3635
3636 * Makefile.in: Remove references to remote-mon.c.
3637 * remote-mon.c: remove. Replaced by rom68k-rom.c.
3638 * rom68k-rom.c: Support for Rom68k monitor.
3639
a9c67591
JK
3640Mon Jan 23 10:50:57 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3641
3642 * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
3643 gcc/ch/runtime not chillrt, since that is where the chill runtime
3644 lives now.
3645
0c699ac1
SC
3646Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
3647
3648 * remote-hms.c (hms_load): Delete.
3649 (target_ops): Use hr_load_image.
3650
3651 * remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
3652 Define memory_insert/remove_breakpoint.
3653 * xm-go32.h: Remove redundant SIGs.
3654
3655Thu Jan 19 20:26:58 1995 Steve Chamberlain <sac@splat>
3656
3657 * ser-go32.c: Rewritten by nigel@algor.co.uk.
3658
dcda44a0
PB
3659Fri Jan 20 15:23:55 1995 Per Bothner <bothner@kalessin.cygnus.com>
3660
3661 * expression.h (OP_LABELED): New operator, for Chill
3662 labeled structre tuples.
3663 * ch-exp.y (tuple_element, named_record_element, tuple_elements):
3664 New non-terminals, to handle labeled structure tuples.
3665 (tuple): Re-define using tuple_elements.
3666 * eval.c (evaluate_labeled_field_init): New function, to handle
3667 initialization of structure fields, possibly using OP_LABELED.
3668 (evaluate_subexp): Use it.
3669 * expprint.c (print_subexp case): For OP_ARRAY, use Chill syntax
3670 for Chill. Handled OP_LABELED.
3671 * parse.c (length_of_subexp, prefixify_subexp): Handle OP_LABELED.
3672
3673 * eval.c (evaluate_subexp): Handle Chill Powerset tuples.
3674 * valarith.c (value_bit_index): Just treat bitstring as represented
3675 by an array of bytes. Alignment is handled by compiler.
3676
3677Wed Jan 18 19:00:29 1995 Stan Shebs <shebs@andros.cygnus.com>
3678
3679 * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
3680 * sh-tdep.c (gdb_print_insn_sh): Ditto.
3681
6bbc99e3
KH
3682Wed Jan 18 11:25:43 1995 Kung Hsu <kung@mexican.cygnus.com>
3683
3684 * remote-os9k.c (rombug_open): Fix a bug in exception handling
3685 command.
3686 * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
3687 write.
3688
eedb3363
JK
3689Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3690
3691 * parse.c (_initialize_parse): Improve wording of names of
3692 msym_*_symbol_type.
3693
daa4c5f8
ILT
3694Tue Jan 17 14:00:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
3695
3696 * config/mips/tm-mips.h (enum mips_fpu_type): New enum.
3697 (mips_fpu): Change type to enum mips_fpu_type.
3698 (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
3699 * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
3700 Don't initialize.
3701 (mips_fpu_string): New static variable.
3702 (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
3703 (mips_pop_frame): Likewise.
3704 (mips_extract_return_value): Likewise.
3705 (mips_store_return_value): Likewise.
3706 (mips_set_fpu_command): New static function.
3707 (mips_show_fpu_command): New static function.
3708 (_initialize_mips_tdep): Change handling of set/show mipsfpu.
3709
3fb93d86
JK
3710Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3711
5ad32be2
JK
3712 * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
3713
3fb93d86
JK
3714 * parse.c (write_exp_msymbol): Use new variables
3715 msym_*_symbol_type as type of msymbol expression.
3716 (_initialize_parse): Initialize them.
3717
18b46e7c
SS
3718Mon Jan 16 18:11:03 1995 Stan Shebs <shebs@andros.cygnus.com>
3719
3720 General cleanup and simplication of disassembler interface.
3721 * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
3722 hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
3723 m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
3724 rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
3725 * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
3726 had been -pinsn.c files.
3727 * Makefile.in (ALLDEPFILES): Remove removed files.
3728 (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
3729 hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
3730 m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
3731 rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
3732 Remove compile actions.
3733 * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
3734 vax-tdep.o: Add compile actions.
3735 * defs.h (tm_print_insn): New global.
3736 * a29k-tdep.c (gdb_print_insn_a29k): New function.
3737 (_initialize_a29k_tdep): Rename from _initialize_29k,
3738 set tm_print_insn.
3739 * alpha-tdep.c (print_insn): Remove.
3740 (_initialize_alpha_tdep): Set tm_print_insn.
3741 * arm-tdep.c (arm_print_insn): New function, was print_insn
3742 in arm-pinsn.c.
3743 * convex-tdep.c (convex_print_insn): New function, was print_insn
3744 in convex-pinsn.c.
3745 * h8300-tdep.c (print_insn): Remove.
3746 (gdb_print_insn_h8300): New function.
3747 (_initialize_h8300_tdep): New function.
3748 * h8500-tdep.c (print_insn): Remove.
3749 (_initialize_h8500_tdep): New function.
3750 * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
3751 * i386-tdep.c (_initialize_i386_tdep): New function.
3752 * i960-tdep.c (mem, next_insn): New functions, were in
3753 i960-pinsn.c.
3754 (_initialize_i960_tdep): Set tm_print_insn.
3755 * m68k-tdep.c (_initialize_m68k_tdep): New function.
3756 * m88k-tdep.c (_initialize_m88k_tdep): New function.
3757 * mips-tdep.c (gdb_print_insn_mips): New function.
3758 (_initialize_mips_tdep): Set tm_print_insn.
3759 * pyr-tdep.c (pyr_print_insn): New function, was print_insn
3760 in pyr-pinsn.c.
3761 * rs6000-tdep.c (_initialize_rs6000_tdep): New function.
3762 * sh-tdep.c (print_insn): Remove.
3763 (gdb_print_insn_sh): New function.
3764 (_initialize_sh_tdep): Set tm_print_insn.
3765 * sparc-tdep.c (_initialize_sparc_tdep): New function.
3766 * w65-tdep.c (print_insn): Remove.
3767 (_initialize_w65_tdep): New function.
3768 * z8k-tdep.c (print_insn): Remove.
3769 (gdb_print_insn_z8k): New function.
3770 (_initialize_z8k_tdep): Set tm_print_insn.
3771 * printcmd.c (print_insn): New function, generic disassembler.
3772 * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
3773
83d9bb14
KH
3774Mon Jan 16 15:43:29 1995 Kung Hsu <kung@mexican.cygnus.com>
3775
3776 * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
3777 and config/a29k/vx29k.mt.
3778 * configure.in: add new configuration a29k-*-vxworks.
3779 * remote-vx29k.c: new file merged from WRS.
3780 * remote-vx.c: merge changes from WRS.
3781 * config/a29k/vx29k.mt: new file for new configuration.
3782 * config/a29k/tm-vx29k.h: new header file for newconfiguration.
3783
16041d53
SC
3784Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
3785
3786 * breakpoint.h (disable_breakpoint, enable_breakpoint):
3787 New declarations.
3788 (enum bpdisp): Change name of 'delete' member to 'del'.
3789 (struct bpstat): Changed name to 'bpstats'.
3790 * breakpoint.c (disable_breakpoint, enable_breakpoint,
3791 breakpoint_chain): Made globally visible.
3792 (bpstat_stop_status): Use new name for bpstat.
3793 (break_command_1, watch_command_1, catch_command_1,
3794 breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
3795 instead of 'delete'.
3796 (set_breakpoint_sal): New function.
3797 * defs.h (registers_changed_hook): New declaration.
3798 * infcmd.c (run_stack_dummy): 'delete' is now 'del'.
3799 * inflow.c (new_tty): Treat WIN32 in same way as __GO32__
3800 * main.c (main): Don't scan options when in WIN32 and exit
3801 without entering main loop.
3802 * m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
3803 * symtab.h (struct symbol, struct partial_symbol): Changed name of
3804 member 'class' to 'aclass'.
3805 (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
3806 * top.c (registers_changed_hook): New definition.
3807 * utils.c (quit, notice_quit, initialize_utils): Treate WIN32
3808 in same way as __GO32__.
3809 * value.h (c_typedef_print): Rename 'new' argument.
3810
be21628d
SC
3811 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
3812 * configure.in: Suppprt for w65,
3813
3814
22b1c54a
JK
3815Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3816
8248d21b
JK
3817 * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
3818 not stop_pc, to proceed.
3819
22b1c54a
JK
3820 * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
3821
b5088d10
JK
3822Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3823
3824 * infcmd.c (signal_command): Accept "signal 0"; the change to not
3825 accept it was accidental. "handle 0" and "info signal 0" remain
3826 illegal, though.
3827
218d43e5
SS
3828Fri Jan 13 15:19:01 1995 Stan Shebs <shebs@andros.cygnus.com>
3829
3830 * Makefile.in (all): Don't make libgdb-files.
3831 (libgdb): New action, makes libgdb-files.
3832
0f8631fb
PB
3833Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com>
3834
3835 * stabsread.c (read_enum_type): When pending enum symbols are
3836 put into the enum type, they must be inserted in "backwards
3837 order, in case we've overflowed a struct pending buffer.
3838
218d43e5 3839start-sanitize-gdbtk
4604b34c
SG
3840Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com)
3841
218d43e5 3842 * gdbtk.c, gdbtk.tcl: Update/add copyright.
4604b34c
SG
3843 * gdbtk.tcl (build_framework): Several fixes for filespec widget,
3844 including dismiss button, and better error handling.
3845 * (create_command_win): Bind button 2 to retrieve selection.
218d43e5 3846end-sanitize-gdbtk
4604b34c 3847
2592eef8
PS
3848Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3849
3850 * README: Add note about SPARCworks cc release 3.0 and higher.
3851
3852 Add procfs support for Alpha OSF/1-2.x.
3853 * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic
3854 OSF/1 native support.
3855 * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly.
3856 (MUNCH_DEFINE): Removed.
3857 * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files
3858 for procfs support.
3859 * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1
3860 release 2.x and higher, else alpha-osf1.mh, as the procfs support
3861 in release 1.x is incomplete.
3862 * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh.
3863 * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
3864 fill_fpgregset): New routines for procfs support.
3865 * inftarg.c (_initialize_inftarg): Don't add ptrace support
3866 if we have an optional procfs and /proc is accessible.
3867 * procfs.c: Include sys/fault.h and sys/syscall.h before
3868 including sys/procfs.h.
3869 (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL
3870 is defined, additionally perform a PIOCSSIG to really terminate
3871 the inferior.
3872 (create_procinfo): Always return a result.
3873 (create_procinfo, do_attach): Don't trace T_IFAULT faults if
3874 PROCFS_DONT_TRACE_IFAULT is defined.
3875 (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as
3876 argument to startup_inferior if it is defined.
3877 (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead
3878 of tracing exits from exec system calls. Needed for the user level
3879 loader under Alpha OSF/1.
3880 (do_detach): Clear any pending signal if we want to detach from
3881 a process without a signal.
3882 (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
3883 don't issue a PIOCSSIG if pr_cursig already contains the signal we
3884 intend to set.
3885 (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the
3886 pending signals are numbered from 1 instead of 0.
3887 (info_proc_mappings): Increase size of output format for addresses
3888 if BFD_HOST_64_BIT is defined.
3889 (procfs_stop): Renamed from child_stop.
3890 (_initialize_procfs): Don't add procfs support if we have an
3891 optional procfs and /proc is not accessible.
3892
218d43e5 3893start-sanitize-gdbtk
724498fd
SG
3894Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com)
3895
280c564c 3896 * gdbtk.tcl: Add button to control mixed source disassembly.
218d43e5 3897 Use text widgets in expr window. The give me more control over
280c564c 3898 layout.
218d43e5
SS
3899 Add auto-updating of exprs in expression window.
3900 Handle expressions out of scope a bit better.
3901 Make selected window pop up to the top when invoked via the
280c564c 3902 menubar.
218d43e5 3903 Make copyright message have raised relief.
280c564c 3904
724498fd
SG
3905 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
3906 during startup.
218d43e5 3907end-sanitize-gdbtk
724498fd 3908
b04a78d4
RS
3909Wed Jan 11 17:53:26 1995 Rob Savoye <rob@darkstar.cygnus.com>
3910
3911 * array-rom.c: Add support for most commands.
3912
3913 * monitor.c: Add GDB remote protocol for the hybrid environment on
3914 the Array board.
3915
b47ae8fb
JL
3916Wed Jan 11 00:44:01 1995 Jeff Law (law@snake.cs.utah.edu)
3917
3918 * command.c (show_user_1): Use print_command_line to show a user
3919 defined command (including control structures).
3920
3921 * top.c (init_main): Change documentation for user defined
3922 commands to indicate they may accept up to ten arguments.
3923
1d9489c1
JK
3924Tue Jan 10 16:22:41 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3925
3926 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
3927 `move $s8, $sp' instruction.
3928
3b55fbe3
JK
3929Sun Jan 8 12:45:34 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
3930
3931 * target.c, target.h (target_signal_from_command): New function.
3932 * infrun.c (handle_command, signals_info), infcmd.c
3933 (signal_command): Use it.
3934 * infrun.c, infcmd.c: Update docstrings for these commands.
3935
3936 * target.h (enum target_signal), target.c (signals), target.c
3937 (target_signal_from_host, target_signal_to_host): Add
3938 TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
3939 * config/tm-lynx.h: Define signal numbers for realtime events.
3940
02b40a19
PS
3941Sat Jan 7 07:23:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3942
3943 * dbxread.c (process_one_symbol): Handle N_FUN symbols
3944 for Sun acc 3.0 under SunOS4.
3945
3946 Changes to improve handling of runtime common symbols
3947 under SunOS4.
3948 * minsyms.c (get_symbol_leading_char): New routine to determine
3949 the leading symbol character for an objfile.
3950 (prim_record_minimal_symbol_and_info, install_minimal_symbols):
3951 Use it.
3952 * objfiles.h (rt_common_objfile): New global, points to objfile
3953 containing the runtime common minimal symbols.
3954 * objfiles.c (free_objfile): Mark rt_common_objfile as
3955 unallocated before freeing it.
3956 * solib.c (allocate_rt_common_objfile): New routine to allocate
3957 an objfile for the runtime common minimal symbols.
3958 (solib_add_common_symbols): Allocate an objfile for the runtime
3959 common symbols if necessary and put common symbols into it.
3960 Clean up code and comments.
3961 (solib_add, special_symbol_handling): Cleanup comments regarding
3962 runtime common symbols.
3963 * stabsread.c (scan_file_globals_1): New routine, contains
3964 old scan_file_globals code. Checks if there are any unresolved
3965 global symbols before starting the expensive minimal symbol table
3966 search.
3967 (scan_file_globals): Now calls scan_file_globals_1 for the passed
3968 objfile and eventually for the runtime common objfile. Complains
3969 about any unresolved global symbols and removes them from the
3970 global symbol chain to avoid dangling pointers into the symbol
3971 table if the symbol table is reread.
3972
09722039
SG
3973Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com)
3974
4a4f9e3b 3975 * Makefile.in (install_only uninstall): Indent for clarity.
09722039
SG
3976
3977 * core.c (dis_asm_read_memory): Add call to
3978 dis_asm_read_memory_hook to provide alternate way for disassembler
3979 to read memory.
3980
3981 * defs.h: Protect from multiple inclusion. Add decl for
3982 dis_asm_read_memory_hook.
3983
4a4f9e3b
SS
3984 * top.c: Make window startup be the default.
3985 * Add dis_asm_read_memory_hook.
3986
3987start-sanitize-gdbtk
09722039
SG
3988 * gdbtk.c (finish_saving_output): Don't do anything if not saving
3989 output.
3990 * (breakpoint_notify): Don't send null filename to tcl.
3991 * (gdb_eval): New tcl command to eval an expression.
3992 * (gdb_disassemble): New tcl command to do disassembly. This
3993 allows tcl code to choose between exec file and target memeory,
3994 and can also do mixed source and assembly.
3995 * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure
3996 that more of the environment is set up. Also, create link between
3997 gdb and tcl vars disassemble{-_}from{-_}exec.
3998
3999 * gdbtk.tcl: New expression window support.
4000 * Make assembly window be 80 columns wide.
4001 * Use new disassembly method. Add menu items to select
4002 disassembly from exec file or target.
4003 * Change View menubar item to Options.
4004
4005 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
4006 since they don't exist yet.
4007
4008 * Pop up a copyright window on startup.
4a4f9e3b 4009end-sanitize-gdbtk
09722039 4010
117a817d
JL
4011Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu)
4012
4013 * stabsread.c (define_symbol): Handle `a' symbol type used for
4014 reference parameter passed in a register.
4015
c4a5c37c
SS
4016start-sanitize-gdbtk
4017Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com>
4018
4019 * gdbtk.tcl (build_framework): Add standard commands menu, more
4020 windows to standard windows menu.
4021 (not_implemented_yet): Clarify message.
4022end-sanitize-gdbtk
4023
034022bf
KH
4024Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com>
4025
c023fbf4
KH
4026 * defs.h: move include tm.h up, so that the type LONGEST can
4027 also based on the target requirement to determine. In this case
4028 target mips64.
4029
034022bf
KH
4030 * remote-os9k.c (rombug_open): catch exception e in rombug.
4031 * remote-os9k.c (rombug_wait): print message before register display
4032 from rombug.
4033
fd2ae9ec
JK
4034Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
4035
4036 * top.c (locate_arg): Call strchr not index.
4037
3bcf4181
PB
4038Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
4039
2d67c7e9
PB
4040 * ch-exp.y (literal): Recognize NULL.
4041 (tuple): Parse simple unlabelled tuples.
4042 * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to
4043 evaluate brace-initializer-expressions depending on context.
4044 (evaluate_subexp case UNOP_CAST): Pass the target type as
4045 expected type when evaluating the expression.
4046
3bcf4181
PB
4047 * ch-typeprint.c (chill_type_print_base): Get names of PTR and
4048 BOOL from TYPE_NAME.
4049 * ch-valprint.c (chill_print_type_scalar): New function, to handle
4050 TYPE_CODE_RANGE better than print_type_scalar does.
4051 (chill_val_print_array_elements): Use above new function.
4052
6dd6578b
SS
4053Mon Jan 2 15:02:51 1995 Stan Shebs <shebs@andros.cygnus.com>
4054
4055 * remote-udi.c (udi_load): Tell symbol_file_add that the
4056 program being loaded is the main program.
c4ea046a 4057
986c54ca 4058For older changes see ChangeLog-94
bd5635a1
RP
4059\f
4060Local Variables:
4061mode: indented-text
4062left-margin: 8
4063fill-column: 74
4064version-control: never
4065End:
This page took 0.509118 seconds and 4 git commands to generate.