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