* parse.c (write_exp_msymbol): Use new variables
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2
3 * parse.c (write_exp_msymbol): Use new variables
4 msym_*_symbol_type as type of msymbol expression.
5 (_initialize_parse): Initialize them.
6
7 Mon Jan 16 18:11:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8
9 General cleanup and simplication of disassembler interface.
10 * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
11 hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
12 m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
13 rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
14 * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
15 had been -pinsn.c files.
16 * Makefile.in (ALLDEPFILES): Remove removed files.
17 (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
18 hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
19 m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
20 rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
21 Remove compile actions.
22 * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
23 vax-tdep.o: Add compile actions.
24 * defs.h (tm_print_insn): New global.
25 * a29k-tdep.c (gdb_print_insn_a29k): New function.
26 (_initialize_a29k_tdep): Rename from _initialize_29k,
27 set tm_print_insn.
28 * alpha-tdep.c (print_insn): Remove.
29 (_initialize_alpha_tdep): Set tm_print_insn.
30 * arm-tdep.c (arm_print_insn): New function, was print_insn
31 in arm-pinsn.c.
32 * convex-tdep.c (convex_print_insn): New function, was print_insn
33 in convex-pinsn.c.
34 * h8300-tdep.c (print_insn): Remove.
35 (gdb_print_insn_h8300): New function.
36 (_initialize_h8300_tdep): New function.
37 * h8500-tdep.c (print_insn): Remove.
38 (_initialize_h8500_tdep): New function.
39 * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
40 * i386-tdep.c (_initialize_i386_tdep): New function.
41 * i960-tdep.c (mem, next_insn): New functions, were in
42 i960-pinsn.c.
43 (_initialize_i960_tdep): Set tm_print_insn.
44 * m68k-tdep.c (_initialize_m68k_tdep): New function.
45 * m88k-tdep.c (_initialize_m88k_tdep): New function.
46 * mips-tdep.c (gdb_print_insn_mips): New function.
47 (_initialize_mips_tdep): Set tm_print_insn.
48 * pyr-tdep.c (pyr_print_insn): New function, was print_insn
49 in pyr-pinsn.c.
50 * rs6000-tdep.c (_initialize_rs6000_tdep): New function.
51 * sh-tdep.c (print_insn): Remove.
52 (gdb_print_insn_sh): New function.
53 (_initialize_sh_tdep): Set tm_print_insn.
54 * sparc-tdep.c (_initialize_sparc_tdep): New function.
55 * w65-tdep.c (print_insn): Remove.
56 (_initialize_w65_tdep): New function.
57 * z8k-tdep.c (print_insn): Remove.
58 (gdb_print_insn_z8k): New function.
59 (_initialize_z8k_tdep): Set tm_print_insn.
60 * printcmd.c (print_insn): New function, generic disassembler.
61 * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
62
63 Mon Jan 16 15:43:29 1995 Kung Hsu <kung@mexican.cygnus.com>
64
65 * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
66 and config/a29k/vx29k.mt.
67 * configure.in: add new configuration a29k-*-vxworks.
68 * remote-vx29k.c: new file merged from WRS.
69 * remote-vx.c: merge changes from WRS.
70 * config/a29k/vx29k.mt: new file for new configuration.
71 * config/a29k/tm-vx29k.h: new header file for newconfiguration.
72
73 Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
74
75 * breakpoint.h (disable_breakpoint, enable_breakpoint):
76 New declarations.
77 (enum bpdisp): Change name of 'delete' member to 'del'.
78 (struct bpstat): Changed name to 'bpstats'.
79 * breakpoint.c (disable_breakpoint, enable_breakpoint,
80 breakpoint_chain): Made globally visible.
81 (bpstat_stop_status): Use new name for bpstat.
82 (break_command_1, watch_command_1, catch_command_1,
83 breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
84 instead of 'delete'.
85 (set_breakpoint_sal): New function.
86 * defs.h (registers_changed_hook): New declaration.
87 * infcmd.c (run_stack_dummy): 'delete' is now 'del'.
88 * inflow.c (new_tty): Treat WIN32 in same way as __GO32__
89 * main.c (main): Don't scan options when in WIN32 and exit
90 without entering main loop.
91 * m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
92 * symtab.h (struct symbol, struct partial_symbol): Changed name of
93 member 'class' to 'aclass'.
94 (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
95 * top.c (registers_changed_hook): New definition.
96 * utils.c (quit, notice_quit, initialize_utils): Treate WIN32
97 in same way as __GO32__.
98 * value.h (c_typedef_print): Rename 'new' argument.
99
100 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
101 * configure.in: Suppprt for w65,
102
103
104 Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
105
106 * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
107 not stop_pc, to proceed.
108
109 * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
110
111 Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
112
113 * infcmd.c (signal_command): Accept "signal 0"; the change to not
114 accept it was accidental. "handle 0" and "info signal 0" remain
115 illegal, though.
116
117 Fri Jan 13 15:19:01 1995 Stan Shebs <shebs@andros.cygnus.com>
118
119 * Makefile.in (all): Don't make libgdb-files.
120 (libgdb): New action, makes libgdb-files.
121
122 Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com>
123
124 * stabsread.c (read_enum_type): When pending enum symbols are
125 put into the enum type, they must be inserted in "backwards
126 order, in case we've overflowed a struct pending buffer.
127
128 start-sanitize-gdbtk
129 Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com)
130
131 * gdbtk.c, gdbtk.tcl: Update/add copyright.
132 * gdbtk.tcl (build_framework): Several fixes for filespec widget,
133 including dismiss button, and better error handling.
134 * (create_command_win): Bind button 2 to retrieve selection.
135 end-sanitize-gdbtk
136
137 Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
138
139 * README: Add note about SPARCworks cc release 3.0 and higher.
140
141 Add procfs support for Alpha OSF/1-2.x.
142 * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic
143 OSF/1 native support.
144 * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly.
145 (MUNCH_DEFINE): Removed.
146 * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files
147 for procfs support.
148 * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1
149 release 2.x and higher, else alpha-osf1.mh, as the procfs support
150 in release 1.x is incomplete.
151 * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh.
152 * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
153 fill_fpgregset): New routines for procfs support.
154 * inftarg.c (_initialize_inftarg): Don't add ptrace support
155 if we have an optional procfs and /proc is accessible.
156 * procfs.c: Include sys/fault.h and sys/syscall.h before
157 including sys/procfs.h.
158 (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL
159 is defined, additionally perform a PIOCSSIG to really terminate
160 the inferior.
161 (create_procinfo): Always return a result.
162 (create_procinfo, do_attach): Don't trace T_IFAULT faults if
163 PROCFS_DONT_TRACE_IFAULT is defined.
164 (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as
165 argument to startup_inferior if it is defined.
166 (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead
167 of tracing exits from exec system calls. Needed for the user level
168 loader under Alpha OSF/1.
169 (do_detach): Clear any pending signal if we want to detach from
170 a process without a signal.
171 (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
172 don't issue a PIOCSSIG if pr_cursig already contains the signal we
173 intend to set.
174 (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the
175 pending signals are numbered from 1 instead of 0.
176 (info_proc_mappings): Increase size of output format for addresses
177 if BFD_HOST_64_BIT is defined.
178 (procfs_stop): Renamed from child_stop.
179 (_initialize_procfs): Don't add procfs support if we have an
180 optional procfs and /proc is not accessible.
181
182 start-sanitize-gdbtk
183 Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com)
184
185 * gdbtk.tcl: Add button to control mixed source disassembly.
186 Use text widgets in expr window. The give me more control over
187 layout.
188 Add auto-updating of exprs in expression window.
189 Handle expressions out of scope a bit better.
190 Make selected window pop up to the top when invoked via the
191 menubar.
192 Make copyright message have raised relief.
193
194 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
195 during startup.
196 end-sanitize-gdbtk
197
198 Wed Jan 11 17:53:26 1995 Rob Savoye <rob@darkstar.cygnus.com>
199
200 * array-rom.c: Add support for most commands.
201
202 * monitor.c: Add GDB remote protocol for the hybrid environment on
203 the Array board.
204
205 Wed Jan 11 00:44:01 1995 Jeff Law (law@snake.cs.utah.edu)
206
207 * command.c (show_user_1): Use print_command_line to show a user
208 defined command (including control structures).
209
210 * top.c (init_main): Change documentation for user defined
211 commands to indicate they may accept up to ten arguments.
212
213 Tue Jan 10 16:22:41 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
214
215 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
216 `move $s8, $sp' instruction.
217
218 Sun Jan 8 12:45:34 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
219
220 * target.c, target.h (target_signal_from_command): New function.
221 * infrun.c (handle_command, signals_info), infcmd.c
222 (signal_command): Use it.
223 * infrun.c, infcmd.c: Update docstrings for these commands.
224
225 * target.h (enum target_signal), target.c (signals), target.c
226 (target_signal_from_host, target_signal_to_host): Add
227 TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
228 * config/tm-lynx.h: Define signal numbers for realtime events.
229
230 Sat Jan 7 07:23:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
231
232 * dbxread.c (process_one_symbol): Handle N_FUN symbols
233 for Sun acc 3.0 under SunOS4.
234
235 Changes to improve handling of runtime common symbols
236 under SunOS4.
237 * minsyms.c (get_symbol_leading_char): New routine to determine
238 the leading symbol character for an objfile.
239 (prim_record_minimal_symbol_and_info, install_minimal_symbols):
240 Use it.
241 * objfiles.h (rt_common_objfile): New global, points to objfile
242 containing the runtime common minimal symbols.
243 * objfiles.c (free_objfile): Mark rt_common_objfile as
244 unallocated before freeing it.
245 * solib.c (allocate_rt_common_objfile): New routine to allocate
246 an objfile for the runtime common minimal symbols.
247 (solib_add_common_symbols): Allocate an objfile for the runtime
248 common symbols if necessary and put common symbols into it.
249 Clean up code and comments.
250 (solib_add, special_symbol_handling): Cleanup comments regarding
251 runtime common symbols.
252 * stabsread.c (scan_file_globals_1): New routine, contains
253 old scan_file_globals code. Checks if there are any unresolved
254 global symbols before starting the expensive minimal symbol table
255 search.
256 (scan_file_globals): Now calls scan_file_globals_1 for the passed
257 objfile and eventually for the runtime common objfile. Complains
258 about any unresolved global symbols and removes them from the
259 global symbol chain to avoid dangling pointers into the symbol
260 table if the symbol table is reread.
261
262 Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com)
263
264 * Makefile.in (install_only uninstall): Indent for clarity.
265
266 * core.c (dis_asm_read_memory): Add call to
267 dis_asm_read_memory_hook to provide alternate way for disassembler
268 to read memory.
269
270 * defs.h: Protect from multiple inclusion. Add decl for
271 dis_asm_read_memory_hook.
272
273 * top.c: Make window startup be the default.
274 * Add dis_asm_read_memory_hook.
275
276 start-sanitize-gdbtk
277 * gdbtk.c (finish_saving_output): Don't do anything if not saving
278 output.
279 * (breakpoint_notify): Don't send null filename to tcl.
280 * (gdb_eval): New tcl command to eval an expression.
281 * (gdb_disassemble): New tcl command to do disassembly. This
282 allows tcl code to choose between exec file and target memeory,
283 and can also do mixed source and assembly.
284 * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure
285 that more of the environment is set up. Also, create link between
286 gdb and tcl vars disassemble{-_}from{-_}exec.
287
288 * gdbtk.tcl: New expression window support.
289 * Make assembly window be 80 columns wide.
290 * Use new disassembly method. Add menu items to select
291 disassembly from exec file or target.
292 * Change View menubar item to Options.
293
294 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
295 since they don't exist yet.
296
297 * Pop up a copyright window on startup.
298 end-sanitize-gdbtk
299
300 Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu)
301
302 * stabsread.c (define_symbol): Handle `a' symbol type used for
303 reference parameter passed in a register.
304
305 start-sanitize-gdbtk
306 Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com>
307
308 * gdbtk.tcl (build_framework): Add standard commands menu, more
309 windows to standard windows menu.
310 (not_implemented_yet): Clarify message.
311 end-sanitize-gdbtk
312
313 Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com>
314
315 * defs.h: move include tm.h up, so that the type LONGEST can
316 also based on the target requirement to determine. In this case
317 target mips64.
318
319 * remote-os9k.c (rombug_open): catch exception e in rombug.
320 * remote-os9k.c (rombug_wait): print message before register display
321 from rombug.
322
323 Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
324
325 * top.c (locate_arg): Call strchr not index.
326
327 Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
328
329 * ch-exp.y (literal): Recognize NULL.
330 (tuple): Parse simple unlabelled tuples.
331 * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to
332 evaluate brace-initializer-expressions depending on context.
333 (evaluate_subexp case UNOP_CAST): Pass the target type as
334 expected type when evaluating the expression.
335
336 * ch-typeprint.c (chill_type_print_base): Get names of PTR and
337 BOOL from TYPE_NAME.
338 * ch-valprint.c (chill_print_type_scalar): New function, to handle
339 TYPE_CODE_RANGE better than print_type_scalar does.
340 (chill_val_print_array_elements): Use above new function.
341
342 Mon Jan 2 15:02:51 1995 Stan Shebs <shebs@andros.cygnus.com>
343
344 * remote-udi.c (udi_load): Tell symbol_file_add that the
345 program being loaded is the main program.
346
347 For older changes see ChangeLog-94
348 \f
349 Local Variables:
350 mode: indented-text
351 left-margin: 8
352 fill-column: 74
353 version-control: never
354 End:
This page took 0.042406 seconds and 5 git commands to generate.