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