* vx-share/regPacket.h: a new file interfacing with vxworks.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
3b94a0b8
KH
1Mon Mar 27 14:43:00 1995 Kung Hsu <kung@mexican.cygnus.com>
2
3 * vx-share/regPacket.h: a new file interfacing with vxworks.
4
d582898a
JK
5Sun Mar 26 13:22:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6
7 * breakpoint.c (bpstat_do_actions): Once we've executed the
8 commands, set bs->commands to NULL.
9
b9e58503
PS
10Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11
12 * buildsym.c (patch_subfile_name): Update last_source_file
13 with the real source file name.
14 * dbxread.c (end_psymtab): Handle static functions in the
15 SOFUN_ADDRESS_MAYBE_MISSING case by passing pst->filename
16 to lookup_minimal_symbol.
17 (process_one_symbol): Ignore extra outermost context from
18 SunPRO cc and acc.
19 * stabsread.c (define_symbol): Do not complain for SunPRO
20 static variable encoding if STATIC_TRANSFORM_NAME is defined.
21 * sparc-tdep.c, config/sparc/tm-sun4sol2.h
22 (sunpro_static_transform_name): Renamed from
23 solaris_static_transform_name.
24 * config/sparc/tm-sun4os4.h (STATIC_TRANSFORM_NAME):
25 Define to sunpro_static_transform_name for acc 3.0 compiled
26 executables.
27 * procfs.c, config/alpha/nm-osf2.h (PROCFS_DONT_TRACE_FAULTS):
28 Renamed from PROCFS_DONT_TRACE_IFAULT, don't trace any faults
29 if defined.
30 * procfs.c (info_proc_siginfo): Cast sip->si_addr to
31 `unsigned long' and use `lx' format for printing it.
32
33Fri Mar 24 15:45:42 1995 Stu Grossman (grossman@cygnus.com)
34
35 * configure.in: Move test for m68*-est-* before m68*-*-coff*.
36 * findvar.c: Move default def of CANNOT_STORE_REGISTER closer to
37 the beginning of the code.
38 * (write_register_gen): New routine. Analogous to
39 read_register_gen.
40 * (write_register_bytes): Another rewrite! Make it smarter about
41 not updating regs with the same value.
42 * monitor.c (printf_monitor readchar): Use stderr instead of
43 stdout to output debug info. Also cleanup readchar a little.
44 * (expect): Make sure that excessive responses are null
45 terminated.
46 * (monitor_open): Check for magic number in monitor_ops struct.
47 Allow multiple commands as init strings. Also, clear all
48 breakpoints.
49 * (monitor_resume monitor_wait): Send a command to dump all the
50 regs for those targets which don't do so when waking up after a
51 continue command.
52 * (monitor_wait): Handle excessive response output better.
53 * (monitor_write_memory): Use block fill, word, and long word
54 commands (if they exist) to write memory more efficiently.
55 * General cleanups to use flag bits instead of individual flag
56 words in monitor_ops struct.
57 * (monitor_command): Return output from command.
58 * (monitor_load_srec): Allocate buffer only once. Use alloca.
59 Wait for load response string instead of using a timeout to start
60 sending S-records. Fix bug where value of srec_frame shrinks. If
61 hashmark is set, print `-' for retransmissions. General cleanups.
62 * (monitor_make_srec): Get rid of S-record default type kludge.
63 * monitor.h: Use seperate struct for memory and register
64 read/write commands. Memory commands can come in byte, word,
65 long, and longlong forms.
66 * (monitor_ops): Change lots of fields. Generalize some stuff.
67 Put all flags into flags word. Allow init to be a list of commands.
68 Add command for clearing all breakpoints, block fill, dumping all
69 registers.
70 * remote-est.c: Rewrite to use new monitor conventions.
71 * config/m68k/est.mt (TDEPFILES): Add monitor.o.
72 * config/m68k/tm-est.h: Set NUM_REGS to 18.
73 * testsuite/gdb.base/break.exp: Lots of cleanups. Use gdb_test
74 more thoroughly.
75
9bfed1ee
JL
76Thu Mar 23 23:20:00 1995 Jeff Law (law@snake.cs.utah.edu)
77
78 * somsolib.c (som_solib_add): Handle case where a shared library
79 referenced by a core file has sections without the SEC_ALLOC bit
80 set (eg stabs sections).
81
1c04536e
JK
82Thu Mar 23 15:07:08 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
83
84 * breakpoint.c (bpstat_do_actions): For each element in the bpstat
85 chain, do all the commands regardless of whether they run the
86 inferior.
87
aa949c08
DE
88Wed Mar 22 19:17:06 1995 Doug Evans <dje@cygnus.com>
89
90 * mem-break.c (LITTLE_BREAKPOINT, BIG_BREAKPOINT): Define as
91 BREAKPOINT if mono-endian.
92 (break_insn): Deleted.
93 (big_break_insn, little_break_insn): Define.
94 (memory_insert_breakpoint): Handle bi-endian cpus.
95 (BREAKPOINT_LEN): Define.
96 (memory_remove_breakpoint): Use it.
97 (memory_breakpoint_size): Likewise.
98
9cc2cd4f
KH
99Tue Mar 21 17:03:17 1995 Kung Hsu <kung@mexican.cygnus.com>
100
101 * sparc-stub.c: add nop after 'bg good_wim'.
102 * sparcl-stub.c: ditto.
103
1968ed13
JK
104Tue Mar 21 13:34:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
105
106 * infrun.c (handle_command): Don't print TARGET_SIGNAL_0,
107 TARGET_SIGNAL_UNKNOWN, or TARGET_SIGNAL_DEFAULT.
108
e6059f4a
JL
109Mon Mar 20 10:09:59 1995 Jeff Law (law@snake.cs.utah.edu)
110
111 * hppab-nat.c (store_inferior_registers): Sync with HPUX version.
112
a15f6b0a
SG
113Mon Mar 20 07:34:48 1995 Stu Grossman (grossman@cygnus.com)
114
115 * hppah-nat.c (store_inferior_registers): Move check for
116 CANNOT_STORE_REGISTER to a better place. Fixes ptrace I/O errors
117 found by test suite during function calls, which attempts to write
118 unwritable registers.
119
5c26250b
PS
120Sat Mar 18 02:02:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
121
122 * mdebugread.c (parse_symbol): If finishing a function without
123 known parameter type info, set that from parameter symbols.
124 Remove commented-out add_param_to_type support.
125
126Thu Mar 16 16:38:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
127
128 * xcoffread.c (process_linenos): Make sure filename we pass to
129 start_subfile will cause deduce_language_from_filename to return
130 the correct thing. Reindent function to GNU standards.
131
334655aa
C
132Thu Mar 16 15:54:00 1995 J.T. Conklin <jtc@rtl.cygnus.com>
133
134 * nlm/gdbserve.c (handle_exception): #if out call to StopBell,
135 as it is not available on NetWare 3 or PIN.
136 * nlm/ppc.c (StopBell): Removed.
137
8367c66b
JK
138Thu Mar 16 12:14:41 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
139
d1f14b46
JK
140 * xcoffread.c (read_xcoff_symtab): When creating a dummy parameter
141 inferred from the traceback tags, give its type the name
142 "<non-float parameter>".
143
8367c66b
JK
144 * stabsread.c (rs6000_builtin_type): Recognize types -31 to -34.
145
2081365f
SG
146Wed Mar 15 15:09:29 1995 Stu Grossman (grossman@cygnus.com)
147
148 * findvar.c (read_register_bytes write_register_bytes): Make
149 these routines much smarter about updating registers from the
150 target, only doing so when absolutely necessary. This really
151 speeds up register modification on some remote targets.
152
153 * monitor.c: More cleanups. Get rid of monitor_load_ascii_srec.
154 BFD makes this unnecessary. Lots of debugging speedups.
155 * (expect): NULL terminate return string.
156 * (monitor_open monitor_supply_register parse_register_dump
157 monitor_wait monitor_fetch_register): Switch to using GNU regexp
158 library to parse multi-register displays.
159 * (monitor_read_memory): Read multiple bytes (up to 16) at once.
160 * (monitor_create_inferior): Call clear_proceed_status to make run
161 command notice first breakpoint.
162 * (monitor_load): Clean up. Reset inferior_pid, set pc to start
163 address and reset symbol table stuff to make loads put things into
164 a fresh state.
165 * (monitor_load_srec): Lower sleep time to 1 second.
166
167 * monitor.h (struct monitor_ops): Add register_pattern and
168 supply_register to monitor_ops.
169
170 * rom68k-rom.c: Add new support for handling register dumps.
efe4e52d
SG
171 * config/m68k/tm-m68k.h: Define D0_REGNUM and A0_REGNUM for register
172 dump handling.
2081365f 173
a7f6f40b
JK
174Wed Mar 15 15:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
175
176 * utils.c, defs.h (putchar_unfiltered, fputc_unfiltered): Make
177 argument be an int, not a char. Using a prototype followed by an
178 old-style function definition in a case where an argument is
179 widened is a GCC-ism not supported by the native AIX compiler.
180
b1dda26e
C
181Wed Mar 15 12:22:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
182
68c1bc9c
C
183 * nlmstub.def: Removed, this was moved to nlm/gdbserve.def
184 long ago.
185
a64bbacf 186 * configure.in (alpha-*-netware*): Removed configuration.
68c1bc9c
C
187 * config/alpha/{alpha-nw.mt, gdbserve.mt, tm-alphanw.h}: Removed.
188 * nlm/{README-ALPHA-NETWARE, aio.h, alpha-io.S, alpha-regdef.h,
189 alpha.c, alpha.h, altdebug.h}: Removed.
190
b1dda26e
C
191 * nlm/gdbserve.c (main): Add support for processing BOARD=
192 argument, deprecate NODE=.
193
961b8ebd
JK
194Wed Mar 15 10:58:26 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
195
196 * c-exp.y (yylex): Make an empty character constant an error.
197
912cb3fd
PB
198Tue Mar 14 15:00:54 1995 Per Bothner <bothner@kalessin.cygnus.com>
199
200 * valops.c (value_arg_coerce): Do possible value_coerce_array
201 before determining type argument to value_cast.
202
1990231d
KH
203Tue Mar 14 10:41:41 1995 Kung Hsu <kung@mexican.cygnus.com>
204
205 * remote-es.c: Replace ignore with 0.
206
a3012272
JK
207Tue Mar 14 05:52:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
208
2e12bf4f
JK
209 * valops.c (value_repeat), eval.c (evaluate_subexp_standard):
210 If VALUE_REPEATED is already set, just error out.
211
36633dcc
JK
212 * valops.c (value_cast, value_slice), parse.c (follow_types): Add
213 FIXME-type-allocation comments.
214
a3012272
JK
215 * gdbtypes.h (struct type): Fix comment about what units the
216 TYPE_LENGTH is in.
217
477b2425
SS
218Mon Mar 13 18:27:25 1995 Stan Shebs <shebs@andros.cygnus.com>
219
220 * ch-valprint.c (annotate.h): Include.
221 * eval.c (evaluate_subexp_standard): Remove unused variable.
222 (calc_f77_array_dims): Add parens to expression.
223 * f-exp.y (yylex): Add parens to expression, remove unused label.
224 * f-lang.h (calc_f77_array_dims): Declare.
225 * f-valprint.c (f_val_print): Remove unused variables.
226
4f69fe46
JK
227Mon Mar 13 15:25:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
228
229 * alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
230 use the PDR, just examine prologues instead.
231
477b2425 232start-sanitize-arc
c230fbb6
KH
233Fri Mar 10 16:13:18 1995 Kung Hsu <kung@mexican.cygnus.com>
234
c230fbb6
KH
235 * config/tm-arc.h: Change arc register names.
236end-sanitize-arc
237
a1a0d974
PS
238Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
239
240 Fix problems with infinite recursion when printing a class
241 that contains a static instance of the class.
242 * cp-valprint.c (dont_print_vb_obstack): Renamed from
243 dont_print_obstack, made static.
244 (dont_print_statmem_obstack): New obstack, controls printing
245 of static member classes.
246 (_initialize_cp_valprint): Initialize it.
247 (cp_print_static_field): New function, handles printing of
248 static members.
249 (cp_print_value_fields): New parameter dont_print_statmem to
250 handle recursive printing of static member classes, use
251 cp_print_static_field to handle printing of static members.
252 * c-valprint.c (cp_print_value_fields): Update prototype and
253 call to include additional dont_print_statmem parameter.
254 * c-valprint.c, f-valprint.c (dont_print_obstack): Remove unused
255 extern declaration.
256
257 * alpha-tdep.c, findvar.c, infptrace.c: Include <string.h>.
258
259 * config/alpha/tm-alpha.h (FRAME_FIND_SAVED_REGS): Call
260 alpha_find_saved_regs if fi->saved_regs is still NULL.
261
262 * elfread.c (elf_symtab_read): Ensure that the filename field
263 of a minsym is nonempty. Ignore solib trampoline symbols from
264 the main symbol table, they might have a bogus value.
265
266 * procfs.c (set_proc_siginfo), config/alpha/alpha-osf2.mh:
267 Fix typos in comments.
268
45d6f623
JK
269Thu Mar 9 17:19:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
270
271 * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Initialize
272 pdr.framereg field of MIPS_EFI_SYMBOL_NAME symbol to -1. That way
273 we know whether the PDR ever got set.
274 * mips-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
275 use the PDR, just examine prologues instead.
276
277Wed Mar 8 23:35:10 1995 Jeff Law (law@snake.cs.utah.edu)
278
279 * somsolib.c (som_solib_section_offsets): Get offset of text
280 section right.
281
34c40fd7
SG
282Wed Mar 8 16:12:21 1995 Stu Grossman (grossman@cygnus.com)
283
8cbf6efc 284start-sanitize-gdbtk
9468f8aa
SG
285 * gdbtk.c (gdb_get_breakpoint_info): Return error if breakpoint
286 type is not bp_breakpoint.
8cbf6efc 287end-sanitize-gdbtk
9468f8aa 288
34c40fd7
SG
289 * source.c (forward_search_command reverse_search_command): Set
290 convenience variable $_ to be the line # of the match.
291 * symtab.c (decode_line_1): Allow convenience variables to be
292 used in line specs (for breakpoints and such).
293
95618211
SS
294Wed Mar 8 12:51:00 1995 Stan Shebs <shebs@andros.cygnus.com>
295
296 * Makefile.in (VERSION): Bump to 4.14.1.
297 * NEWS, README: Update for 4.14.
298 * i386v-nat.c (i386_insert_aligned_watchpoint): Fix declaration.
299 (i386_insert_nonaligned_watchpoint): Call aligned instead of
300 generic watchpoint insertion.
301
830a65b3
PB
302Tue Mar 7 19:26:10 1995 Per Bothner <bothner@kalessin.cygnus.com>
303
304 * valops.c (value_slice): Do COERCE_VARYING_ARRAY.
305
236274b9
SG
306Tue Mar 7 00:23:47 1995 Stu Grossman (grossman@cygnus.com)
307
95618211 308 * monitor.c, array-rom.c, monitor.h, rom68k-rom.c: Move target_ops
32fa4b59
SG
309 into monitor.c.
310 * monitor.c (monitor_create_inferior): Allow run command to start
311 program.
312
f17aed8b
SG
313 * monitor.c (monitor_load): Set PC to start address when done
314 loading.
315
95618211 316 * array-rom.c, monitor.h, rom68k-rom.c: Clean up target_ops.
f17aed8b
SG
317 Remove ref to monitor_create_inferior.
318
8f078234
SG
319 * monitor.c: More general cleanups. Add prototypes, remove
320 unused routines. Fix bug with wrong number of args to error().
321
cc60ad63
SG
322 * main.c (main): Don't start up GUI when running under gdb mode
323 in emacs.
324
1265e2d8
SG
325 * Makefile.in: Add rules for monitor.o and rom68k-rom.o to make
326 Sun make (with VPATH) work...
327
95618211 328 * monitor.c, monitor.h, rom68k-rom.c: Serious cleanup to make IDP
1265e2d8 329 (rom68k) target work right.
95618211 330 * array-rom.c, op50-rom.c, w89k-rom.c: Partial updates to new
1265e2d8
SG
331 monitor.c interface. More work needs to be done here.
332 * config/m68k/tm-monitor.h: Change DECR_PC_AFTER_BREAK to 0 to
333 match the IDP monitor. Also, set NUM_REGS to 18 cuz there's no
334 floating-point for this card.
335
95618211 336 * serial.h, ser-go32.c, ser-go32-para.c, ser-mac.c, ser-tcp.c,
85c8b135
SG
337 ser-unix.c: Add SERIAL_SETSTOPBITS to set the number of stopbits
338 (needed for IDP board?!?!?).
339
95618211
SS
340 * defs.h, utils.c, remote-hms.c, remote-pa.c, remote.c: Fix defs
341 and usage of fputc_unfiltered and putchar_unfiltered. Eliminate
7baea946
SG
342 putc_unfiltered (it's superfluous).
343
95618211 344 * command.h, command.c, top.c: Add var_enum command type. It's
09374c98 345 like var_string but allows only only one of the specified strings.
236274b9 346
e70bba9f
JK
347Mon Mar 6 15:03:59 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
348
349 * valops.c (value_cast): Don't use backslash newline--pre-ANSI
350 compilers (such as SunOS4 /bin/cc) don't generally support it
351 except in some contexts.
352
f7a69ed7
PB
353Fri Mar 3 17:42:48 1995 Per Bothner <bothner@kalessin.cygnus.com>
354
2379f65c 355 * valops.c (value_cast): Check for cast to array type *before*
f7a69ed7
PB
356 we coerce array to pointer (in case arg2 is already array).
357
358 * valops.c (call_function_by_hand): Set using_gcc to 2 if using
359 gcc2. Needed for REG_STRUCT_HAS_ADDR to work on sparc.
360 Also check REG_STRUCT_HAS_ADDR for union, array and string types.
361
362 * valops.c (call_function_by_hand): Re-arrange code for pushing
363 paramaters on the stack so we can do better STACK_ALIGN.
364
365 * valops.c (call_function_by_hand): Call error if the number
366 of arguments is fewer than parameter types in function type.
367
732ff6af
DE
368Fri Mar 3 17:13:05 1995 Doug Evans <dje@canuck.cygnus.com>
369
370 * sparc-tdep.c (sparc_extract_struct_value_address): Move
371 sparc64 support to here.
372 (sparc64_extract_struct_value_address): Deleted.
373 (dump_ccreg): Add a prototype so long long arg -> int.
374 * sparc/tm-sp64.h (USE_STRUCT_CONVENTION): Define.
375 (EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
376
13ffa6be
JL
377Fri Mar 3 15:12:12 1995 Jeff Law (law@snake.cs.utah.edu)
378
3a0fbb3b
JL
379 * hpread.c (hpread_record_lines): New argument "offset". All
380 callers changed. Use it to handle dynamic address relocation.
381 (hpread_build_psymtabs): Adjust texthigh as we read each function
382 debug symbol. Fix computation of texthigh.
383 (hpread_read_subrange_type): Work around macro bugs in HP's
384 compilers.
385 (hpread_process_one_debug_symbol): Correctly map source lines.
386
2097152a
JL
387 * somread.c (check_strange_names): Filter names emitted by the HP
388 compiler when generating PIC code.
389
13ffa6be
JL
390 * valops.c (value_struct_elt_for_reference): Work around macro
391 bugs in HP's compilers.
392 * c-exp.y (block): Likewise.
393
0d172a2e
JK
394Fri Mar 3 12:27:28 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
395
5816555b
JK
396 * rs6000-tdep.c (push_dummy_frame): Fix order of arguments to
397 store_address.
398
0d172a2e
JK
399 * utils.c [_AIX]: Include stddef.h instead of #defining size_t.
400
629b6214
MM
401Fri Mar 3 12:33:24 1995 Michael Meissner <meissner@tiktok.cygnus.com>
402
403 * rs6000-tdep.c (skip_prologue): Skip multiple stores of the saved
404 registers that GCC emits on the PowerPC by default in addition to
405 the store multiple instruction used on the Power series.
406
8b0f5a9d
DE
407Fri Mar 3 00:54:58 1995 Doug Evans <dje@canuck.cygnus.com>
408
409 * sparc-tdep.c (decode_asi): New function.
410 (sparc_print_register_hook): Pretty print more v9 registers.
411 * sparc/tm-sp64.h (REGISTER_NAMES): Fix some typos.
412
306d27ca
DE
413Thu Mar 2 22:20:22 1995 Doug Evans <dje@canuck.cygnus.com>
414
415 * dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc.
416 (target_to_host): Change result type to CORE_ADDR.
417
418Thu Mar 2 15:13:04 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
419
420 * rs6000-tdep.c: Fix byte-swapping sins.
421
dc59e982
MM
422Thu Mar 2 16:48:45 1995 Michael Meissner <meissner@cygnus.com>
423
424 * rs6000-tdep.c (branch_dest): Minor code cleanup, don't share
425 code between branch unconditional and branch conditional cases.
426
762cf56f
DE
427Wed Mar 1 09:41:26 1995 Doug Evans <dje@canuck.cygnus.com>
428
429 Various changes for sparc64.
430 * sparc-tdep.c (NUM_SPARC_FPREGS): Define.
431 (SPARC_INTREG_SIZE): Define.
432 (*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
433 where appropriate.
434 (enum branch_type): New value `done_retry'.
435 (isbranch): Renamed from isannulled. All callers changed.
436 Support new sparc64 branch insns.
437 (single_step): Handle done_retry.
438 (sparc_extract_struct_value_address): Don't assume 4 byte regs.
439 (get_saved_register): Likewise.
440 (sparc_push_dummy_frame): Likewise.
441 (sparc_frame_find_saved_regs): Likewise.
442 (sparc_pop_frame): Likewise. Don't refer to FPS_REGNUM, CPS_REGNUM,
443 or PS_REGNUM if not sparc64. sparc64 has 64 fp regs.
444 (sparc64_extract_struct_value_address): New function.
445 (dump_ccreg, sparc_print_register_hook): Likewise.
446 * sp64-tdep.c: Deleted.
447 * sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
448 (NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
449 (CC_HAS_LONG_LONG): Define.
450 (REGISTER_NAMES): Delete cle/tle and reorganize.
451 (PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
452 sparc-tdep.c now.
453 (REGISTER_BYTES): Update.
454 (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
455 (EXTRACT_RETURN_VALUE): Delete. Use definition in tm-sparc.h.
456 (NO_SINGLE_STEP): Likewise.
457 * sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
458 * sparc/sp64.mt: Move simulator support ...
459 * sparc/sp64sim.mt: ... to here.
460
7e869571
KH
461Wed Mar 1 13:14:42 1995 Kung Hsu <kung@mexican.cygnus.com>
462
463 * remote-vx960.c: new file for target specific register packaging.
464 * remote-vx68.c: ditto.
465 * config/i960/vxworks960.mt: add remote-vx960.o.
466 * config/m68k/vxworks68.mt: add remote-vx68.o.
467
8bfd30b2
MM
468Wed Mar 1 13:42:49 1995 Michael Meissner <meissner@tiktok.cygnus.com>
469
470 * remote.c (remote_wait): Make calls to strtol be type correct by
471 passing the address of a char * pointer instead of an unsigned
472 char *.
473
474 * rs6000-tdep.c (push_dummy_frame): Cast sp to char * when calling
475 write_memory to make things type correct.
476
ea082c0a
MM
477Wed Mar 1 12:17:31 1995 Michael Meissner <meissner@cygnus.com>
478
479 * ch-exp.y, c-exp.y, f-exp.y, m2-exp.y (yy defines): Support the
480 standard Linux yacc by adding more names to be redefined with a
481 prefix.
482
bc28e68d
JK
483Tue Feb 28 22:55:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
484
485 * hppa-tdep.c (pa_print_registers), monitor.c: Use
486 extract_unsigned_integer and friends, not SWAP_TARGET_AND_HOST.
487 * defs.h, findvar.c: Move SWAP_TARGET_AND_HOST back to findvar.c.
488 Rename it to SWAP_FLOATING to make it clear it is no longer for
489 integers.
490
326ae3e2
KH
491Tue Feb 28 14:38:39 1995 Kung Hsu <kung@mexican.cygnus.com>
492
66aa7cf9
KH
493 * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
494 compile time.
495
8cbf6efc 496start-sanitize-arc
abed6bc2
KH
497 * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
498 processor.
499 * remote-arc.c (arc_wait): when a processor stops, stop other two
500 processors too.
501 * remote-arc.c (switch_command): switch tm_print_insn.
8cbf6efc 502end-sanitize-arc
abed6bc2 503
bc01beb5
KH
504 * vx-share/ptrace.h: merge in WRS new ptrace requests.
505
75988f94
KH
506 * defs.h: fix a syntax error.
507
161520dc
KH
508 * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
509 * remote-vx.c: move read_register and write_register out to
510 target specific files.
511 * remote-vx29k.c (get_fp_contnets): add this function, from WRS.
512
326ae3e2
KH
513 * defs.h: define SWAP_TARGET_AND_HOST macro.
514 * findvar.c, monitor.c, hppa-tdep.c: remove definition of
515 SWAP_TARGET_AND_HOST.
516
de7ad6d8
JK
517Tue Feb 28 08:31:40 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
518
689409ca
JK
519 * alpha-tdep.c (find_proc_desc): Only attempt to set
520 PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.
de7ad6d8 521
431b7d5f
SS
522Mon Feb 27 11:56:32 1995 Stan Shebs <shebs@andros.cygnus.com>
523
524 * monitor.c: General gcc -Wall lint cleanup and reformat.
525 (monitor_command): If no args, send an empty command.
526
82fc3432
SG
527Thu Feb 23 21:07:25 1995 Stu Grossman (grossman@cygnus.com)
528
529 * monitor.c (monitor_load_ascii_srec): Add a one second sleep
530 after send LOAD_CMD to prevent loss of first S-record.
531
835c2559
PB
532Tue Feb 21 20:48:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
533
534 * valops.c (call_function_by_hand): Set using_gcc to 2 if gcc-2.
535 Call error if too few arguments.
536 If REG_STRUCT_HAS_ADDR (structs passed by invisible reference),
537 copy and convert to reference *before* we calculate alignment.
538 Also, make sure structs allocated for return values and invisible
539 reference don't violate STACK_ALIGN.
540
1d19172b
PB
541Tue Feb 21 23:29:59 1995 Per Bothner <bothner@rtl.cygnus.com>
542
543 * ch-exp.y (expression_conversion): Recognize 'ARRAY () TYPE (EXPR)'
544 (same as C's '(TYPE[])EXPR')
545
7f4b4b71
SS
546Tue Feb 21 11:47:26 1995 Stan Shebs <shebs@andros.cygnus.com>
547
548 * top.c (print_gdb_version): Update the year.
549
d940a47e
JK
550Sun Feb 19 14:31:57 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
551
7f4b4b71 552 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Look for newlib in
d940a47e
JK
553 `..' not in `../..'.
554
f5de4904
PS
555Sun Feb 19 11:05:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
556
557 * procfs.c (unconditionally_kill_inferior): Don't issue a PIOCKILL
558 in addition to a PIOCSSIG to kill the inferior.
559
fda36387
PB
560Thu Feb 16 15:06:12 1995 Per Bothner <bothner@kalessin.cygnus.com>
561
562 * parse.c (follow_types): Given (TYPE[]) (i.e. with no length),
563 create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
564 * valops.c (value_cast): If a cast like (TYPE[])VALUE (i.e. array
565 of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
566 * c-typeprint.c (c_type_print_varspec_suffix): If array length
567 is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.
568
92c6bf4d
MM
569Thu Feb 16 16:06:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
570
571 * dcache.c (insque, remque): Rewrite Linux support.
572
677653a0
MM
573Wed Feb 15 12:33:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
574
575 * config/powerpc/tm-ppc-eabi.h (TEXT_SEGMENT_BASE): Define as 1.
576
fed9a8d4
MM
577 * dcache.c (insque, remque): If compiling in standard C on Linux,
578 protect insque and remque with macros to cast the pointer
579 arguments to the proper type.
677653a0
MM
580
581Tue Feb 14 17:16:41 1995 Stu Grossman (grossman@cygnus.com)
582
7f4b4b71 583 * annotate.c, breakpoint.c, defs.h, top.c: Replace
677653a0 584 enable/disable_breakpoint_hook with modify_breakpoint_hook.
7f4b4b71
SS
585start-sanitize-gdbtk
586 * gdbtk.c: Ditto.
587 * gdbtk.c: General cleanups, get rid of unused variables. Redo
677653a0
MM
588 handling of stdout/stderr to just return output as the result of
589 the tcl command that caused the output. Cleanup -Wall stuff.
590 * (breakpoint_notify): Now returns just action and breakpoint
591 number.
592 * (gdb_get_breakpoint_list): New routine. Does the obvious.
593 * (gdb_get_breakpoint_info): Mostly derived from the old
594 breakpoint_notify, but returns lots more info.
595 * (dsprintf_append_element): Helper routine, works like printf,
596 but appends a tcl element onto the specified DString. Good for
597 building up lists as return values.
598 * (gdbtk_enable/disable_breakpoint): Go away. Replaced with
599 gdbtk_modify_breakpoint.
600 * (*many routines*): Use new result protocol.
601 * (call_wrapper): Make sure that recursive calls don't trash results.
602 * gdbtk.tcl: New windows, autocmd, and breakpoints.
603 * (gdbtk_tcl_fputs): Don't use $current_output_win redirection
604 anymore. It's not needed (in fact, this routine may not be needed
605 anymore).
606 * (gdbtk_tcl_breakpoint): Change to reflect new breakpoint
607 notification protocol.
608 * (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove
609 catches.
610 * (interactive_cmd): Use this wrapper around button invocations
611 of many commands. This will catch errors and put the results into
612 the command window. It also updates all the other windows.
613 * Also, change reliefs of most things to sunken. This actually
614 looks better.
615 * (create_file_win): Fix margin binding to allow breakpoints to
616 work again.
617 * (create_asm_win): Use return value of gdb_disassemble instead
618 of implicit I/O to the command window.
619 * (create_command_window): Use new result protocol to get output
620 from commands.
7f4b4b71 621end-sanitize-gdbtk
677653a0 622
5466f20f
JK
623Tue Feb 14 16:58:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
624
625 * expression.h: Move declaration of evaluate_subexp_with_coercion
626 from here...
627 * value.h: ...to here.
628 * expression.h: Don't include value.h
629
a6865104
JK
630Tue Feb 14 11:46:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
631
632 * expression.h: Move include of value.h until after declaration of
633 enum exp_opcode.
634
faf4dcd7
SS
635Sun Feb 12 13:47:30 1995 Stan Shebs <shebs@andros.cygnus.com>
636
d5c8cefe
SS
637 * remote-e7000.c: Comprehensive cleanup; removal of dead code,
638 simplify code, declare things, format to standards.
639 (inferior.h, value.h, command.h, remote-utils.h): Include.
640 (e7000_login): Rename to e7000_login_command.
641 (e7000_ftp): Rename to e7000_ftp_command.
642 (e7000_drain): Rename to e7000_drain_command.
643
faf4dcd7
SS
644 * irix5-nat.c (string.h): Include near beginning of file.
645
18d3d859
JK
646Sun Feb 12 12:36:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
647
648 * valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
649 arg, it is a value not a symbol.
650
651 gcc -Wall lint:
652 * eval.c: Move declaration of evaluate_subexp_with_coercion from here..
653 * expression.h: ..to here.
654 * expression.h: Include value.h.
655 * ch-lang.c (evaluate_subexp_chill): Add default case in switch.
656
60438e8e
PB
657Sun Feb 12 11:03:47 1995 Per Bothner <bothner@kalessin.cygnus.com>
658
7398958c
PB
659 * language.h (struct language_defn): New field evaluate_exp.
660 * c-lang.c (c_language_defn, cplus_language_defn, asm_langauge_defn),
661 f-lang.c (f_language_defn), language.c (unknown_language_defn,
662 auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn):
663 Set evaluate_exp to evaluate_subexp_standard.
664 * ch-lang.c (evaluate_subexp_chill): New function. Chill-specific
665 support for MULTI_SUBSCRIPT.
666 (chill_language_defn): Set evaluate_exp to evaluate_subexp_chill.
667 * eval.c (enum noside): Move from here ....
668 * expression.h (enum noside): ... to here.
669 (evaluate_subexp_standard): New prototype.
670 * eval.c (evaluate_subexp): Renamed to evaluate_subexp_standard.
671 Removed lo-longer-needed test for chill_varying_type.
672 (evaluate_subexp): New. Calls exp->language_defn->evaluate_exp.
673
60438e8e
PB
674 * ch-exp.y (maybe_expression_list): New non-terminal.
675 (primitive_value): Allow empty parameter list.
676
27202b6a
PB
677Sun Feb 12 10:02:16 1995 Per Bothner <bothner@cygnus.com>
678
679 * buildsym.c (finish_block): If finishing a function without known
680 parameter type info, set that from parameter symbols.
681 * c-typeprint.c (c_type_print_varspec_suffix): For TYPE_CODE_FUNC,
682 print parameter types, if available.
683 * ch-typeprint.c (chill_type_print_base): Likewise.
684
685 * gdbtypes.h (struct type): Remove function type field.
686 (TYPE_FUNCTION_TYPE): Remove macro. We can't as simply re-use
687 function types now that we're also storing parameter types.
688 And the payoff is much less.
689 * gdbtypes.c (make_function_type): Don't use/set TYPE_FUNCTION_TYPE.
690 (recursive_dump_type): Don't print TYPE_FUNCTION_TYPE.
691 * dwarfread.c (read_subroutine_type): Don't set TYPE_FUNCTION_TYPE.
692
5222ca60
PB
693 * valops.c (value_arg_coerce): Now takes param_type argument.
694 (call_function_by_hand): Convert arguments with value_arg_coerce
695 early, and overwrite original args with converted args.
696 No longer need multiple calls to value_arg_coerce.
697 (value_arg_push): Removed.
698 * hppa-tdep.c (hppa_push_arguments): No longer call value_arg_coerce.
699 * mips-tdep.c (mips_push_arguments): Likewise.
700 * alpha-tdep.c (alpha_push_arguments): Likewise.
701 * rs6000-tdep.c (push_arguments, ran_out_of_registers_for_arguments):
702 Likewise.
703 * value.h (value_arg_coerce): Remove declaration. (It's now static.)
704
705 * valops.c (value_cast): Do COERCE_VARYING_ARRAY after COERCE_REF.
706
7c606261
PB
707 * symtab.c (add_param_to_type): Remove (commented-out) function,
708 since that functionality has been re-written.
709 * coffread.c: Remove commented-out add_param_to_type support.
710 * mdebugread.c (parse_symbol): Likewise.
711 * stabsread.c (define_symbol): Likewise.
712
21af55c9
JK
713Sun Feb 12 09:03:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
714
715 * buildsym.c (start_subfile): Set language for f2c like for cfront.
716
717Thu Feb 9 20:20:11 1995 Rob Savoye <rob@darkstar.cygnus.com>
718
719 * op50n-rom.c: Add the control registers.
720
76a457c0
SS
721Thu Feb 9 15:46:39 1995 Stan Shebs <shebs@andros.cygnus.com>
722
723 * Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to
724 after, any host/target/native libraries.
725 * dcache.c (insque, remque): Remove declarations.
726 * gdbtypes.h (type_code): Remove trailing comma.
727
728 From Peter Schauer:
729 * xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef
730 STATIC_NODEBUG_VARS inside case.
731
137a07e6
JK
732Thu Feb 9 07:43:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
733
734 * config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.
735 * partial-stab.h: Call it.
736 * stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call
737 STATIC_TRANSFORM_NAME to get the name and use minimal symbols to
738 get the address.
739 * sparc-tdep.c (solaris_static_transform_name): New function.
740
506af7a7
JL
741Thu Feb 9 12:09:09 1995 Jeff Law (law@snake.cs.utah.edu)
742
743 * somread.c (som_symtab_read): Handle dynamic relocation for both
744 text and data symbols.
745 (som_symfile_offsets): If objfile is a shared library, then get
746 text and data offsets from the shared library structures.
747 * somsolib.c (som_solib_add): Copy the bfd pointer from the
748 objfile rather than reopening the file again.
749 (som_solib_section_offsets): New function.
750 * somsolib.h (som_solib_section_offsets): Declare.
751
2d336b1b
JK
752Wed Feb 8 20:32:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
753
754 * config/sparc/tm-sun4sol2.h, dbxread.c: Rename
755 N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING.
756 * symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add
757 filename field.
758 * elfread.c (record_minimal_symbol_and_info),
759 minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return
760 newly created symbol.
761 * elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]:
762 Set filename field of minimal symbol.
763 * symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]:
764 Print filename field.
765 * minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile.
766 * symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y,
767 m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c,
768 os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c,
769 printcmd.c, dbxread.c: Change callers to pass NULL for sfile.
770 * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
771 Find address of function from minimal symbols.
772 * partial-stab.h, case 'f', 'F': Call find_stab_function_addr
773 instead of getting pst->textlow from the stab.
774 * minsyms.c (find_stab_function_addr): New function.
775
151e7820
RS
776Wed Feb 8 19:19:56 1995 Rob Savoye <rob@darkstar.cygnus.com>
777
778 * monitor.c: Fix so all the output shows up in the GUI command
779 window.
780
9c4ecee6
SS
781Mon Feb 6 18:50:59 1995 Stan Shebs <shebs@andros.cygnus.com>
782
783 * i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
784 line, so init.c generation works correctly.
785start-sanitize-arc
786 * arc-tdep.c (_initialize_arc_tdep): Ditto.
787end-sanitize-arc
788
16b3ea5e
RS
789Mon Feb 6 14:44:36 1995 Rob Savoye <rob@darkstar.cygnus.com>
790
04697040
RS
791 * config/mips/idt.mt: Add support for the lsi33k target.
792 * config/sparc/sun4sol2.mh: Add support for ser-tcp.
16b3ea5e
RS
793 * array-rom.c: Finish the rest of the support commands needed by
794 GDB.
795 * mips-tdep.c: Add LSI33k register names and processor type.
796
d039851f 797start-sanitize-gdbtk
ddc0c38d 798Sun Feb 5 20:32:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9c4ecee6 799
d039851f
JK
800 * gdbtk.c (gdb_disassemble): Deference pointer to function before
801 calling it (pre-ANSI compilers generally require this).
ddc0c38d 802
f64a8968 803end-sanitize-gdbtk
ddc0c38d
SS
804Sat Feb 4 13:29:52 1995 Stan Shebs <shebs@andros.cygnus.com>
805
806 * config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.
807
6396e0c0
KH
808Fri Feb 3 16:47:31 1995 Kung Hsu <kung@mexican.cygnus.com>
809
810 * ser-go32-para.c (dos_read): fix syntax errors.
811
a76ef70a
SG
812Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com)
813
ddc0c38d
SS
814 * core.c (dis_asm_read_memory), defs.h, top.c: Get rid of
815 dis_asm_read_memory_hook. We can now call the disassemblers
816 directly and have no need for this hook anymore.
817start-sanitize-gdbtk
818 * gdbtk.c (gdb_disassemble): Ditto.
819end-sanitize-gdbtk
820 * defs.h, printcmd.c: Make print_insn be static.
a76ef70a
SG
821
822 * ser-go32.c (dos_comisr): Make this 8 bit clean.
823 * (dos_open dos_close): Allow multiple opens to the same device.
824 Use a ref count to prevent unwanted deallocations.
825 * sparcl-tdep.c: Put #ifdefs around all socket stuff to make GO32
826 happy.
827 * (sparclite_ops): Switch to download_stratum.
828 * target.h (enum strata): Move download_stratum before
829 process_stratum so that executable targets get pushed on top of
830 download targets.
831
1b552670
RS
832Thu Feb 2 19:02:45 1995 Rob Savoye <rob@darkstar.cygnus.com>
833
834 * array-rom.c: Remove the non GDB remote protocol config stuff.
835
836 * monitor.c: All reading/writing functions for memory and
837 registers work.
838
75a5da5f
KH
839Thu Feb 2 16:11:04 1995 Kung Hsu <kung@mexican.cygnus.com>
840
ddc0c38d 841start-sanitize-arc
75a5da5f
KH
842 * config/arc/arc.mt: new target makefile for arc processor.
843 * config/arc/tm-arc.h: new target header for arc processor.
844 * config/arc/go32.mh: new go32 host makefile for arc processor.
845 * config/arc/xm-go32.h: new go32 host header for arc processor.
846 * arc-tdep.c: new target dependent codes for arc processor.
847 * remote-arc.c: new file for arc-specific protocol through
848 parallel line.
ddc0c38d 849end-sanitize-arc
75a5da5f 850 * ser-go32-para.c: new file for go32 parallel port communication.
75a5da5f 851
2d144441
SS
852Thu Feb 2 13:58:40 1995 Stan Shebs <shebs@andros.cygnus.com>
853
854 * Makefile.in (VERSION): Bump to 4.13.2.
855
856Thu Feb 2 07:27:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
857
858 Fix compiler warnings:
859 * remote-e7000.c (printf_e7000debug): Rename to puts_e7000debug
860 and have the caller do the sprintf. Saves us from varargs hell.
861 (normal): Define before use.
862 * remote-e7000.c: Reindent a few things.
863
8a329002 864Wed Feb 1 21:16:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
6073b8de 865
8a329002
PB
866 * f-typeprint.c (f_type_print_varspec_suffix): Print array index
867 ranges in reverse order.
868 * f-valprint.c (f77_create_arrayprint_offset_tbl): Fix calculation.
869
870 * eval.c (evaluate_subscript): Don't call value_subscript, since
871 it adjusts for lower bound and enforces ranges.
872
873 * expression.h (exp_code): Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR.
874 * eval.c, parse.c: Removed uses of removed opcodes.
ead95f8a
PB
875 * eval.c (evaluate_subexp): Clean up handling of
876 OP_UNDETERMINED_ARGLIST (no backtracking, more general).
877
878 * f-valprint.c (f_val_print): Print TYPE_CODE_STRING using
879 LA_PRINT_STRING, and not val_print_string (which reads from inferior).
880
881 * ch-lang.c (chill_is_varying_struct), ch-lang.h: Remve function
882 duplicate function made redundant by chill_varying_type.
883
884 Re-write of f77 string and complex number support:
885
886 * language.h (struct language_defn): New fields string_lower_bound
887 and string_char_type.
888 * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn),
889 language.c (unknown_language_defn, auto_language_defn,
890 local_language_defn), m2-lang.c (m2_language_defn), f-lang.c
891 (f_language_defn), ch-lang.c (chill_language_defn): Set new fields.
892 * gdbtypes.c (create_string_type): Use new string_char_type field.
893 * valops.c (value_string): Use new string_lower_bound field.
894
895 * defs.h (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): Removed.
896 * f-lang.c (f_create_fundamental_type, _initialize_f_language),
897 m2-lang.c (m2_create_fundamental_type),
898 gdbtypes.c (_initialize_gdbtypes): Set TYPE_TARGET_TYPE of complex
899 types. Set their TYPE_CODEs to TYPE_CODE_COMPLEX.
900 * mdebugread.c (mdebug_type_complex, mdebug_type_double_complex):
901 Removed. Use builtin_type_complex and builtin_type_double_complex.
902
903 * gdbtypes.h (enum type_code): Removed TYPE_CODE_LITERAL_STRING
904 and TYPE_CODE_LITERAL_COMPLEX.
905 * c-typeprint.c, f-typeprint.c, f-valprint.c, eval.c: Removed uses of
906 TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX.
907 * gdbtypes.c, gdbtypes.h (f77_create_literal_complex_type,
908 f77_create_literal_string_type): Removed.
909 * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_MEMADDR,
910 VALUE_SUBSTRING_MYADDR): Removed.
911
912 * expression.h (enum exp_opcode): Rename OP_F77_LITERAL_COMPLEX to
913 OP_COMPLEX.
914 * parse.c: Update accordingly.
915
916 * f-valprint.c (f77_print_cmplx): Removed.
917 (f_val_print case TYPE_CODE_COMPLEX): Re-write to use print_floating.
918
919 * f-exp.y (STRING_LITERAL): Use OP_STRING instead of OP_ARRAY.
920 * eval.c (evaluate_subexp): For case OP_ARRAY, don't call
921 f77_value_literal_string.
922 * valops.c, value.h (f77_value_literal_string, f77_value_substring,
923 f77_assign_from_literal_string, f77_assign_from_literal_complex):
924 Removed.
925 (value_assign): No longer need to handle literal types.
926 * valops.c (f77_value_literal_complex), value.h: Re-written and
927 renamed to value_literal_complex. Last arg is now a (complex) type.
928 * valops.c (f77_cast_into_complex): Re-written and renamed to
929 cast_into_complex.
930 * eval.c (evaluate_subexp): Update accordingly.
931
6073b8de
PB
932 * ch-valprint.c (chill_val_print): On TYPE_CODE_STRING, don't
933 print address for non-'s'-formats.
934 * ch-typeprint.c, ch-valprint.c: Use chill_varying_type instead
935 of chill_is_varying_struct.
936
e3be225e
SS
937Wed Feb 1 13:27:33 1995 Stan Shebs <shebs@andros.cygnus.com>
938
939 gcc -Wall lint.
940 * alpha-tdep.c (alpha_in_lenient_prologue): Comment out.
941 (after_prologue): Remove unused local b.
942 * procfs.c (thread.h): Include.
943 (pr_flag_table, pr_why_table, faults_table, siginfo_table): Use
944 nested braces in initializer.
945 * top.c (initialize_targets, initialize_utils): Declare.
946 (locate_arg, insert_args): Add parens around tested assignments.
947 * remote-utils.c (sr_scan_args): Remove decl of strtol.
948 * remote.c (thread.h): Include.
949 (remote_wait): Remove unused local p2.
950 * sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of
951 registers array.
952
953 defs.h (stdlib.h): Include.
954 (exit, perror, atoi, qsort, memcpy, memcmp): Don't declare.
955 (fclose, atof, malloc, realloc, free, strchr, strrchr, strstr,
956 strtok, strerror): Don't specify parameter types in declaration.
957
f91a9e05
PB
958Wed Feb 1 12:23:57 1995 Per Bothner <bothner@kalessin.cygnus.com>
959
960 * ch-exp.y (value_string_element, string_primitive_value,
961 start_element, left_element, right_element, slice_size,
962 lower_element, upper_element, first_element): Removed.
963 (value_string_slice, value_array_slice): Replaced by ...
964 (slice): New non-terminal, with working slice support.
965 (primitive_value_lparen, rparen): New non-terminals.
966 (maybe_tuple_elements): New non-terminal, to allow empty tuples.
967 (idtokentab): Added "up".
968
969 * value.h (COERCE_VARYING_ARRAY): New macro.
970 * valarith.c (value_subscript): Use it.
971 * valops.c (value_cast): Likewise. Also, do nothing if already
972 correct type, and allow converting from/to range to/from scalar.
973
974 * valops.c, value.h (varying_to_slice, value_slice): New functions.
975 * eval.c (OP_ARRAY): Add cast for array element.
976 * expression.h (TERNOP_SLICE, TERNOP_SLICE_COUNT): New exp_opcodes.
977 * valops.c (chill_varying_type): Moved function frp, here ...
978 * gdbtypes.c (chill_varying_type), gdbtypes.h: ... to here.
979 * parse.c (length_of_subexp, prefixify_subexp): Add support
980 for TERNOP_SLICE, TERNOP_SLICE_COUNT.
981 * expprint.c (print_subexp, dump_expression): Likewise.
982 * eval.c (evaluate_subexp): Likewise.
983
984 * eval.c (evaluate_subexp case MULTI_SUBSCRIPT): Don't call
985 value_x_binop on a Chill varying string.
986
23676ab8
JK
987Tue Jan 31 13:51:53 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
988
989 * config/m68k/monitor.mt,
990 config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put
991 depfiles in TDEPFILES not REMOTE_O.
992
ccbae889
SC
993Tue Jan 31 11:14:44 1995 Steve Chamberlain <sac@splat>
994
995 From nigel@algor.co.uk.
996 * ser-go32.c (dos_close): Don't crash if scb null.
997 (dos_sendbreak): New function.
998 (dos_ops): Point to dos_sendbreak.
999 (dos_info): Calculate COM number correctly.
1000
a81ce07d
JK
1001Tue Jan 31 09:40:11 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1002
1003 * xcoffread.c (process_xcoff_symbol): Use new variables
1004 func_symbol_type and var_symbol_type as type of functions and
1005 variables which don't have any stabs associated with them.
1006 Reindent most of function.
1007 (_initialize_xcoffread): Initialize *_symbol_type.
1008
1009 * xcoffread.c (read_xcoff_symtab): Reindent most of function.
1010 Put C_HIDEXT symbols in the minimal symbols, rather than ignoring
1011 them (this part commented out as I didn't quite get it to work).
1012 (cs_to_section, find_targ_sec): New functions, to support above code.
1013 * xcoffread.c (RECORD_MINIMAL_SYMBOL): Only skip '.' if it is
1014 actually present.
1015
0e887539 1016Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com)
e3be225e 1017start-sanitize-gdbtk
78daa95e
SG
1018 * gdbtk.tcl (create_file_win): Disable old popup menu for source
1019 window.
e3be225e 1020end-sanitize-gdbtk
0e887539
SG
1021 * sparcl-tdep.c: Add `sparclite' target for doing serial and udp
1022 downloads to SPARClite demo boards.
1023
1024Sun Jan 29 09:43:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1025
1026 * remote.c, remote-pa.c: Remove #if 0'd icache code. It has had
1027 no hope of working as is for a long time (in particular, shebs' 27
1028 Jan 95 change confuses the issue further--target_read_memory and
1029 xfer_core_file do *not* do the same thing in this context).
1030 Revise comment.
1031
de537409
PS
1032Sat Jan 28 13:40:46 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1033
1034 * elfread.c (elf_symtab_read): Do not test BSF_GLOBAL for
1035 procedure linkage table symbols, it is no longer set due to the
1036 Jan 6 BFD change in bfd/elfcode.h.
1037
06c41b39
SS
1038Fri Jan 27 17:08:06 1995 Stan Shebs <shebs@andros.cygnus.com>
1039
f22661ee
SS
1040 * top.c (use_windows): Clarify comments.
1041
0d2d8412
SS
1042 * convex-tdep.c (xfer_core_file): Comment out.
1043 * config/convex/tm-convex.h (XFER_CORE_FILE): Remove.
1044 * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file
1045 references to target_read_memory.
1046 * gdbcore.h (xfer_core_file, core_open, core_detach): Remove
1047 declarations.
1048 * corelow.c (core_open, core_detach): Make static.
1049
06c41b39
SS
1050 * arm-tdep.c: Make it compile.
1051 (exec_file_command, xfer_core_file): Comment out.
1052 (arm_print_insn): Remove, now in libopcodes.
1053 (skip_prologue): Comment out most of body.
1054 (arm_frame_find_saved_regs): Move here from tm-arm.h.
1055 (_initialize_arm_tdep): Set tm_print_insn.
1056 * config/arm/tm-arm.h: Remove old refs to first_object_file_end.
1057 (XFER_CORE_FILE): Remove.
1058 (FRAME_FIND_SAVED_REGS): Call arm_frame_find_saved_regs.
1059
0d6a571b
JK
1060Fri Jan 27 08:48:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1061
1062 * Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in.
1063
bf644f8f
JK
1064Thu Jan 26 18:24:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1065
606ae2ba
JK
1066 * symtab.c (find_pc_line): When subtracting one to get a line
1067 number, make sure not to end up with zero.
1068
bf644f8f
JK
1069 * remote-vx.c: Revert all of Kung's changes of 16 Jan. The
1070 problems with those changes were (a) the file didn't compile, (b)
1071 they changed memset to bzero--memset is correct, (c) they took out
1072 code to deal with boards lacking floating point, (d) who knows
1073 what I didn't discover in a quick read.
1074
c746aa85
SG
1075Thu Jan 26 17:32:54 1995 Stu Grossman (grossman@cygnus.com)
1076
1077 * sparcl-tdep.c: Clean up formatting and indentation.
1078
d2d0e51d
SC
1079Thu Jan 26 10:49:59 1995 Steve Chamberlain <sac@splat>
1080
1081 * remote-hms.c (hms_ops): Change ref of hr_load_image
1082 to gr_load_image.
03fc5a0b
SC
1083 (dcache_flush, dcache_hit, dcache_value, dcache_fetch,
1084 dcache_poke, dcache_init): Deleted.
1085 (hms_open, hms_resume, hms_fetch_word, hms_store_word):
1086 Use dcache routines provided by remote-util.h
d2d0e51d 1087
97544048
MM
1088Thu Jan 26 12:08:31 1995 Michael Meissner <meissner@cygnus.com>
1089
1090 * configure.in: Add support for powerpc-*-eabi.
1091
1092 * powerpc/tm-ppc-eabi.h, powerpc/pcc-eabi.mt: New files for
1093 PowerPC support.
1094
acc4efde
PB
1095Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
1096
1097 * language.h (struct language_defn): New field c_style_arrays.
1098 * language.c (unknown_language_defn, auto_language_defn,
1099 local_language_defn), c-lang.c (c_language_defn, cplus_language_defn,
1100 asm_language_defn): Set c_style_arrays to true.
1101 * m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn),
1102 f-lang.c (f_language_defn): Set c_style_arrays to false.
1103 * valops.c (value_string): If c_style_array is not set,
1104 allocate string in gdb (not inferior) using allocate_value.
1105
1106 * value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce):
1107 Only call value_coerce_array if current_language->c_style_arrays.
1108 * values.c: Add #include "language.h". (Needed for COERCE_ARRAY.)
1109
1110 * valops.c (chill_varying_type): New predicate.
1111 * valops.c (value_cast): Support assigning a fixed string or array
1112 to a variable string/array structure.
1113
1114 * valarith.c (value_subscripted_rvalue): Extra parameter lowerbound.
1115 Check index>=lowerbound, and then add lowerbound to index here,
1116 instead of in caller. Generalize to arbitrary lval_types.
1117 (value_subscript): Use enhanced value_subscripted_rvalue if
1118 c_style_arrays is false (and index is in range).
1119
8cbf6efc 1120start-sanitize-gdbtk
b66051ec
SG
1121Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com)
1122
1123 * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
1124 found.
1125 * gdbtk.tcl: Initialize expr_update_list() to prevent errors when
1126 popping up expression window for the first time.
8cbf6efc 1127end-sanitize-gdbtk
b66051ec 1128
ee3a45e7
PB
1129Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
1130
1131 * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:
1132 TYPE_LENGTH is length in bytes, not bits.
1133
5024a43f
JK
1134Wed Jan 25 08:19:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1135
1136 * infrun.c (proceed): Flush stdout before resuming inferior.
1137 * infcmd.c (step_1), annotate.c (annotate_starting):
1138 Don't bother to flush here.
1139
dc192b86
JL
1140Wed Jan 25 01:11:21 1995 Jeff Law (law@snake.cs.utah.edu)
1141
1142 * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
1143 by an ill-advised global search and replace.
1144
c81a3fa9
SG
1145Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com)
1146
8e5bc49f
SG
1147 * gdbtk.tcl (create_registers_window): Work around a radiobutton
1148 widget bug to make Options|Natural button work.
1149
c81a3fa9
SG
1150 * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and
1151 g++ caused by out-of-order pc's.
1152 * gdbtk.tcl (files_command): Remove duplicate file names. Also,
1153 add scrollbar.
1154
6bd7d9fa
SG
1155Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com)
1156
1157 * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
1158 doc!
1159
6d34c236
PB
1160Mon Jan 23 13:11:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
1161
1162 Add support for Chill bitstring literals (e.h. H'FF00').
1163 * ch-exp.y (match_bitstring_literal): Fix for proper endianness.
1164 * expprint.c (print_subexp): Don't call error on OP_BITSTRING,
1165 just print B'<unimlemented>'.
1166 * gdbtypes.c (create_set_type): Fix bug in length calculation.
1167 * valops.c, value.h (value_bitstring): New function.
1168 * eval.c (evaluate_subexp): Implement support for OP_BITSTRING.
1169
1170 * ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
1171 check that return type is non-void, and print in proper Chill syntax.
1172
ce51845b
RS
1173Mon Jan 23 12:20:34 1995 Rob Savoye <rob@darkstar.cygnus.com>
1174
1175 * Makefile.in: Remove references to remote-mon.c.
1176 * remote-mon.c: remove. Replaced by rom68k-rom.c.
1177 * rom68k-rom.c: Support for Rom68k monitor.
1178
a9c67591
JK
1179Mon Jan 23 10:50:57 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1180
1181 * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
1182 gcc/ch/runtime not chillrt, since that is where the chill runtime
1183 lives now.
1184
0c699ac1
SC
1185Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
1186
1187 * remote-hms.c (hms_load): Delete.
1188 (target_ops): Use hr_load_image.
1189
1190 * remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
1191 Define memory_insert/remove_breakpoint.
1192 * xm-go32.h: Remove redundant SIGs.
1193
1194Thu Jan 19 20:26:58 1995 Steve Chamberlain <sac@splat>
1195
1196 * ser-go32.c: Rewritten by nigel@algor.co.uk.
1197
dcda44a0
PB
1198Fri Jan 20 15:23:55 1995 Per Bothner <bothner@kalessin.cygnus.com>
1199
1200 * expression.h (OP_LABELED): New operator, for Chill
1201 labeled structre tuples.
1202 * ch-exp.y (tuple_element, named_record_element, tuple_elements):
1203 New non-terminals, to handle labeled structure tuples.
1204 (tuple): Re-define using tuple_elements.
1205 * eval.c (evaluate_labeled_field_init): New function, to handle
1206 initialization of structure fields, possibly using OP_LABELED.
1207 (evaluate_subexp): Use it.
1208 * expprint.c (print_subexp case): For OP_ARRAY, use Chill syntax
1209 for Chill. Handled OP_LABELED.
1210 * parse.c (length_of_subexp, prefixify_subexp): Handle OP_LABELED.
1211
1212 * eval.c (evaluate_subexp): Handle Chill Powerset tuples.
1213 * valarith.c (value_bit_index): Just treat bitstring as represented
1214 by an array of bytes. Alignment is handled by compiler.
1215
1216Wed Jan 18 19:00:29 1995 Stan Shebs <shebs@andros.cygnus.com>
1217
1218 * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
1219 * sh-tdep.c (gdb_print_insn_sh): Ditto.
1220
6bbc99e3
KH
1221Wed Jan 18 11:25:43 1995 Kung Hsu <kung@mexican.cygnus.com>
1222
1223 * remote-os9k.c (rombug_open): Fix a bug in exception handling
1224 command.
1225 * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
1226 write.
1227
eedb3363
JK
1228Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1229
1230 * parse.c (_initialize_parse): Improve wording of names of
1231 msym_*_symbol_type.
1232
daa4c5f8
ILT
1233Tue Jan 17 14:00:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
1234
1235 * config/mips/tm-mips.h (enum mips_fpu_type): New enum.
1236 (mips_fpu): Change type to enum mips_fpu_type.
1237 (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
1238 * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
1239 Don't initialize.
1240 (mips_fpu_string): New static variable.
1241 (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
1242 (mips_pop_frame): Likewise.
1243 (mips_extract_return_value): Likewise.
1244 (mips_store_return_value): Likewise.
1245 (mips_set_fpu_command): New static function.
1246 (mips_show_fpu_command): New static function.
1247 (_initialize_mips_tdep): Change handling of set/show mipsfpu.
1248
3fb93d86
JK
1249Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1250
5ad32be2
JK
1251 * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
1252
3fb93d86
JK
1253 * parse.c (write_exp_msymbol): Use new variables
1254 msym_*_symbol_type as type of msymbol expression.
1255 (_initialize_parse): Initialize them.
1256
18b46e7c
SS
1257Mon Jan 16 18:11:03 1995 Stan Shebs <shebs@andros.cygnus.com>
1258
1259 General cleanup and simplication of disassembler interface.
1260 * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
1261 hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
1262 m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
1263 rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
1264 * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
1265 had been -pinsn.c files.
1266 * Makefile.in (ALLDEPFILES): Remove removed files.
1267 (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
1268 hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
1269 m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
1270 rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
1271 Remove compile actions.
1272 * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
1273 vax-tdep.o: Add compile actions.
1274 * defs.h (tm_print_insn): New global.
1275 * a29k-tdep.c (gdb_print_insn_a29k): New function.
1276 (_initialize_a29k_tdep): Rename from _initialize_29k,
1277 set tm_print_insn.
1278 * alpha-tdep.c (print_insn): Remove.
1279 (_initialize_alpha_tdep): Set tm_print_insn.
1280 * arm-tdep.c (arm_print_insn): New function, was print_insn
1281 in arm-pinsn.c.
1282 * convex-tdep.c (convex_print_insn): New function, was print_insn
1283 in convex-pinsn.c.
1284 * h8300-tdep.c (print_insn): Remove.
1285 (gdb_print_insn_h8300): New function.
1286 (_initialize_h8300_tdep): New function.
1287 * h8500-tdep.c (print_insn): Remove.
1288 (_initialize_h8500_tdep): New function.
1289 * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
1290 * i386-tdep.c (_initialize_i386_tdep): New function.
1291 * i960-tdep.c (mem, next_insn): New functions, were in
1292 i960-pinsn.c.
1293 (_initialize_i960_tdep): Set tm_print_insn.
1294 * m68k-tdep.c (_initialize_m68k_tdep): New function.
1295 * m88k-tdep.c (_initialize_m88k_tdep): New function.
1296 * mips-tdep.c (gdb_print_insn_mips): New function.
1297 (_initialize_mips_tdep): Set tm_print_insn.
1298 * pyr-tdep.c (pyr_print_insn): New function, was print_insn
1299 in pyr-pinsn.c.
1300 * rs6000-tdep.c (_initialize_rs6000_tdep): New function.
1301 * sh-tdep.c (print_insn): Remove.
1302 (gdb_print_insn_sh): New function.
1303 (_initialize_sh_tdep): Set tm_print_insn.
1304 * sparc-tdep.c (_initialize_sparc_tdep): New function.
1305 * w65-tdep.c (print_insn): Remove.
1306 (_initialize_w65_tdep): New function.
1307 * z8k-tdep.c (print_insn): Remove.
1308 (gdb_print_insn_z8k): New function.
1309 (_initialize_z8k_tdep): Set tm_print_insn.
1310 * printcmd.c (print_insn): New function, generic disassembler.
1311 * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
1312
83d9bb14
KH
1313Mon Jan 16 15:43:29 1995 Kung Hsu <kung@mexican.cygnus.com>
1314
1315 * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
1316 and config/a29k/vx29k.mt.
1317 * configure.in: add new configuration a29k-*-vxworks.
1318 * remote-vx29k.c: new file merged from WRS.
1319 * remote-vx.c: merge changes from WRS.
1320 * config/a29k/vx29k.mt: new file for new configuration.
1321 * config/a29k/tm-vx29k.h: new header file for newconfiguration.
1322
16041d53
SC
1323Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
1324
1325 * breakpoint.h (disable_breakpoint, enable_breakpoint):
1326 New declarations.
1327 (enum bpdisp): Change name of 'delete' member to 'del'.
1328 (struct bpstat): Changed name to 'bpstats'.
1329 * breakpoint.c (disable_breakpoint, enable_breakpoint,
1330 breakpoint_chain): Made globally visible.
1331 (bpstat_stop_status): Use new name for bpstat.
1332 (break_command_1, watch_command_1, catch_command_1,
1333 breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
1334 instead of 'delete'.
1335 (set_breakpoint_sal): New function.
1336 * defs.h (registers_changed_hook): New declaration.
1337 * infcmd.c (run_stack_dummy): 'delete' is now 'del'.
1338 * inflow.c (new_tty): Treat WIN32 in same way as __GO32__
1339 * main.c (main): Don't scan options when in WIN32 and exit
1340 without entering main loop.
1341 * m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
1342 * symtab.h (struct symbol, struct partial_symbol): Changed name of
1343 member 'class' to 'aclass'.
1344 (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
1345 * top.c (registers_changed_hook): New definition.
1346 * utils.c (quit, notice_quit, initialize_utils): Treate WIN32
1347 in same way as __GO32__.
1348 * value.h (c_typedef_print): Rename 'new' argument.
1349
be21628d
SC
1350 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
1351 * configure.in: Suppprt for w65,
1352
1353
22b1c54a
JK
1354Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1355
8248d21b
JK
1356 * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
1357 not stop_pc, to proceed.
1358
22b1c54a
JK
1359 * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
1360
b5088d10
JK
1361Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1362
1363 * infcmd.c (signal_command): Accept "signal 0"; the change to not
1364 accept it was accidental. "handle 0" and "info signal 0" remain
1365 illegal, though.
1366
218d43e5
SS
1367Fri Jan 13 15:19:01 1995 Stan Shebs <shebs@andros.cygnus.com>
1368
1369 * Makefile.in (all): Don't make libgdb-files.
1370 (libgdb): New action, makes libgdb-files.
1371
0f8631fb
PB
1372Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com>
1373
1374 * stabsread.c (read_enum_type): When pending enum symbols are
1375 put into the enum type, they must be inserted in "backwards
1376 order, in case we've overflowed a struct pending buffer.
1377
218d43e5 1378start-sanitize-gdbtk
4604b34c
SG
1379Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com)
1380
218d43e5 1381 * gdbtk.c, gdbtk.tcl: Update/add copyright.
4604b34c
SG
1382 * gdbtk.tcl (build_framework): Several fixes for filespec widget,
1383 including dismiss button, and better error handling.
1384 * (create_command_win): Bind button 2 to retrieve selection.
218d43e5 1385end-sanitize-gdbtk
4604b34c 1386
2592eef8
PS
1387Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1388
1389 * README: Add note about SPARCworks cc release 3.0 and higher.
1390
1391 Add procfs support for Alpha OSF/1-2.x.
1392 * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic
1393 OSF/1 native support.
1394 * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly.
1395 (MUNCH_DEFINE): Removed.
1396 * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files
1397 for procfs support.
1398 * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1
1399 release 2.x and higher, else alpha-osf1.mh, as the procfs support
1400 in release 1.x is incomplete.
1401 * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh.
1402 * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
1403 fill_fpgregset): New routines for procfs support.
1404 * inftarg.c (_initialize_inftarg): Don't add ptrace support
1405 if we have an optional procfs and /proc is accessible.
1406 * procfs.c: Include sys/fault.h and sys/syscall.h before
1407 including sys/procfs.h.
1408 (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL
1409 is defined, additionally perform a PIOCSSIG to really terminate
1410 the inferior.
1411 (create_procinfo): Always return a result.
1412 (create_procinfo, do_attach): Don't trace T_IFAULT faults if
1413 PROCFS_DONT_TRACE_IFAULT is defined.
1414 (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as
1415 argument to startup_inferior if it is defined.
1416 (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead
1417 of tracing exits from exec system calls. Needed for the user level
1418 loader under Alpha OSF/1.
1419 (do_detach): Clear any pending signal if we want to detach from
1420 a process without a signal.
1421 (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
1422 don't issue a PIOCSSIG if pr_cursig already contains the signal we
1423 intend to set.
1424 (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the
1425 pending signals are numbered from 1 instead of 0.
1426 (info_proc_mappings): Increase size of output format for addresses
1427 if BFD_HOST_64_BIT is defined.
1428 (procfs_stop): Renamed from child_stop.
1429 (_initialize_procfs): Don't add procfs support if we have an
1430 optional procfs and /proc is not accessible.
1431
218d43e5 1432start-sanitize-gdbtk
724498fd
SG
1433Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com)
1434
280c564c 1435 * gdbtk.tcl: Add button to control mixed source disassembly.
218d43e5 1436 Use text widgets in expr window. The give me more control over
280c564c 1437 layout.
218d43e5
SS
1438 Add auto-updating of exprs in expression window.
1439 Handle expressions out of scope a bit better.
1440 Make selected window pop up to the top when invoked via the
280c564c 1441 menubar.
218d43e5 1442 Make copyright message have raised relief.
280c564c 1443
724498fd
SG
1444 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
1445 during startup.
218d43e5 1446end-sanitize-gdbtk
724498fd 1447
b04a78d4
RS
1448Wed Jan 11 17:53:26 1995 Rob Savoye <rob@darkstar.cygnus.com>
1449
1450 * array-rom.c: Add support for most commands.
1451
1452 * monitor.c: Add GDB remote protocol for the hybrid environment on
1453 the Array board.
1454
b47ae8fb
JL
1455Wed Jan 11 00:44:01 1995 Jeff Law (law@snake.cs.utah.edu)
1456
1457 * command.c (show_user_1): Use print_command_line to show a user
1458 defined command (including control structures).
1459
1460 * top.c (init_main): Change documentation for user defined
1461 commands to indicate they may accept up to ten arguments.
1462
1d9489c1
JK
1463Tue Jan 10 16:22:41 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1464
1465 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
1466 `move $s8, $sp' instruction.
1467
3b55fbe3
JK
1468Sun Jan 8 12:45:34 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1469
1470 * target.c, target.h (target_signal_from_command): New function.
1471 * infrun.c (handle_command, signals_info), infcmd.c
1472 (signal_command): Use it.
1473 * infrun.c, infcmd.c: Update docstrings for these commands.
1474
1475 * target.h (enum target_signal), target.c (signals), target.c
1476 (target_signal_from_host, target_signal_to_host): Add
1477 TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
1478 * config/tm-lynx.h: Define signal numbers for realtime events.
1479
02b40a19
PS
1480Sat Jan 7 07:23:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1481
1482 * dbxread.c (process_one_symbol): Handle N_FUN symbols
1483 for Sun acc 3.0 under SunOS4.
1484
1485 Changes to improve handling of runtime common symbols
1486 under SunOS4.
1487 * minsyms.c (get_symbol_leading_char): New routine to determine
1488 the leading symbol character for an objfile.
1489 (prim_record_minimal_symbol_and_info, install_minimal_symbols):
1490 Use it.
1491 * objfiles.h (rt_common_objfile): New global, points to objfile
1492 containing the runtime common minimal symbols.
1493 * objfiles.c (free_objfile): Mark rt_common_objfile as
1494 unallocated before freeing it.
1495 * solib.c (allocate_rt_common_objfile): New routine to allocate
1496 an objfile for the runtime common minimal symbols.
1497 (solib_add_common_symbols): Allocate an objfile for the runtime
1498 common symbols if necessary and put common symbols into it.
1499 Clean up code and comments.
1500 (solib_add, special_symbol_handling): Cleanup comments regarding
1501 runtime common symbols.
1502 * stabsread.c (scan_file_globals_1): New routine, contains
1503 old scan_file_globals code. Checks if there are any unresolved
1504 global symbols before starting the expensive minimal symbol table
1505 search.
1506 (scan_file_globals): Now calls scan_file_globals_1 for the passed
1507 objfile and eventually for the runtime common objfile. Complains
1508 about any unresolved global symbols and removes them from the
1509 global symbol chain to avoid dangling pointers into the symbol
1510 table if the symbol table is reread.
1511
09722039
SG
1512Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com)
1513
4a4f9e3b 1514 * Makefile.in (install_only uninstall): Indent for clarity.
09722039
SG
1515
1516 * core.c (dis_asm_read_memory): Add call to
1517 dis_asm_read_memory_hook to provide alternate way for disassembler
1518 to read memory.
1519
1520 * defs.h: Protect from multiple inclusion. Add decl for
1521 dis_asm_read_memory_hook.
1522
4a4f9e3b
SS
1523 * top.c: Make window startup be the default.
1524 * Add dis_asm_read_memory_hook.
1525
1526start-sanitize-gdbtk
09722039
SG
1527 * gdbtk.c (finish_saving_output): Don't do anything if not saving
1528 output.
1529 * (breakpoint_notify): Don't send null filename to tcl.
1530 * (gdb_eval): New tcl command to eval an expression.
1531 * (gdb_disassemble): New tcl command to do disassembly. This
1532 allows tcl code to choose between exec file and target memeory,
1533 and can also do mixed source and assembly.
1534 * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure
1535 that more of the environment is set up. Also, create link between
1536 gdb and tcl vars disassemble{-_}from{-_}exec.
1537
1538 * gdbtk.tcl: New expression window support.
1539 * Make assembly window be 80 columns wide.
1540 * Use new disassembly method. Add menu items to select
1541 disassembly from exec file or target.
1542 * Change View menubar item to Options.
1543
1544 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
1545 since they don't exist yet.
1546
1547 * Pop up a copyright window on startup.
4a4f9e3b 1548end-sanitize-gdbtk
09722039 1549
117a817d
JL
1550Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu)
1551
1552 * stabsread.c (define_symbol): Handle `a' symbol type used for
1553 reference parameter passed in a register.
1554
c4a5c37c
SS
1555start-sanitize-gdbtk
1556Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com>
1557
1558 * gdbtk.tcl (build_framework): Add standard commands menu, more
1559 windows to standard windows menu.
1560 (not_implemented_yet): Clarify message.
1561end-sanitize-gdbtk
1562
034022bf
KH
1563Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com>
1564
c023fbf4
KH
1565 * defs.h: move include tm.h up, so that the type LONGEST can
1566 also based on the target requirement to determine. In this case
1567 target mips64.
1568
034022bf
KH
1569 * remote-os9k.c (rombug_open): catch exception e in rombug.
1570 * remote-os9k.c (rombug_wait): print message before register display
1571 from rombug.
1572
fd2ae9ec
JK
1573Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1574
1575 * top.c (locate_arg): Call strchr not index.
1576
3bcf4181
PB
1577Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
1578
2d67c7e9
PB
1579 * ch-exp.y (literal): Recognize NULL.
1580 (tuple): Parse simple unlabelled tuples.
1581 * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to
1582 evaluate brace-initializer-expressions depending on context.
1583 (evaluate_subexp case UNOP_CAST): Pass the target type as
1584 expected type when evaluating the expression.
1585
3bcf4181
PB
1586 * ch-typeprint.c (chill_type_print_base): Get names of PTR and
1587 BOOL from TYPE_NAME.
1588 * ch-valprint.c (chill_print_type_scalar): New function, to handle
1589 TYPE_CODE_RANGE better than print_type_scalar does.
1590 (chill_val_print_array_elements): Use above new function.
1591
6dd6578b
SS
1592Mon Jan 2 15:02:51 1995 Stan Shebs <shebs@andros.cygnus.com>
1593
1594 * remote-udi.c (udi_load): Tell symbol_file_add that the
1595 program being loaded is the main program.
c4ea046a 1596
986c54ca 1597For older changes see ChangeLog-94
bd5635a1
RP
1598\f
1599Local Variables:
1600mode: indented-text
1601left-margin: 8
1602fill-column: 74
1603version-control: never
1604End:
This page took 0.357231 seconds and 4 git commands to generate.