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