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