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