* remote.c (getpkt): Remove unused "out" label.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Wed Mar 30 11:43:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2
3 * remote.c (getpkt): Remove unused "out" label.
4
5 Wed Mar 30 09:15:42 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
6
7 * breakpoint.c (print_it_normal): Allow GDB to notify the user
8 about more than one watchpoint being triggered.
9
10 Wed Mar 30 08:24:18 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11
12 * config/m68k/tm-dpx2.h: Include tm-m68k.h not nonexistent tm-68k.h.
13
14 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15
16 * blockframe.c (find_pc_partial_function): mst_file_text
17 symbols do not live in the shared library transfer table.
18 * ch-exp.y (decode_integer_value, match_character_literal,
19 match_bitstring_literal): Guard tolower calls with isupper,
20 tolower on old BSD systems blindly subtracts a constant.
21 * dbxread.c (read_ofile_symtab): Check for __gnu_compiled_* as
22 well when determining the producer of the object file.
23 * mdebugread.c (has_opaque_xref): New function to check for
24 cross reference to an opaque aggregate.
25 * mdebugread.c (parse_symbol, parse_partial_symbols): Do not
26 enter typedefs to opaque aggregates into the symbol tables.
27 * mdebugread.c (parse_external): Remove skip_procedures argument,
28 it has always been 1. Remove code that handled stProc symbols,
29 it was never executed and was wrong, as the index of a
30 stProc symbol points to the local symbol table and not to the
31 auxiliary symbol info. Update caller.
32 * mdebugread.c (parse_partial_symbols): Do not enter external
33 stProc symbols into the partial symbol table, they are already
34 entered into the minimal symbol table.
35 * config/i386/tm-symmetry.h: Clean up, it is now only used for Dynix.
36 Remove all conditionals and definitions for ptx.
37 I386_REGNO_TO_SYMMETRY moved to here from symm-tdep.c.
38 Fix addresses of floating point registers in REGISTER_U_ADDR.
39 STORE_STRUCT_RETURN now handles cc and gcc conventions.
40 FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC,
41 IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET defined to make backtracing through
42 signal trampoline code work.
43 * config/i386/xm-symmetry.h: Clean up, it is now only used for Dynix.
44 Remove all conditionals and definitions for ptx.
45 Remove KDB definitions.
46 * symm-nat.c (store_inferior_registers): Fetch registers before
47 storing them to obtain valid floating point control registers.
48 Store fpu registers.
49 * symm-nat.c (print_1167_control_word): Dynix 3.1.1 defines
50 FPA_PCR_CC_C0 and FPA_PCR_CC_C1, avoid duplicate case value.
51 * symm-nat.c (fetch_inferior_registers, child_xfer_memory):
52 Fix typos.
53 * symm-nat.c (child_resume): Update type of `signal' parameter.
54 * symm-tdep.c (I386_REGNO_TO_SYMMETRY): Moved to tm-symmetry.h.
55
56 Tue Mar 29 23:01:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
57
58 * hppa-tdep.c (hppa_fix_call_dummy): Use an alternate method for
59 calling import stubs for functions in shared libraries.
60
61 Tue Mar 29 21:14:04 1994 Per Bothner (bothner@kalessin.cygnus.com)
62
63 * ch-exp.y: Implement SIZE(mode_name) and SIZE(expression).
64
65 * ch-lang.c (chill_is_varying_struct): Magic string is
66 was "<var_length>" is now "__var_length" (more portable).
67
68 Tue Mar 29 19:41:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
69
70 * remote.c (getpkt): If we get a timeout, actually retry rather
71 than just giving up the first time it happens.
72 * remote.c: Document sequence numbers.
73 (remote_store_registers): Change syntax of 'P' request so that it
74 never looks like a sequence number.
75
76 Tue Mar 29 16:06:01 1994 Kung Hsu (kung@mexican.cygnus.com)
77
78 * os9kread.c (record_minimal_symbol): add section_offset to
79 relocate minimal symbol table.
80 * os9kread.c (read_minimal_symbols): ditto.
81 * os9kread.c (os9k_symfile_init): increase size of dbg and stb
82 file names.
83 * os9kread.c (read_os9k_psymtab): if there's no dbg file, just
84 return. Also if file addr is 0 leave it 0, not to relocate.
85 * remote-os9k.c (_initialize_remote_os9k): add 'set remotexon',
86 'set remotexoff' and 'set remotelog' commands.
87
88 Tue Mar 29 12:38:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
89
90 * remote.c (remote_store_registers): Add 'P' request to set an
91 individual register.
92 (remote_write_bytes, remote_read_bytes): Use %lx, not %x, to print
93 a target address.
94
95 Sat Mar 26 07:05:18 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
96
97 * config/sparc/tm-sparc.h: Define USE_REGISTER_NOT_ARG.
98 * stabsread (define_symbol): If USE_REGISTER_NOT_ARG, go back to
99 combining all 'p' and 'r' pairs into a LOC_REGPARM.
100
101 * command.c (do_setshow_command, case var_string): Never add a
102 space to the end of the string.
103 * NEWS: Document this change.
104 * .gdbinit: Add a space to the "set prompt" command.
105
106 Fri Mar 25 12:40:41 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
107
108 * m3-nat.c, i386m3-nat.c, config/i386/i386m3.mh: Many minor
109 changes to make it compile (it doesn't link yet).
110
111 * buildsym.c (start_subfile, patch_subfile_names), demangle.c
112 (set_demangling_style, set_demangling_command): Use savestring not
113 strdup. We were not dealing properly with a NULL return from
114 strdup, and were not declaring strdup (the system header may or
115 may not have it).
116
117 * valprint.c (val_print): Remove inaccurate comment about what
118 types can be stub types.
119
120 * config/i386/ptx.mh (XDEPFILES): Add coredep.o. Delete infptrace.o.
121 * symm-nat.c (child_wait, _initialize_symm_nat, kill_inferior):
122 Supply alternate version if ATTACH_DETACH is not defined.
123 * ptx4-nat.c, config/i386/{nm-ptx4.h, ptx4.mh, ptx.mt, ptx4.mt,
124 tm-ptx.h, tm-ptx4.h, xm-ptx.h, xm-ptx4.h}: New files.
125 * configure.in: Recognize i[34]86-sequent-sysv4* host.
126
127 Fri Mar 25 10:14:03 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
128
129 * hppa-tdep.c (skip_prologue): Do nothing if not at the beginning
130 of a function.
131 (skip_trampoline_code): Rewrite and add support for argument
132 relocation stubs stubs, import/export stubs, calls through
133 "_sr4export" and cascaded trampolines.
134
135 * hppa-tdep.c (skip_prologue): Return "pc" not zero
136 if no unwind descriptor is found.
137
138 * tm-hppa.h (NUM_REGS): Bump to 128 registers.
139 (REGISTER_NAMES): Add entries for "right-half" of FP registers.
140 (REGISTER_RAW_SIZE, MAX_REGISTER_RAW_SIZE): Do not treat FP regs
141 differently. All registers are four bytes.
142 (REGISTER_BYTES, REGISTER_BYTE): Simplify now that all registers are
143 the same size.
144 (REGISTER_VIRTUAL_TYPE): Use builtin_type_float for all FP regs.
145
146 * hppa-tdep.c (pa_print_fp_reg): Update to print even numbered FP
147 registers as both single and double values (fetching 2nd 32bit half
148 as necessary). Annotate each register printed with its precision.
149
150 * paread.c (read_unwind_info): Fix off-by-one error.
151
152 Fri Mar 25 08:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
153
154 * main.c (complete_command): Deal with it if arg is NULL.
155
156 Thu Mar 24 07:12:09 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
157
158 * config/mips/tm-mips.h (SETUP_ARBITRARY_FRAME): Revise comment
159 regarding using the PC--using the PC is necessary and all the
160 FIXME comments in the world won't make it go away.
161
162 * valops.c (value_at, value_at_lazy): Give error if we dereference
163 a pointer to void.
164 * gdbtypes.h: Fix comments regarding TYPE_CODE_VOID.
165 * stabsread.c: Use 1, not 0, for TYPE_LENGTH of void types.
166
167 * stabsread.c (patch_block_stabs): Add comment about what happens
168 if the definition is in another compilation unit from the stab.
169
170 * dbxread.c (end_psymtab): Add comment about empty psymtabs.
171
172 Wed Mar 23 07:50:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
173
174 * main.c (complete_command): New command, from Rick Sladkey
175 <jrs@world.std.com>.
176 (symbol_completion_function): Don't declare rl_point and
177 rl_line_buffer; they are now declared in readline.h.
178 (show_commands): Don't declare history_base; it is declared in
179 history.h.
180 * command.c (lookup_cmd): Don't delete trailing whitespace.
181 Reverts change of 14 May 1989.
182
183 Wed Mar 23 16:14:52 1994 Stu Grossman (grossman at cygnus.com)
184
185 * minsyms.c (prim_record_minimal_symbol): Move section deduction
186 code from prim_record_minimal_symbol_and_info() to here. Callers
187 of the latter can legitimately supply a section number of -1.
188
189 Wed Mar 23 07:50:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
190
191 * gdbtypes.h, gdbtypes.c: Add comments regarding whether static
192 member functions have an element in args for a (nonexistent) this
193 pointer.
194
195 Tue Mar 22 20:12:53 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
196
197 * config/pa/tm-hppao.h (NO_PC_SPACE_QUEUE_RESTORE): Define.
198
199 * hppa-tdep.c (hppa_pop_frame): Do not restore the PC space
200 queue if NO_PC_SPACE_QUEUE_RESTORE is defined.
201
202 * stabsread.c (REG_STRUCT_HAS_ADDR): Accept additional argument
203 for the structure's type. All callers changed.
204
205 * valops.c (call_function_by_hand): Check REG_STRUCT_HAS_ADDR
206 for each structure argument rather than assuming it's either
207 true or false for all structure arguments.
208
209 * config/pa/tm-hppa.h (REG_STRUCT_HAS_ADDR): Depend only
210 on the length structure passed, not the compiler used.
211
212 * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Accept additional
213 argument for the structure's type.
214
215 Tue Mar 22 15:28:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
216
217 * values.c (set_internalvar): Don't set var->value until we are
218 sure there won't be an error().
219
220 * remote.c (get_offsets): Reinstate comment which was in
221 remote_wait about use of SECT_OFF_TEXT and so on.
222
223 Mon Mar 21 13:11:30 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
224
225 * symmisc.c (maintenance_check_symtabs): New function to check
226 consistency of psymtabs and symtabs.
227 * symtab.h (maintenance_check_symtabs): Add prototype.
228 * maint.c: Add new `maint check-symtabs' command.
229 * config/i386/tm-i386aix.h, config/i386/tm-sun386.h,
230 config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Fix typo.
231 * config/i386/tm-symmetry.h: Make comment inside #if 0 a real
232 comment.
233 * config/i386/tm-symmetry.h (STORE_STRUCT_RETURN): Cast argument
234 to write_memory to avoid warnings from gcc.
235 * config/i386/xm-symmetry.h: Add missing #endif.
236 * config/i386/nm-symmetry.h (NO_PTRACE_H): Add for Dynix.
237 * config/i386/symmetry.mt (TDEPFILES): Add i386-tdep.o.
238 * config/i386/symmetry.mh (NAT_FILE, NATDEPFILES): Add.
239
240 Mon Mar 21 11:50:28 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
241
242 * hppa-tdep.c (hppa_fix_call_dummy): Use value_ptr.
243 (hppa_push_arguments): Likewise.
244
245 Mon Mar 21 11:02:51 1994 Stu Grossman (grossman at cygnus.com)
246
247 * alpha-tdep.c: Gobs of changes (many imported from mips-tdep) to
248 improve remote debugging efficiency. Also fixed problems with
249 doing function calls for programs with no entry points.
250 * infcmd.c (run_stack_dummy): Use CALL_DUMMY_ADDRESS instead of
251 entry_point_address.
252 * inferior.h (PC_IN_CALL_DUMMY): ditto.
253 * mdebugread.c (parse_symbol, parse_procedure, parse_external,
254 parse_lines): Pass section_offsets info to these routines so that
255 we can relocate symbol table entries upon readin.
256 * (psymtab_to_symtab_1): Set symtab->primary to tell
257 objfile_relocate to do relocations for our symbols.
258 * (ecoff_relocate_efi): New routine to relocate adr field of PDRs
259 (which hang off of the symbol table).
260 * Use prim_record_minimal_symbols_and_info instead of
261 prim_record_minimal_symbols to supply section info to make minimal
262 symbol relocations work.
263 * minsyms.c (prim_record_minimal_symbols_and_info): If section is
264 -1, try to deduce it from ms_type.
265 * objfiles.c (objfile_relocate): Use ALL_OBJFILE_SYMTABS where
266 appropriate. Handle relocation of MIPS_EFI symbols special. Also,
267 add code to relocate objfile->sections data structure.
268 * remote.c (get_offsets): Use new protocol message to acquire
269 section offsets from the target.
270 * (remote_wait): Get rid of relocation stuff. That's all handled
271 by objfile_relocate now.
272 * config/alpha/alpha-nw.mt (TM_FILE): Use tm-alphanw.h.
273 * config/alpha/tm-alpha.h: Define CALL_DUMMY_ADDRESS, and
274 VM_MIN_ADDRESS.
275 * config/alpha/tm-alphanw.h: DECR_PC_AFTER_BREAK=0, VM_MIN_ADDRESS=0.
276
277 Sun Mar 20 15:21:57 1994 Doug Evans (dje@cygnus.com)
278
279 * sparc-tdep.c (sparc_frame_find_save_regs): Use REGISTER_RAW_SIZE
280 instead of 4.
281
282 start-sanitize-v9
283 * sp64-tdep.c (target_ptr_bit, set_target_ptr_bit): Deleted,
284 can no longer set this at run time.
285 * config/sparc/sp64.mt (SIMFILES): Use remote-sim.o now.
286 (TM_CLIBS): Define to -lm, the simulator uses the sqrt() function.
287 * config/sparc/tm-sp64.h (FPS_REGNUM, CPS_REGNUM): Define (so
288 sparc-tdep.c compiles).
289 (TARGET_PTR_BIT): Must be a constant now, fix at 64.
290 end-sanitize-v9
291
292 Sat Mar 19 08:51:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
293
294 * config/m68k/{cisco.mt,tm-cisco.h}: New files.
295 * Makefile.in (ALLPARAM, ALLCONFIG): Add them.
296 * configure.in: Recognize m68*-cisco*-*.
297
298 * Makefile.in (TAGS): Use variables directly, rather than using
299 find, to locate TM_FILE, XM_FILE, and NAT_FILE. This is faster
300 and means that these filenames no longer need be unique across all
301 the config/* directories.
302 * configure.in: Put the config/*/ into TM_FILE, etc.
303
304 * m68k-stub.c (computeSignal): Return SIGFPE, not SIGURG, for chk
305 and trapv exceptions.
306
307 * target.h (struct section_table), objfiles.h (struct obj_section):
308 Change name of field sec_ptr to the_bfd_section. More mnemonic
309 and avoids the (sort of, for the ptx compiler) name clash with
310 the name of the typedef.
311 * exec.c, xcoffexec.c, sparc-tdep.c, rs6000-nat.c, osfsolib.c,
312 solib.c, irix5-nat.c, objfiles.c, remote.c: Change users.
313
314 * utils.c: Include readline.h.
315 * Makefile.in (utils.o): Add dependency.
316
317 * remote.c (getpkt): Add support for run-length encoding.
318
319 Fri Mar 18 19:11:15 1994 Steve Chamberlain (sac@jonny.cygnus.com)
320
321 * utils.c (prompt_for_continue): Call readline, not gdb_readline.
322
323 Fri Mar 18 10:25:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
324
325 * dstread.c (record_minimal_symbol): New arg objfile. Pass it to
326 prim_record_minimal_symbol.
327 Callers: Pass it.
328
329 * regex.c (EXTEND_BUFFER): Adjust pointers within buffer by
330 computing their offset from the start of the old buffer and adding
331 to the new buffer, rather than by assuming we can add the
332 difference between the old buffer and the new buffer (it might not
333 fit in an int). Merge in cosmetic differences from emacs regex.c
334 version of this macro.
335
336 Wed Mar 16 15:28:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
337
338 * Makefile.in (install-only): Fix use of program_transform_name.
339
340 Wed Mar 16 07:18:43 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
341
342 * printcmd.c: Remove "set print fast-symbolic-addr off" command.
343 The bug which it worked around was fixed on 25 Feb 94 in coffread.c,
344 so I'm nuking the command.
345 * symtab.c (find_addr_symbol): Comment out, no longer used.
346
347 * main.c (main): Don't init_source_path for the -cd argument. Now
348 that source_path doesn't contain the current_directory from when
349 GDB started up, init_source_path is no longer useful (and is
350 harmful because it clobbers a source_path set in $HOME/.gdbinit).
351
352 * TODO: Remove item about line numbers being off. It is useless
353 and confusing without a reproducible test case (it mentions
354 proceed(), but I was able to step through proceed without trouble).
355
356 Tue Mar 15 13:39:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
357
358 For Sunos 4.x targets, enable gdb to set breakpoints in shared
359 library functions before the executable is run. Retrieve dynamic
360 symbols from stripped executables.
361 * symtab.h (minimal_symbol_type): Add mst_solib_trampoline type.
362 * parse.c (write_exp_msymbol), symmisc.c (dump_msymbols),
363 symtab.c (list_symbols): Handle mst_solib_trampoline.
364 * minsyms.c (lookup_minimal_symbol): Handle mst_solib_trampoline
365 for all targets, remove IBM6000_TARGET dependencies.
366 * dbxread.c (read_dbx_dynamic_symtab): New function.
367 * dbxread.c (dbx_symfile_read): Use it.
368 * dbxread.c (SET_NAMESTRING): Set namestring to
369 "<bad string table index>" instead of "foo" if the string index is
370 corrupt.
371 * xcoffread.c (read_xcoff_symtab): Use mst_solib_trampoline instead
372 of mst_unknown.
373 * symtab.c (list_symbols): Take from_tty as parameter and pass it
374 to break_command. Handle mst_file_* minimal symbol types.
375 * config/i386/tm-i386bsd.h: Give just macro name, not args, to #undef.
376
377 Tue Mar 15 11:40:43 1994 Kung Hsu (kung@mexican.cygnus.com)
378
379 * c-exp.y(yylex): fix potential memory overflow.
380
381 Tue Mar 15 10:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
382
383 * environ.c (set_in_environ): Eliminate special handling of PATH and
384 GNUTARGET.
385 * putenv.c: Removed, conflicts with system declaration of
386 putenv on RS/6000 running AIX 3.2.5, and above change makes it
387 unnecessary.
388 * Makefile.in: Change accordingly.
389 * procfs.c (procfs_create_inferior): Change comment accordingly.
390
391 Tue Mar 15 10:05:27 1994 Jim Kingdon (kingdon@cygnus.com)
392
393 * rs6000-tdep.c: Change value to value_ptr.
394
395 Sun Mar 13 09:45:51 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
396
397 * i386m3-nat.c: Include floatformat.h.
398 (get_i387_state): Use memset not bzero.
399
400 * Version 4.12.3.
401
402 * Makefile.in: Enable commented out getopt_h, bfd_h, etc. Change
403 ieee-float.h to floatformat.h.
404
405 * valprint.c (val_print_string): Ignore error if the error
406 happened after a terminating '\0'.
407
408 * c-valprint.c (c_val_print): Never add 1 to return value from
409 val_print_string; just return what it returns.
410
411 * target.h (enum target_signal): Add TARGET_SIGNAL_FIRST, for
412 looping through all of the enums.
413 * infrun.c (signals_info): Use it.
414
415 Fri Mar 11 08:08:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
416
417 * main.c (main): When printing warning about bad baud rate, don't
418 use warning(); it relies on current_target which isn't set up yet.
419
420 * breakpoint.c (_initialize_breakpoint): Update docstring for
421 tbreak to match what the code actually does. Don't mention tbreak
422 in docstrings for "enable once" or "enable breakpoints once".
423
424 Thu Mar 10 08:52:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
425
426 * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Don't put a semicolon after
427 while (0). That defeats the whole purpose of using do . . . while (0).
428 * mdebugread.c (parse_partial_symbols): Don't use ?: expression as
429 list for ADD_PSYMBOL_TO_LIST; the macro takes its address and
430 using a ?: expression as an lvalue is not portable.
431
432 * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR, also
433 convert a LOC_ARG to a LOC_REF_ARG. Update code which combines
434 'p' and 'r' symbol descriptors into a single symbol to look for a
435 LOC_REF_ARG.
436 * README, config/sparc/tm-sparc.h: Update comments.
437
438 Wed Mar 9 21:43:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
439
440 * mdebugread.c (parse_type): Do not complain for types with
441 an `indexNil' aux index, these are simply undefined types.
442 Remove indexNil check from caller of parse_type.
443 * mdebugread.c (parse_partial_symbols): Do not enter
444 stGlobal, scCommon symbols into the minimal symbol table, their
445 value is the size of the common, not its address.
446 Handle scInit, scFini, scPData and scXData sections.
447 Use minimal symbol type mst_file_* for stLabel symbols, instead of
448 mst_*.
449 Enter stProc symbols into the global_psymbols list once, not into
450 the static_psymbols_list.
451 Get rid of dummy psymtab if it is empty, to allow proper detection
452 of stripped executables.
453 * mdebugread.c (cross_ref): Allow cross references to Fortran
454 common blocks.
455
456 Wed Mar 9 15:23:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
457
458 * stabsread.c (common_block_end, fix_common_block): Stash the
459 struct pending * in the SYMBOL_TYPE, not the SYMBOL_NAMESPACE, so
460 as to not assume that a pointer fits in an enum.
461
462 Wed Mar 9 18:56:36 1994 Kung Hsu (kung@mexican.cygnus.com)
463
464 * os9kread.c (fill_sym): check compiler verion number for pre-
465 UltraC compiler.
466 * os9kread.c (os9k_process_one_symbol): address of symbol is
467 relative to section not module.
468 * stabsread.c (define_symbol): add symbol type 's' as local
469 symbol for os9k.
470 * remote-os9k.c: add command 'set monitor_log' to turn on or off
471 monitor logging.
472 * remote-os9k.c: fix bug in delete breakpoint, single step trace.
473 * remote-os9k.c: fix bug in 'set remotebaud' function.
474 * remote-os9k.c (rombug_link): minimize checking so to improve
475 speed.
476 * symfile.c (symbol_file_command): check if failed to link, also make
477 the command be able to accept more than one filenames.
478 * target.c (target_link): check if failed to link with rombug.
479 * config/i386/tm-i386os9k.h : add #define DECR_PC_AFTER_BREAK 0.
480
481 Wed Mar 9 15:23:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
482
483 * remote-es.c (es1800_child_ops): Don't declare it static.
484
485 Tue Mar 8 11:42:39 1994 Jim Kingdon (kingdon@cygnus.com)
486
487 * config/i386/tm-i386v4.h: Give just macro name, not args, to #undef.
488
489 Tue Mar 8 06:56:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
490
491 * dbxread.c: New variable lowest_text_address.
492 (record_minimal_symbol, read_dbx_symtab): Set it.
493 (read_dbx_symtab): Use lowest_text_address + text_size instead of
494 end_of_text_address.
495 * config/gould/tm-pn.h: Add comment regarding END_OF_TEXT_DEFAULT.
496
497 * dbxread.c (end_psymtab): Remove old and commented out
498 capping_global and capping_static. Fix comments regarding
499 N_SO_ADDRESS_MAYBE_MISSING to match the real name of the macro.
500
501 * parser-defs.h: Add "extern" to start of variable declarations so
502 we don't end up with commons.
503 * parse.c: Define these variables.
504
505 * irix5-nat.c (find_solib): Cast o_path to CORE_ADDR when using it
506 as one.
507
508 Mon Mar 7 13:00:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
509
510 * alpha-tdep.c: Change value to value_ptr.
511
512 Sun Mar 6 17:36:53 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
513
514 * solib.c (elf_locate_base): New function to locate the address
515 of the dynamic linker's runtime structure in the dynamic info section.
516 * solib.c (locate_base): Use it instead of iterating over the list
517 of mapped address segments.
518 * solib.c (look_for_base, bfd_lookup_symbol): Removed, no longer
519 necessary.
520
521 Fri Mar 4 09:50:47 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
522
523 * hppa-tdep.c (pc_in_linker_stub): Move decl to beginning of file.
524 (pc_in_interrupt_handler): New function. Also add PARAM decl.
525 (find_proc_framesize): Deal with HPUX setting SAVE_SP bit for
526 signal trampoline and interrupt routines.
527 (frame_saved_pc): Handle signal trampolines and interrupt routines.
528 (frame_chain, frame_chain_valid): Likewise.
529 (hppa_frame_find_saved_regs): Likewise. Also deal with special
530 saved regs convention for SP.
531
532 * tm-hppa[bho].h: FRAME_FIND_SAVED_PC_IN_SIGTRAMP): Define.
533 (FRAME_BASE_BEFORE_SIGTRAMP): Define.
534 (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Define.
535
536 * tm-hppah.h (IN_SIGTRAMP): Define.
537
538 Thu Mar 3 12:41:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
539
540 * ch-exp.y (match_simple_name_string): Accept '_' as well as an
541 alphabetic character as the start of a name.
542
543 * sparclite/Makefile.in (all install): Build and install aload.
544
545 * configure.in: Accept i[34]86-*-*sysv32 because that is what
546 config.guess and config.sub produce.
547
548 * mips-tdep.c: Change value to value_ptr.
549
550 Wed Mar 2 09:17:55 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
551
552 * breakpoint.c, breakpoint.h, c-valprint.c, ch-valprint.c,
553 cp-valprint.c, eval.c, expprint.c, findvar.c, language.c,
554 objfiles.h, infcmd.c, printcmd.c, stack.c, typeprint.c,
555 valarith.c, valops.c, valprint.c, value.h, values.c: Replace
556 value with value_ptr. This is for the ptx compiler.
557 * objfiles.h, target.h: Don't declare a "sec_ptr" field using a
558 "sec_ptr" typedef.
559 * symm-nat.c: Add a bunch of stuff for symmetry's ptrace stuff.
560 #if 0 i386_float_info.
561 * symm-tdep.c (round): Remove. Also remove sgttyb.
562 * symm-tdep.c: Remove lots of stuff which duplicates stuff from
563 i386-tdep.c. Remove register_addr and ptx_coff_regno_to_gdb.
564 * i386-tdep.c (i386_frame_find_saved_regs): Put in
565 I386_REGNO_TO_SYMMETRY check in case it is needed for Dynix
566 someday.
567 * config/i386/nm-symmetry.h: Change KERNEL_U_ADDR. Move
568 stuff from PTRACE_READ_REGS, PTRACE_WRITE_REGS macros to
569 symm-nat.c. Define CHILD_WAIT and declare child_wait().
570 * config/i386/tm-symmetry.h: Remove call function stuff; stuff in
571 tm-i386v.h is apparently OK.
572 * config/i386/xm-symmetry.h [_SEQUENT_]: Define HAVE_TERMIOS not
573 HAVE_TERMIO. Define MEM_FNS_DECLARED, NEED_POSIX_SETPGID, and
574 USE_O_NOCTTY.
575
576 Wed Mar 2 11:31:08 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
577
578 * osfsolib.c (xfer_link_map_member): Update to use new
579 target_read_string interface.
580
581 Wed Mar 2 09:17:55 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
582
583 * infrun.c (wait_for_inferior): In checking
584 remove_breakpoints_on_following_step, check
585 through_sigtramp_breakpoint as well as step_resume_breakpoint.
586
587 Tue Mar 1 16:22:56 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
588
589 * os9kread.c (os9k_process_one_symbol): Rename
590 VARIABLES_INSIDE_BLOCK to OS9K_VARIABLES_INSIDE_BLOCK.
591 * symfile.c (symbol_file_command): Check for (CORE_ADDR)-1, not
592 (CORE_ADDR)0, from target_link, since that is what it uses.
593 Process name at end, not during parsing (like we did before Kung's
594 change), so that -readnow and -mapped can appear anywhere.
595 Make text_relocation a local variable.
596 * config/i386/i386os9k.mt: Fix comment.
597 * Makefile.in (ALLDEPFILES): Add remote-os9k.c.
598 * os9kread.c: Put "comments" after #endif inside /* */.
599 * stabsread.h: Add os9k_stabs variable.
600 * stabsread.c (start_stabs), os9kread.c (os9k_process_one_symbol):
601 Set it.
602 * stabsread.c (define_symbol): If os9k_stabs, put a 'V' symbol
603 descriptor in global_symbols not local_symbols.
604 (read_type): If os9k_stabs, accept 'c', 'i', and 'b' type
605 descriptors.
606 (read_type): If os9k_stabs, accept function parameters after 'f'
607 type descriptor.
608 (read_array_type): If os9k_stabs, don't expect index type and
609 expect lower and upper to be separated by ',' not ';'.
610 (read_enum_type): If os9k_stabs, read a number before the first
611 enumeration constant.
612 (os9k_init_type_vector): New function.
613 (dbx_lookup_type): Call it when starting new type vector.
614 * config/i386/tm-i386os9k.h: Define BELIEVE_PCC_PROMOTION.
615 * (os9k_process_one_symbol): Call define_symbol not os9k_define_symbol.
616 * os9kstab.c: Removed.
617 * Makefile.in: Update accordingly.
618 * objfiles.c (objfile_relocate_data): Removed.
619 * remote-os9k.c (rombug_wait): Call objfile_relocate
620 not objfile_relocate_data.
621 * objfiles.h, objfiles.c: Remove find_pc_objfile.
622 * remote-os9k.c (rombug_wait): Call find_pc_section not
623 find_pc_objfile.
624 * main.c (quit_command): Check inferior_pid; revert Kung change.
625 * remote-os9k.c (rombug_create_inferior): Set inferior_pid.
626
627 Tue Mar 1 14:56:14 1994 Kung Hsu (kung@mexican.cygnus.com)
628
629 * os9kread.c: New file to read os9000 style symbo table.
630 * os9kstab.c: new file to read os9000 style stabs.
631 * remote-os9k.c: remote protocol talking to os9000 rombug monitor.
632 * objfiles.c (find_pc_objfile): new function to search objfile
633 from pc.
634 * objfiles.c (objfile_relocate_data): new function to relocate
635 data symbols in symbol table.
636 * objfiles.h: Add two aux fields in struct objfile to handle
637 multiple symbol table files situation like in os9000.
638 * symfile.c: Change so 'symbol-file' command can handle multiple
639 files. Also call target_link() to get relocation infos.
640 * target.c (target_link): new function to get relocation info when
641 a symbol file is requested to load.
642 * main.c (quit_command): take out 'inferior_pid != 0' condition,
643 because in cross mode there's no inferior pid, bit they need to
644 be detached.
645 Makefile.in: add os9kread.c os9kstab.c and .o's.
646 configure.in: add i386os9k target.
647 config/i386/i386os9k.mt: new add.
648 config/i386/tm-i386os9k.h: new add.
649
650 Tue Mar 1 13:16:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
651
652 * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP): Handle ucbsigvechandler.
653 * sparc-tdep.c (sparc_frame_saved_pc): Handle ucbsigvechandler.
654
655 Tue Mar 1 11:54:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
656
657 * target.c, target.h (target_read_string): Provide error detection to
658 caller. Put string in malloc'd space, so caller need not impose
659 arbitrary limits.
660 * solib.c (find_solib): Update to use new interface.
661 * irix5-nat.c (find_solib): Read o_path from inferior
662 (clear_solib): Free storage for o_path.
663 * valprint.c (val_print_string): Add comments.
664
665 Mon Feb 28 23:54:39 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
666
667 * symtab.c (decode_line_1): Handle the case when skip_quoted does not
668 advance `p'.
669
670 Mon Feb 28 12:40:46 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
671
672 * value.h (struct value): Add modifiable field.
673 * values.c (allocate_value, record_latest_value, value_copy): Set it.
674 (record_latest_value): Don't mess with VALUE_LVAL of value.
675 * valops.c (value_assign): Check it. Reword existing error
676 message on not_lval.
677
678 * mips-tdep.c (mips_step_skips_delay), config/mips/tm-mips.h
679 (STEP_SKIPS_DELAY): Added.
680 * infrun.c (proceed) [STEP_SKIPS_DELAY]: Check for a breakpoint in
681 the delay slot.
682
683 * valprint.c (val_print_string): If errcode is set, always print
684 an error, regardless of force_ellipsis. In the non-EIO case,
685 just print the error message rather than calling error(). Don't
686 access *(bufptr-1) if bufptr points to the start of the buffer.
687 When looking for '\0', don't increment bufptr and addr if bufptr
688 started out already at limit. If an error happens on fetching the
689 first character, don't print the string.
690
691 Sun Feb 27 21:05:06 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
692
693 * config/m68k/tm-apollo68b.h: Remove HAVE_68881 define; it is
694 obsolete.
695
696 * i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c,
697 i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c
698 config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h,
699 m88k-tdep.c: Use floatformat.h instead of ieee-float.h.
700 * sparc-tdep.c: Remove now-obsolete ieee-float.h stuff
701 * findvar.c: Update comment regarding ieee-float.h.
702
703 Sun Feb 27 21:39:48 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
704
705 * config/i386/tm-i386v4.h (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP,
706 FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC):
707 Define to make backtracing through the various sigtramp handlers
708 work.
709 * i386-tdep.c (i386v4_sigtramp_saved_pc): New routine to fetch
710 the saved pc from ucontext on the stack for SVR4 signal handling.
711
712 Fri Feb 25 09:41:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
713
714 * remote.c, remote-mon.c, remote-utils.c, remote-utils.h,
715 target.h, remote-es.c, remote-nindy.c: Don't set baud rate if
716 baud_rate is -1. Remove sr_get_baud_rate and sr_set_baud_rate;
717 just use the global variable itself. When printing baud rate,
718 don't print a baud rate if baud_rate is -1.
719
720 * coffread.c (read_coff_symtab): Pass mst_file_* to
721 record_minimal_symbol for C_STAT symbols. Put C_EXT and C_STAT
722 symbols in the minimal symbols regardless of SDB_TYPE.
723
724 Thu Feb 24 08:30:33 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
725
726 * breakpoint.h (enum bptype): New type bp_through_sigtramp.
727 (bpstat_what_main_action): New code BPSTAT_WHAT_THROUGH_SIGTRAMP.
728 * breakpoint.c (bpstat_what): Return BPSTAT_WHAT_THROUGH_SIGTRAMP
729 if we hit a bp_through_sigtramp breakpoint. Remove kludge which
730 ignored bs->stop for a bp_step_resume breakpoint.
731 * infrun.c (wait_for_inferior): Make a through_sigtramp_breakpoint
732 which performs one (the check_sigtramp2 one) of the functions
733 which had been handled by the step_resume_breakpoint. For each
734 use of the step_resume_breakpoint, make it still use the
735 step_resume_breakpoint, use the through_sigtramp_breakpoint, or
736 operate on both.
737 Deal with BPSTAT_WHAT_THROUGH_SIGTRAMP return from bpstat_what.
738 When setting the frame address of the step resume breakpoint, set
739 it to the address for frame *before* the call instruction is
740 executed, not after.
741
742 * mips-tdep.c (mips_print_register): Print integers using
743 print_scalar_formatted rather than duplicating all the
744 CC_HAS_LONG_LONG and so on.
745 (mips_push_dummy_frame): Use read_register_gen rather than using
746 read_register and then putting it back in target format with
747 store_unsigned_integer. If registers are more than 4 bytes, give
748 an error rather than have some registers overwrite other
749 registers.
750 #if 0 unused include of opcode/mips.h.
751
752 * symfile.h: Don't declare arguments for coff_getfilename.
753
754 * defs.h: Revert Kung change regarding FORCE_LONG_LONG.
755
756 Thu Feb 24 08:06:52 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
757
758 * configure.in (hppa*-*-osf*): New configuration.
759 * config/pa/hppaosf.mt: New target makefile fragment.
760 * config/pa/tm-hppao.h: New target include file.
761
762 Thu Feb 24 04:29:19 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
763
764 * exec.c (print_section_info): Print entry point for exec_bfd only.
765 * ser-unix.c (wait_for): Fix typo in HAVE_TERMIO case.
766 * dwarfread.c: Remove second inclusion of <sys/types.h>, which
767 causes problems if <sys/types.h> has no multiple inclusion protection.
768
769 Wed Feb 23 16:28:55 1994 Jeffrey A. Law (law@cygnus.com)
770
771 * tm-hppa.h (CALL_DUMMY): Add two NOP instructions to the end of
772 the call dummy to avoid kernel bugs in HPUX, BSD, and OSF1.
773 (CALL_DUMMY_LENGTH): Changed accordingly.
774
775 Wed Feb 23 16:21:25 1994 Stu Grossman (grossman at cygnus.com)
776
777 * sparc-stub.c (trap_low): Make trap handler work for arbitrary
778 numbers of register windows.
779
780 * sparclite/hello.c: Add factorial function for testing.
781 * salib.c: Use macros instead of constants for I/O addresses to
782 make 931 support easier.
783 * sparclite.h: Change constraint for LOC to "rJ" to force use of
784 register in sta/lda instructions.
785
786 Wed Feb 23 10:39:18 1994 Jim Kingdon (kingdon@rtl.cygnus.com)
787
788 * dbxread.c (process_one_symbol): Set
789 block_address_function_relative for COFF like we do for ELF and SOM.
790
791 Sat Feb 19 03:17:32 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
792
793 * mdebugread.c (new_psymtab): Pass in section_offsets and set
794 them in the pst.
795 * mdebugread.c (handle_psymbol_enumerators): New function to enter
796 the enumerators of an ecoff enum into the partial symbol table.
797 * mdebugread.c (parse_partial_symbols): Call it.
798 * symfile.c (reread_symbols): Initialize objfile->*_psymbols.next.
799 * symmisc.c (dump_psymtab): Fix typo, clean up output of section
800 offsets. Cast psymtab->read_symtab to PTR before passing it to
801 gdb_print_address.
802 * i386-tdep.c (i386_skip_prologue): Skip over instructions that
803 set up the global offset table pointer in pic compiled code.
804 * config/mips/tm-mips.h (FIX_CALL_DUMMY): For big endian targets,
805 error() on TYPE_CODE_FLT arguments whose size is greater than 8,
806 swap all other TYPE_CODE_FLT arguments as mips_push_arguments
807 ensures that floats are promoted to doubles before they are pushed
808 on the stack.
809
810 Fri Feb 18 23:12:59 1994 Stu Grossman (grossman at cygnus.com)
811
812 * sparclite/Makefile.in, sparclite/salib.c, sparclite/sparclite.h:
813 Fixup cache_on and flush_i_cache so that they work for both the
814 930 and 932 processors. Rewrite most low level funcs (uart
815 access & cache stuff) to use new ASI access macros in sparclite.h.
816 Also make it easy to access second serial port.
817
818 Fri Feb 18 22:17:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
819
820 * hp300ux-nat.c: Don't incloude <sys/dir.h>, <sys/ioctl.h>, or
821 <sys/stat.h>; not needed.
822
823 Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
824
825 * stack.c (print_frame_info): In "pathological" case, don't
826 distrust the line number information.
827
828 Fri Feb 18 16:51:14 1994 Kung Hsu (kung@mexican.cygnus.com)
829
830 * mips-tdep.c (mips_print_register): handle 64 bits register.
831 * valprint.c (print_longest): fix a bug in printing 64 bits value.
832
833 Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
834
835 * Version 4.12.2.
836
837 * Makefile.in (install): Do the sed for program_transform_name
838 ourselves instead of worrying about INSTALL_XFORM. This enables
839 users to override INSTALL_PROGRAM in the standard way.
840
841 * Makefile.in (c-exp.tab.o, ch-exp.tab.o, m2-exp.tab.o): Don't
842 depend on Makefile.in.
843
844 * defs.h, valprint.c: Make longest_to_int a function not a macro.
845 Only test against INT_MIN if a LONGEST is bigger than an int.
846
847 * README: Change GhostScript to Ghostscript.
848
849 Fri Feb 18 07:30:55 1994 Jim Kingdon (kingdon@cygnus.com)
850
851 * config/rs6000/{tm-rs6000lynx.h,nm-rs6000lynx.h,xm-rs6000lynx.h}:
852 Rename to tm-rs6000ly.h, nm-rs6000ly.h, xm-rs6000ly.h for 14
853 character file names.
854 * Makefile.in (ALLPARAM): Add these files.
855
856 * config/mips/littlemips64.mt: Rename to mipsel64.mt for 14
857 character file names.
858 * Makefile.in: Add Kung's new mips64 files.
859
860 Thu Feb 17 17:25:47 1994 Kung Hsu (kung@mexican.cygnus.com)
861
862 * configure.in: add mips64-*-elf, mips64-*-ecoff, mips64el-*-elf,
863 mips64el-*-ecoff and mips64-big-*.
864 * defs.h: get rid of FORCE_LONG_LONG.
865 * mips-tdep.c (mips_find_saved_regs): add sd and sdc1 instruction
866 parsing. Change register size to be MIPS_REGSIZE.
867
868 Thu Feb 17 09:30:22 1994 David J. Mackenzie (djm@thepub.cygnus.com)
869
870 * corelow.c, exec.c, irix5-nat.c, mipsread.c, objfiles.c,
871 osfsolib.c, rs6000-nat.c, solib.c, symfile.c, utils.c,
872 xcoffexec.c: Use bfd_get_error and bfd_set_error and new error names.
873
874 Fri Feb 11 21:47:24 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
875
876 * remote-hms.c (readchar, hms_open, hms_fetch_register): Made more robust.
877 (remove_commands, add_commands): Add/remove hms-drain when target
878 is connected.
879
880 Fri Feb 11 16:11:38 1994 Stu Grossman (grossman at cygnus.com)
881
882 * configure.in: Add Lynx/rs6000 support.
883 * lynx-nat.c: Clean up some Sparc stuff. Clean up ptrace error
884 messages. Add rs6000 support. Don't try to modify unwritable
885 registers.
886 * rs6000-nat.c: Move lots of native dependent stuff (like core
887 file support) from rs6000-tdep.c & xcoffexec.c to here.
888 * rs6000-tdep.c: Move native dependent stuff to nat.c.
889 * xcoffexec.c: Move native dependent stuff to nat.c.
890 * config/rs6000/nm-rs6000.h: Move defs of SOLIB_* macros to here
891 from tm file.
892 * config/rs6000/tm-rs6000.h: Remove defs of SOLIB_* funcs, cuz they're
893 really native.
894 * config/rs6000/tm-rs6000lynx.h, config/rs6000/xm-rs6000lynx.h:
895 New files to support Lynx/rs6000.
896
897 Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
898
899 * README: Remove note about gcc warnings on alpha, these should be
900 gone now.
901 * c-exp.y, ch-exp.y, core.c, corelow.c, eval.c, fork-child.c,
902 m2-exp.y, minsyms.c, nlmread.c, parse.c, putenv.c, regex.c
903 remote-utils.c, stabsread.c: Include <string.h>.
904 * regex.c: Include "defs.h", change re_comp argument to const char *.
905 * infptrace.c (fetch_register, store_inferior_registers): Change
906 regaddr to type CORE_ADDR.
907 * config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS):
908 Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR.
909
910 Mon Feb 7 09:21:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
911
912 * symtab.h: Always define BYTE_BITFIELD to nothing.
913
914 Mon Feb 7 08:44:17 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
915
916 * config/m68k/{m68k-em.mt,tm-m68k-em.h}: Remove; no longer used.
917 * configure.in: Remove comment about m68k-em.mt.
918 * Makefile.in: Remove references.
919
920 Mon Feb 7 08:22:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
921
922 * defs.h [BFD64]: Use BFD_HOST_64_BIT, not nonexistent
923 BFD_HOST_64_TYPE.
924
925 Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
926
927 * target.c (target_preopen): If target_kill doesn't remove the
928 target from the stack, use pop_target to do it.
929
930 * coffread.c (process_coff_symbol, case C_TPDEF): Don't set name
931 of TYPE_CODE_PTR or TYPE_CODE_FUNC types. This parallels similar
932 changes to stabsread.c from summer 1993.
933
934 * remote-udi.c (udi_files_info): If prog_name is NULL, just skip
935 printing the program, rather than passing NULL to printf.
936 (udi_detach): Set udi_session_id to -1 so that udi_close doesn't
937 try to call UDIDisconnect again. Print better message.
938 (udi_kill): Just call UDIDisconnect ourselves, rather than doing
939 it via udi_close.
940 (udi_create_inferior): If udi_session_id is negative, open a new
941 TIP rather than giving an error.
942
943 * config/mips/mipsm3.mh, config/i386/i386m3.mh,
944 config/ns32k/ns32km3.mh: Define NAT_FILE.
945 * config/nm-m3.h: Change guard from _OS_MACH3_H_ and _OS_MACH3_H
946 (it was inconsistent and namespace-wrong) to NM_M3_H.
947 * m3-nat.c (mach_really_wait): Change parameter name to ourstatus.
948 (m3_open): New function.
949 (m3_ops): Use it.
950 * TODO: Update Mach section.
951
952 * Makefile.in: Remove "rapp" stuff; it is superseded by gdbserver.
953
954 Sun Feb 6 13:26:21 1994 Per Bothner (bothner@kalessin.cygnus.com)
955
956 * printcmd.c (printf_command): Add missing single-letter
957 backslash-escape sequences, and improve error message.
958
959 Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
960
961 * corelow.c (solib_add_stub, core_open): Pass address of from_tty
962 rather than trying to shove an int into a pointer and back out
963 again. This avoids compiler warnings.
964
965 * defs.h (alloca): Declare as void *, not char *, on hpux.
966 Don't prototype it, just declare the return type.
967
968 Sun Feb 6 03:25:41 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
969
970 * config/i386/tm-sun386.h, config/i386/tm-symmetry.h
971 (REGISTER_CONVERT_TO_RAW): Add missing backslash.
972
973 Sat Feb 5 08:03:41 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
974
975 * remote-mips.c (mips_fetch_registers): If regno is FP_REGNUM or
976 ZERO_REGNUM, just read it as zero without talking to the board.
977
978 * config/i386/tm-i386aix.h (REGISTER_CONVERT_TO_RAW): Add missing
979 backslash.
980 * i386-tdep.c (i386_extract_return_value): Pass TYPE_LENGTH (type)
981 to store_floating, not nonexistent variable len.
982
983 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
984 New functions.
985 (mips_store_word): Change calling convention to return errors, and
986 to provide old contents if the caller wants it.
987 (mips_xfer_memory): Deal with errors from mips_store_word.
988 * config/mips/tm-idt.h, config/mips/tm-idtl.h: Remove BREAKPOINT
989 define now that remote-mips.c doesn't use BREAKPOINT.
990
991 * remote-mips.c (mips_create_inferior): Call warning if arguments
992 specified, and then execute "set args" command. Call error, not
993 mips_error, if executable file not specified.
994
995 * remote-e7000.c: Replace "snoop" command (e7000_noecho) with
996 remote_debug.
997
998 * config/rs6000/tm-rs6000.h (STORE_STRUCT_RETURN): Don't cast
999 to unsigned int.
1000
1001 Sat Feb 5 05:27:05 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1002
1003 * value.h (print_longest): Rename "value" to "val" in prototype
1004 declaration because some compilers don't like arguments whose
1005 names are the same as types.
1006 * remote.c (remote_xfer_memory): Cast "myaddr" to unsigned char *
1007 before passing it to remote_*_bytes.
1008
1009 Fri Feb 4 15:53:18 1994 Steve Chamberlain (sac@cygnus.com)
1010
1011 * h8500-tdep.c (saved_pc_after_call): The size of the
1012 pc is memory model dependent. (segmented_command,
1013 unsegmented_command, _initialize_h8500_tdep): New commands to
1014 change memory model.
1015 * remote-e7000.c (_initialize_remote_e7000): Change name of snoop
1016 command.
1017 * remote-hms.c (hms_load): Remove breakpoints when loaded.
1018 (hms_wait): Use new status structure
1019 (hms_open): Push the target here. (hms_before_main_loop): Not
1020 here. (supply_val, hms_fetch_register, hms_store_register): Cope
1021 with H8/500 names too. (hms_fetch_register): Take out REGISTER_TYPE.
1022 * sh-tdep.c (show_regs, initialize_sh_tdep): New command to print
1023 all registers in a compact way.
1024
1025 Fri Feb 4 07:41:13 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1026
1027 * config/rs6000/tm-rs6000.h: Declare rs6000_struct_return_address
1028 as CORE_ADDR to match definition in rs6000-tdep.c.
1029
1030 Fri Feb 4 01:14:20 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1031
1032 * dwarfread.c (process_dies): Skip nested TAG_compile_unit DIEs.
1033 * dwarfread.c (add_partial_symbol): Do not enter opaque aggregate
1034 definitions into the psymtab.
1035
1036 Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1037
1038 * m68k-stub.c: Treat mc68332 like mc68020 most places. Provide
1039 a special exceptionSize for the 68332.
1040
1041 * remote-udi.c (udi_attach): If no arguments, print error.
1042
1043 Thu Feb 3 17:34:05 1994 Fred Fish (fnf@cygnus.com)
1044
1045 * Makefile.in (VERSION): Bump to 4.12.1
1046 * NEWS, README: Update to match 4.12 release.
1047
1048 Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1049
1050 * command.c (empty_sfunc): New function.
1051 (add_set_cmd): Use it instead of not_just_help_class_command.
1052 (not_just_help_class_command): Change calling convention back to
1053 what it was before yesterday's change.
1054
1055 * stabsread.c (read_sun_builtin_type): Skip the semicolon at the end
1056 of the type if present.
1057
1058 Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1059
1060 * printcmd.c (decode_format): Don't blithely set the size for
1061 an address to 'w'. Make it 'g' or 'h', depending on TARGET_PTR_BIT.
1062
1063 * defs.h: Just typedef CORE_ADDR to bfd_vma. Include bfd.h.
1064 If BFD64, make a LONGEST a BFD_HOST_64_BIT.
1065 * defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead
1066 always just check against INT_MIN and INT_MAX (this also fixes things
1067 if sizeof (long) > sizeof (int), e.g. Alpha).
1068 * config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h:
1069 Don't define LONGEST or BUILTIN_TYPE_LONGEST.
1070 * gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and
1071 BUILTIN_TYPE_UNSIGNED_LONGEST.
1072 * language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: Remove
1073 longest_int and longest_unsigned_int.
1074 * value.h (struct value): Just align to LONGEST, rather than worrying
1075 about CC_HAS_LONG_LONG.
1076 * valarith.c (value_binop): Figure out type ourself based on
1077 sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The
1078 point is that we don't depend on CC_HAS_LONG_LONG anymore.
1079 * valprint.c (val_print_type_code_int): Just call
1080 extract_unsigned_integer directly, rather than going through
1081 unpack_long.
1082 * printcmd.c (decode_format): Remove code which would sometimes
1083 change 'g' size to 'w' for integers. print_scalar_formatted handles
1084 printing huge integers well enough, thank you.
1085
1086 * command.c (add_set_cmd, not_just_help_class_command): Change
1087 to make this the sfunc, not cfunc, since that is how we call it.
1088 * command.h: Comment difference between sfunc and cfunc.
1089 * demangle.c (set_demangling_command): Add third arg since that
1090 is how it is called.
1091 (_initialize_demangler): Use sfunc, not cfunc, for
1092 set_demangling_command, since that is how it is called.
1093 Remove show_demangling_command; it has no effect.
1094
1095 * command.c (shell_escape): Report errors correctly (with error
1096 message from strerror).
1097
1098 Wed Feb 2 14:35:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1099
1100 * xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to use
1101 x_scnlen.l rather than x_scnlen to match corresponding change in
1102 coff/internal.h.
1103
1104 Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1105
1106 * gdbtypes.h, ch-typeprint.c, ch-valprint.c:
1107 Change comments regarding TYPE_CODE_BOOL.
1108 * language.c (boolean_type): Always return 1 for TYPE_CODE_BOOL,
1109 regardless of the language.
1110 (value_true): Just call value_logical_not regardless of language.
1111 * coffread.c (coff_read_enum_type), stabsread.c (read_enum_type):
1112 Remove #if 0'd code which makes some enums TYPE_CODE_BOOL.
1113 * language.h: Improve comment for la_builtin_type_vector.
1114 * m2-lang.c (_initialize_m2_language): Don't add any fields to
1115 builtin_type_m2_bool.
1116
1117 Tue Feb 1 17:13:32 1994 Kevin Buettner (kev@cujo.geg.mot.com)
1118
1119 * config/m88k/{tm-delta88.h,tm-delta88v4.h}, m88k-tdep.c:
1120 Define IN_SIGTRAMP and backtrace correctly through signal handlers.
1121
1122 Tue Feb 1 22:13:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1123
1124 * procfs.c (wait_fd): Handle EINTR error return from PIOCWSTOP ioctl
1125 by restarting the ioctl.
1126
1127 Tue Feb 1 16:16:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1128
1129 * target.h (target_wait): Add comment about calling
1130 return_to_top_level.
1131
1132 Tue Feb 1 12:21:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1133
1134 * coffread.c (read_one_sym): bfd_coff_swap_aux_in now takes
1135 additional arguments.
1136 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno): Likewise.
1137
1138 Mon Jan 31 16:10:41 1994 Stu Grossman (grossman at cygnus.com)
1139
1140 * sparc-stub.c: Remove unnecessary #include of memory.h.
1141
1142 Mon Jan 31 12:12:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1143
1144 * mips-tdep.c: Remove code which sets saved_regs from
1145 init_extra_frame_info and put it in new function mips_find_saved_regs.
1146 (READ_FRAME_REG): Remove macro and replace uses with the expansion.
1147 * mips-tdep.c, config/mips/tm-mips.h: When examining ->saved_regs,
1148 check if it is NULL and call mips_find_saved_regs if so.
1149
1150 * remote-mips.c: Use unfiltered, not filtered, output most places.
1151
1152 * blockframe.c (get_prev_frame_info): Detect and stop an infinite
1153 backtrace. Revise comments.
1154
1155 Mon Jan 31 09:40:33 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1156
1157 * mdebugread.c (parse_procedure): Remove _sigtramp kludges for
1158 alpha and irix. The _sigtramp case has to be handled properly
1159 in the tdep files if we have no ecoff debugging info.
1160 * alpha-tdep.c (alpha_frame_saved_pc, alpha_frame_chain),
1161 mips-tdep.c (mips_frame_saved_pc): Handle signal handler frames
1162 without PC_REGNUM kludge.
1163 * mdebugread.c (fixup_sigtramp), mips-tdep.c (read_next_frame_reg):
1164 Clean up handling of mips sigtramp frames, improve comments.
1165
1166 Sat Jan 29 23:25:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1167
1168 * paread.c (read_unwind_info): Fix typo.
1169
1170 * paread.c (pa_symtab_read): Update the "check_strange_names"
1171 filter to match GCC's current output. Filter out section symbols
1172 (which the HP linker sometimes puts in the wrong place).
1173
1174 Sat Jan 29 07:44:59 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1175
1176 * serial.h (SERIAL_SET_TTY_STATE): Comment return value.
1177
1178 * Makefile.in (TAGS): Just echo one line, rather than the whole thing.
1179
1180 * Makefile.in: Remove all references to sparcly-nat.c.
1181
1182 * Makefile.in (HFILES_NO_SRCDIR): Include dcache.h remote-utils.h
1183 remote-sim.h directly, rather than via $(remote_utils_h). This avoids
1184 duplicating serial.h and target.h.
1185
1186 * Makefile.in: Don't set M_INSTALL and M_UNINSTALL. These variables
1187 are not used anywhere (a 5 Oct 1993 change removed the uses).
1188
1189 * config/m68k/monitor.mt (TDEPFILE): Add remote-es.o.
1190 * config/m68k/es1800.mt: Add comment.
1191 * remote-es.c: Extensive changes to update to current conventions.
1192
1193 * ser-unix.c (wait_for, hardwire_readchar) [HAVE_TERMIO, HAVE_TERMIOS]:
1194 If the timeout is too big to fit in c_cc[VTIME], then do multiple reads
1195 to achieve the desired timeout.
1196 * serial.h (serial_t): Add field timeout_remaining.
1197
1198 Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1199
1200 * c-exp.y (yylex): Reenable nested type code.
1201
1202 Fri Jan 28 15:40:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1203
1204 * a29k-tdep.c (examine_tag): Add comment regarding argcount.
1205
1206 * remote-mips.c (mips_ops): Fix docstring.
1207
1208 * remote-bug.c (bug_ops): Remove spurious newline from docstring.
1209
1210 * config/m68k/tm-monitor.h: Changes to bring this into accordance
1211 with the old tm-m68k-em.h:
1212 (GDBINIT_FILENAME, DEFAULT_PROMPT): Remove.
1213 (HAVE_68881): Don't undefine; HAVE_68881 is obsolete.
1214 (REGISTER_NAMES): Don't muck with it; what tm-m68k.h has is fine.
1215 Add FIXME regarding GET_LONGJMP_TARGET.
1216
1217 * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.
1218 * infptrace.c (kill_inferior): Add comments.
1219 * main.c (quit_command): Call target_close after we kill or
1220 detach.
1221 * remote-udi.c (udi_close): Don't error() if QUITTING.
1222
1223 Fri Jan 28 11:55:52 1994 Rob Savoye (rob@darkstar.cygnus.com)
1224
1225 * configure.in: Make m68k-coff and aout add monitor support in
1226 addition to the standard serial support.
1227
1228 Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1229
1230 * mdebugread.c (psymtab_to_symtab_1): Don't complain on stLabel with
1231 index indexNil.
1232
1233 Fri Jan 28 10:40:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1234
1235 * config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS.
1236 * elfread.c (record_minimal_symbol_and_info),
1237 dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it.
1238
1239 Thu Jan 27 15:12:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1240
1241 * i386-stub.c: Add ".text" right before "mem_fault:".
1242
1243 * main.c (baud_rate): Add FIXME comment about printing -1 value.
1244
1245 * remote-utils.c (usage): Fix message to be accurate and conform
1246 more closely to normal conventions.
1247
1248 * remote-utils.c (gr_files_info): Have the exec_bfd test control
1249 whether to show information about exec_bfd, and not control whether
1250 to show information about device and speed.
1251
1252 * remote-utils.c (gr_open): If sr_get_device returns NULL, give
1253 usage message, don't dump core.
1254
1255 * remote-bug.c (bug_write_memory): Use alloca, not GCC extension
1256 for variable size array.
1257 (bug_fetch_register, bug_store_register): Rename "value" to
1258 "fpreg_buf" because some compilers don't like variables whose
1259 names are the same as types.
1260 (bug_store_register): Use a cast when converting char * to
1261 unsigned char *.
1262
1263 * symmisc.c (maintenance_print_symbols): Don't refer to the name
1264 of the command in error message (the text was referring to the old
1265 name of the command).
1266
1267 * symmisc.c (dump_symtab): Fix args to fprintf_filtered.
1268
1269 * c-typeprint.c (c_type_print_base): Have SHOW == 0 mean to print
1270 full details on structure elements without names. This partially
1271 reverts the changes of 1 Jul 1993 and 31 Aug 1993; I think this aspect
1272 of those changes was accidental.
1273
1274 * stack.c (parse_frame_specification): If SETUP_ARBITRARY_FRAME is
1275 defined, make it an error to specify a single argument which is not
1276 a frame number.
1277
1278 * Makefile.in (version.c), main.c (print_gdb_version): Use
1279 host_alias and target_alias, not host_canonical and
1280 target_canonical, to print configuration.
1281
1282 Wed Jan 26 10:57:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1283
1284 * parse.c (write_exp_msymbol): Use new type msymbol_addr_type instead
1285 of builtin_type_long. It is necessary to get a type which is
1286 TARGET_PTR_BIT bits in size; builtin_type_long might not be big enough.
1287
1288 Fix many sins which will come up in 32 bit x 64 bit GDB, and
1289 various miscellaneous things discovered in the process:
1290 * printcmd.c, defs.h (print_address_numeric): New function.
1291 * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print)
1292 breakpoint.c (describe_other_breakpoints, breakpoint_1, mention),
1293 cp-valprint.c (cplus_print_value), infcmd.c (jump_command),
1294 printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c:
1295 Use it.
1296 * utils.c, defs.h (gdb_print_address): New function.
1297 * expprint (dump_expression), gdbtypes.h: Use it.
1298 * breakpoint.c (describe_other_breakpoints),
1299 symmisc.c (dump_symtab, print_symbol):
1300 Use filtered not unfiltered I/O.
1301 (remove_breakpoints): Remove BREAKPOINT_DEBUG code. Might as well
1302 just run gdb under a debugger for this (and it had problems with
1303 printing addresses, how to print b->shadow, etc.).
1304 * buildsym.c (make_blockvector), core.c (memory_error),
1305 exec.c (print_section_info), maint.c (print_section_table),
1306 mdebugread.c (parse_procedure), solib.c, source.c, symfile.c,
1307 symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c:
1308 Add comments saying code is broken. Marked with "FIXME-32x64".
1309 * dbxread.c (process_one_symbol), partial-stab.h (default),
1310 remote-vx.c (vx_run_files_info):
1311 Don't cast int being passed to local_hex_string.
1312 * symmisc.c (print_symbol): Don't cast long being passed to %lx.
1313 * symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE
1314 only being a long.
1315 * symmisc.c (print_symbol): Print "offset" in message for LOC_ARG
1316 and LOC_LOCAL.
1317 * printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE.
1318 * source.c: Include <sys/types.h> regardless of USG.
1319
1320 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1321
1322 * valops.c (value_assign): Set `type' after coercing toval.
1323 * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print):
1324 Use extract_unsigned_integer to get the address of a reference.
1325
1326 Tue Jan 25 11:31:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1327
1328 * stabsread.c (STABS_CONTINUE, error_type), partial-stab.h:
1329 AIX can use ? instead of \ for continuation. Deal with it.
1330
1331 * paread.c (read_unwind_info): Just assign to objfile->obj_private,
1332 not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which
1333 the HP compiler in ANSI mode doesn't like.
1334
1335 * main.c: When defaulting HAVE_SIGSETMASK based on USG, just do it
1336 based on USG, rather than defining HAVE_SIGSETMASK to an
1337 expression containing defined. Having a macro used in #if expand
1338 to an expression containing "defined" is undefined according to
1339 ANSI, and the HP compiler in ANSI mode doesn't do what we wanted
1340 it to.
1341
1342 Mon Jan 24 20:51:29 1994 John Gilmore (gnu@cygnus.com)
1343
1344 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
1345 Clean up the changes of 11 Jan, as recommended by Peter Schauer.
1346
1347 Fri Jan 21 19:10:44 1994 Per Bothner (bothner@kalessin.cygnus.com)
1348
1349 * ch-exp.y (match_string_literal): Allow a zero-length string.
1350 * ch-lang.c (chill_printstr): Don't print zero-length string funny.
1351
1352 Sat Jan 22 17:08:48 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1353
1354 * i386aix-nat.c (i386_float_info): Reverse order of registers before
1355 passing them to print_387_status.
1356 (print_387_status): Don't subtract top from 7 before using it.
1357 * i387-tdep.c: Remove comment about AIX wanting "top" subtracted
1358 from 7; the above explains it.
1359
1360 Sat Jan 22 20:25:11 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1361
1362 * mips-tdep.c (init_extra_frame_info): Use frame relative stack
1363 pointer value when fixing up the frame at the start of a function.
1364
1365 Sat Jan 22 12:29:13 1994 Stu Grossman (grossman at cygnus.com)
1366
1367 * lynx-nat.c (fetch_core_registers): Load the I & L regs for the
1368 Sparc from the stack.
1369
1370 Sat Jan 22 08:30:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1371
1372 * remote-mips.c (mips_initialize): Clear mips_initializing via
1373 cleanup chain, not directly.
1374
1375 * ser-unix.c (wait_for) [HAVE_TERMIO, HAVE_TERMIOS]: Make a timeout
1376 of -1 mean forever, like in the HAVE_SGTTY case. Warn if we are
1377 munging the timeout due to the limited range of c_cc[VTIME].
1378
1379 * fork-child.c, inferior.h (fork_inferior): New argument shell_file.
1380 * procfs.c (procfs_create_inferior), inftarg.c (child_create_inferior),
1381 m3-nat.c (m3_create_inferior): Pass it.
1382 * procfs.c: Remove ptrace function. It was declared in a way which
1383 conflicted with the prototype in unistd.h on Solaris.
1384
1385 Sat Jan 22 01:37:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1386
1387 * sparc-tdep.c (frame_saved_pc): Get the pc from the saved pc
1388 in the sigcontext if it is a signal trampoline frame.
1389 * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET):
1390 Define for Solaris2.
1391
1392 Sat Jan 22 00:34:47 1994 Stu Grossman (grossman at cygnus.com)
1393
1394 * sparc-tdep.c, lynx-nat.c, config/sparc/tm-sparc.h,
1395 config/sparc/tm-sparclynx.h: Move defs of FRAME_SAVED_I0/L0 to
1396 tm-sparc.h so they can be overridden if necessary.
1397
1398 Fri Jan 21 17:49:28 1994 Stu Grossman (grossman at cygnus.com)
1399
1400 * lynx-nat.c: Add Sparc support.
1401 * sparcly-nat.c: Remove. It's useless.
1402 * config/sparc/nm-sparclynx.h: Rewrite.
1403 * config/sparc/sparclynx.mh (NATDEPFILES): Replace sparcly-nat.o
1404 with lynx-nat.o
1405 * config/sparc/tm-sparclynx.h: Rewrite.
1406
1407 Fri Jan 21 19:08:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1408
1409 * rs6000-pinsn.c: Use the new disassembler in the opcodes
1410 directory. Old code was discarded, since the new opcode table has
1411 a different format.
1412
1413 Fri Jan 21 14:28:30 1994 Fred Fish (fnf@cygnus.com)
1414
1415 * Makefile.in (realclean): Remove info files per make-stds.texi.
1416
1417 Fri Jan 21 12:47:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1418
1419 * dbxread.c (end_psymtab): Only patch psymtab textlow and texthigh
1420 if N_SO_ADDRESS_MAYBE_MISSING is defined.
1421 * config/sparc/tm-sun4sol2.h: Define it.
1422
1423 Thu Jan 20 15:04:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1424
1425 * printcmd.c (print_address_symbolic): Unconditionally use msymbol
1426 if we did not find a symbol.
1427
1428 Fri Jan 21 08:20:18 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1429
1430 * infptrace.c (child_xfer_memory): Only use if CHILD_XFER_MEMORY
1431 is not defined.
1432
1433 * hppab-nat.c (call_ptrace): Delete redundant function.
1434 (kill_inferior, attach, detach, child_resume): Likewise.
1435 (child_xfer_memory): Likewise.
1436
1437 * hppah-nat.c (call_ptrace): Delete redundant function.
1438 (kill_inferior, attach, detach, child_resume): Likewise.
1439
1440 * config/pa/hppabsd.mh (NATDEPFILES): Add infptrace.o.
1441
1442 * config/pa/hppahpux.mh (NATDEPFILES): Add infptrace.o.
1443
1444 * config/pa/nm-hppab.h (FETCH_INFERIOR_REGISTERS): Define.
1445
1446 * config/pa/nm-hppah.h (FETCH_INFERIOR_REGISTERS): define.
1447 (CHILD_XFER_MEMORY): Define.
1448 (PT_*): Define so that generic infptrace.c code can be used.
1449
1450 Fri Jan 21 09:23:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1451
1452 * xcoffread.c (xcoff_symfile_read): Make second parameter a
1453 struct section_offsets *, not a (nonexistent) struct section_offset *.
1454
1455 * xcoffread.c (read_xcoff_symtab): Make main_aux just a union
1456 internal_xcoff_symtab, not an array of one of them. Change lots of
1457 "main_aux" to "&main_aux" and so on.
1458
1459 * coffread.c, xcoffread.c: Include <coff/internal.h>
1460 before "symfile.h".
1461
1462 Thu Jan 20 17:30:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1463
1464 * coffread.c (coff_getfilename): Make it not static.
1465
1466 * xcoffread.c (read_xcoff_symtab): complain() not abort().
1467
1468 * xcoffread.c (struct coff_symbol): Rename c_nsyms to c_naux (removes
1469 a completely gratuitous difference between xcoffread.c and coffread.c).
1470
1471 Wed Jan 19 15:09:44 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1472
1473 * infrun.c (wait_for_inferior): Don't set frame for
1474 step_resume_breakpoint for IN_SIGTRAMP cases.
1475
1476 * infrun.c (wait_for_inferior), breakpoint.h (struct bpstat_what),
1477 breakpoint.c (bpstat_what): Move step_resume from its own field of
1478 the struct bpstat_what into the main_action. Make it override
1479 other breakpoints. This is a conservative change in the sense
1480 that before the step resume breakpoint was a breakpoint.c
1481 breakpoint, hitting the step resume breakpoint overrode even
1482 calling bpstat_stop_status.
1483
1484 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1485
1486 * infrun.c (normal_stop): Set stop_pc after popping the dummy frame
1487 in case execution was stopped in the called function.
1488 * stack.c (print_frame_info, frame_info): If backtracing through
1489 a call dummy, handle the starting source line number on a line
1490 boundary like backtracing through sigtramp.
1491 * sparc-tdep.c (sparc_frame_find_saved_regs): Get frame address
1492 for call dummy frame right. Remove old test for dummy frame,
1493 it has been unused at least since gdb-3.5.
1494 * sparc-tdep.c (sparc_push_dummy_frame): Set return address register
1495 of the dummy frame.
1496
1497 Tue Jan 18 16:16:35 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1498
1499 * infcmd.c (signal_command): Accept 0 as legitimate signal number.
1500
1501 Tue Jan 18 14:09:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1502
1503 * infrun.c (signals_info), target.c (target_signal_from_name):
1504 Use ugly casts to avoid enumvar < enumvar or enumvar++.
1505
1506 Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1507
1508 * ser-unix.c (hardwire_noflush_set_tty_state): Don't muck with ICANON.
1509 * inflow.c (terminal_ours_1): When discussing how to deal with the
1510 tty state, make note of query() as well as readline.
1511
1512 * infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of
1513 signals for which stop and print are cleared by default.
1514
1515 Mon Jan 17 20:00:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1516
1517 * config/pa/tm-hppa.h (unwind_table_entry): Use one of the
1518 reserved fields to hold a stub unwind entry type. Fix typo.
1519 (stub_unwind_entry): New structure for raw stub unwind entries.
1520 (stub_unwind_types): The types of stubs we may encounter.
1521 (UNWIND_ENTRY_SIZE, STUB_UNWIND_ENTRY_SIZE): New defines.
1522 * hppa-tdep.c (rp_saved): Use additional information provided
1523 by linker stub unwind descriptors.
1524 (frameless_function_invocation): Likewise.
1525 (frame_chain_valid): Likewise.
1526 * paread.c (compare_unwind_entries): New function for sorting
1527 unwind table entries.
1528 (read_unwind_info): Rewrite to remove dependency on host endianness.
1529 Read in data from the $UNWIND_END$ subspace which contains linker
1530 stub unwind descriptors. Merge that data into the basic unwind
1531 table.
1532
1533 * hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions.
1534
1535 Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1536
1537 * xcoffread.c (read_xcoff_symtab, case C_FILE): Accept the name
1538 from either the symbol name or the auxent.
1539 * coffread.c, symfile.h (coff_getfilename): Renamed from getfilename,
1540 no longer static.
1541
1542 Mon Jan 17 13:35:01 1994 Fred Fish (fnf@cygnus.com)
1543
1544 * Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h.
1545
1546 Mon Jan 17 12:35:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1547
1548 * README: Update notes for alpha port.
1549
1550 Mon Jan 17 11:15:57 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1551
1552 * i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL
1553 for operation fault, constraint fault, and type fault.
1554
1555 Sun Jan 16 12:46:01 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1556
1557 * Makefile.in (init.c): Add comment explaining formatting conventions.
1558
1559 * c-exp.y (parse_number): Assign to temporary between the right
1560 shifts, to work around a bug in the SCO compiler.
1561
1562 * Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR):
1563 Add various files which were added to GDB recently.
1564
1565 * xcoffread.c (process_xcoff_symbol): Only change 'V' to 'S' if not
1566 within_function.
1567
1568 * Makefile.in: Add mostlyclean target.
1569
1570 Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1571
1572 * Version 4.11.4.
1573
1574 Sat Jan 15 18:27:34 1994 Per Bothner (bothner@kalessin.cygnus.com)
1575
1576 * main.c (show_commands): Make return type of extern
1577 history_get be HIST_ENTRY, rather than struct _hist_entry.
1578 (The latter loses with the upcoming merged readline.)
1579
1580 Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1581
1582 * minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
1583 const char *, not char *.
1584
1585 * symtab.h (struct symbol): Make section short, not unsigned short.
1586
1587 * symtab.c (lookup_symbol): Add comment about QUIT here.
1588
1589 * utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
1590
1591 * c-exp.y (parse_number): Check for overflow regardless of range
1592 checking. Fix overflow check to use unsigned LONGEST, not
1593 unsigned int.
1594
1595 * c-exp.y (parse_number): Make it so that integer constants are
1596 builtin_type_long_long if builtin_type_long isn't big enough or if
1597 an "LL" suffix is used. Properly handle "UL" or "LU" suffixes.
1598
1599 * c-typeprint.c (c_type_print_varspec_suffix, case TYPE_CODE_FUNC):
1600 Print our "()" first, then recurse for the target type.
1601
1602 Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1603
1604 * remote-udi.c (udi_create_inferior): Quote empty execfile argument.
1605
1606 * gdbserver/low-lynx.c: Include <sys/wait.h> not "/usr/include/wait.h".
1607
1608 Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1609
1610 * utils.c (request_quit): Re-establish signal handler regardless
1611 of USG.
1612
1613 * config/mips/xm-irix4.h: Define HAVE_TERMIOS.
1614
1615 Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1616
1617 * i960-tdep.c: Include target.h.
1618
1619 Fri Jan 14 17:12:28 1994 Stan Shebs (shebs@andros.cygnus.com)
1620
1621 * lynx-nat.c (sys/wait.h): Don't use absolute pathname.
1622
1623 Fri Jan 14 11:06:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1624
1625 * lynx-nat.c (child_wait): Fix thinkos in struct target_waitstatus
1626 changes (status -> ourstatus; declare status, etc.).
1627 * config/nm-lynx.h: Fix child_wait prototype and include target.h.
1628
1629 Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1630
1631 * Makefile.in (ALLPARAM): Add config/nm-lynx.h.
1632
1633 Fri Jan 14 11:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1634
1635 * remote-mips.c (mips_request, mips_wait): Correct prototypes.
1636
1637 Fri Jan 14 11:37:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1638
1639 * config/i386/xm-linux.h: Define HAVE_TERMIOS.
1640
1641 Fri Jan 14 01:04:36 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1642
1643 * config/alpha/tm-alpha.h (CALL_DUMMY): Improve comment.
1644
1645 Thu Jan 13 10:32:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1646
1647 * remote-vx.c (vx_wait): Only call i960_fault_to_signal if I80960
1648 is defined. Otherwise just report TARGET_SIGNAL_UNKNOWN.
1649
1650 * mips-tdep.c (mips_push_arguments): Byteswap struct_addr before
1651 writing it.
1652
1653 Add search to target vector (#if 0'd until after 4.12):
1654 * target.h (to_search, target_search): Add.
1655 * gdbcore.h, core.c (generic_search): Add.
1656 * remote.c (remote_search): Add.
1657 * a29k-tdep.c (init_frame_info): Use target_search to find traceback
1658 tag.
1659
1660 * printcmd.c (print_address_symbolic): If set print fast-symbolic-addr
1661 is on, call find_pc_function rather than relying just on the minimal
1662 symbols (probably only matters for symbol readers which don't put
1663 statics in the minimal symbols, but changing this strikes me as
1664 not conservative enough).
1665 Initialize name_location in all cases.
1666 If no symbol and no msymbol, don't print anything symbolic.
1667
1668 * a29k-tdep.c (push_dummy_frame): Add comment about saving lr0.
1669
1670 Wed Jan 12 20:53:16 1994 John Gilmore (gnu@cygnus.com)
1671
1672 * printcmd.c (print_address_symbolic): Make it search the
1673 symtabs for variables as well as functions. Add `set print
1674 fast-symbolic-addr' and default it to fast (the old way).
1675 Print line numbers for data items as well as functions.
1676
1677 * symtab.c (find_addr_symbol): Return the symtab and the symbol
1678 address, if a symbol is found (take two more args pointing to
1679 where to store these results).
1680
1681 * symtab.h (find_addr_symbol): Add prototype.
1682
1683 Wed Jan 12 19:32:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1684
1685 * objfiles.h: Fix comments to reflect the fact that the phrase
1686 "top of stack" always refers to where the pushing and popping takes
1687 place, regardless of whether it is at the highest or lowest address.
1688
1689 Wed Jan 12 13:23:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1690
1691 * mdebugread.c (parse_symbol): Do not set TYPE_TAG_NAME for
1692 compiler generated tag names.
1693 * mdebugread.c (parse_type): Handle cross references to qualified
1694 aggregate types.
1695 * valops.c (value_struct_elt): Improve error message if the
1696 address of a method is requested from an object instance.
1697 * valops.c (search_struct_method): Make name_matched non-static
1698 to get it initialized correctly.
1699 * config/i386/nm-i386sco.h (CANNOT_STORE_REGISTER): Define to
1700 exclude segment register which are not writable on newer SCO versions.
1701
1702 Wed Jan 12 14:44:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1703
1704 * go32-xdep.c: Remove unused function uerror.
1705 (sigsetmask): Declare return type. Declare argument (to match the
1706 way it is called). Explicitly return 0.
1707
1708 Wed Jan 12 01:44:25 1994 John Gilmore (gnu@cygnus.com)
1709
1710 * symtab.h (struct symbol, general_symbol_info, minimal_symbol,
1711 partial_symbol): Shrink the storage sizes of symbols, by making
1712 enums into 1-byte bitfields when compiled __GNUC__, moving all the
1713 enums and small ints to the end of each struct to improve
1714 alignment, and switching the section number from int to unsigned
1715 short.
1716
1717 Wed Jan 12 00:16:26 1994 John Gilmore (gnu@cygnus.com)
1718
1719 * symtab.c (find_addr_symbol): New routine that will find the nearest
1720 symbol associated with an address. It does so by exhaustive
1721 search of the symtabs, so it's slow but complete.
1722
1723 Tue Jan 11 23:57:30 1994 John Gilmore (gnu@cygnus.com)
1724
1725 * coffread.c (read_coff_symtab): Set PC bounds of _globals_ symtab
1726 to [0,0] rather than [0, end of first source file]. This avoids
1727 problems with other parts of GDB looking for linetables in the
1728 _globals_ symtab. Eliminate variables num_object_files and
1729 first_object_file_end.
1730
1731 Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com)
1732
1733 * a29k-tdep.c (init_frame_info): Cast null arg to examine_tag.
1734 (pop_frame): Restore PC2 and LR0 from dummy frames.
1735 (push_dummy_frame): Save PC2 and LR0 into dummy frames.
1736 (setup_arbitrary_frame): Handle 3 args and set up real frames.
1737 * config/a29k/tm-a29k.h (FRAME_NUM_ARGS): Update comments.
1738 (DUMMY_FRAME_RSIZE): Add 2 longwords for PC2 and LR0.
1739 (SETUP_ARBITRARY_FRAME): Define.
1740
1741 Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1742
1743 * infrun.c, config/mips/tm-irix5.h: Remove #if 0'd AT_FUNCTION_START.
1744
1745 Tue Jan 11 14:27:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1746
1747 * remote-udi.c (udi_resume): Correct prototype.
1748
1749 Tue Jan 11 11:10:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1750
1751 * config/pa/tm-hppa.h (FRAME_FIND_SAVED_REGS): Call
1752 hppa_frame_find_saved_regs.
1753 * hppa-tdep.c (dig_fp_from_stack): Delete function.
1754 (prologue_inst_adjust_sp): New function.
1755 (is_branch, inst_saves_gr, inst_saves_fr): New functions.
1756 (skip_prologue): Completely rewrite to use unwind information.
1757 (hppa_frame_find_saved_regs): Likewise.
1758
1759 Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1760
1761 * remote-mips.c (mips_wait): Use new function mips_signal_from_protocol
1762 to convert a signal number with appropriate bounds checking.
1763
1764 * remote-mips.c (mips_wait): Fix typos (0x177 -> 0177, 0x377 -> 0377).
1765
1766 Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com)
1767
1768 * stack.c (frame_info): If FRAME_FIND_SAVED_REGS isn't defined,
1769 print a newline to end the display anyway.
1770
1771 * sparc-tdep.c (sparc_pop_frame): Pop the fsr and csr (float and
1772 coprocessor status regs) when popping a frame. This fixes
1773 float exceptions that occur after calling inferior functions.
1774
1775 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
1776 Read and write the fsr (float status register) to/from the child
1777 process along with the float regs. Remove Peter Schauer's change
1778 of May 24 '93, which has higher overhead and doesn't solve the
1779 real problem (which was that FSR wasn't being set).
1780
1781 Mon Jan 10 23:16:42 1994 John Gilmore (gnu@cygnus.com)
1782
1783 * a29k-tdep.c (examine_prologue): Don't worry if the ASGEQ
1784 stack overflow check isn't right after the register stack
1785 adjustment instruction. Metaware R2.3u compiler moves other
1786 things in front of it. This fix isn't perfect but is what's
1787 running.
1788
1789 Mon Jan 10 20:08:23 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1790
1791 * c-valprint.c (c_val_print): Treat TYPE_CODE_RANGE like TYPE_CODE_INT.
1792
1793 * config/alpha/alpha-netware.mt: Rename to alpha-nw.mt for 14
1794 character filenames.
1795 * configure.in: Change accordingly.
1796
1797 Mon Jan 10 15:48:36 1994 Tom Lord (lord@rtl.cygnus.com)
1798
1799 * m68k-stub.c, sparc-stub.c: removed spurious introduction of
1800 _filtered io routines from these two files.
1801
1802 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1803
1804 * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h,
1805 config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET): Define.
1806 * mdebugread.c (parse_symbol): Handle enum sh.type produced by
1807 DEC c89.
1808 * mdebugread.c (add_line): Handle zero linenos produced by DEC c89.
1809
1810 Fri Jan 7 12:55:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1811
1812 * utils.c (print_sys_errmsg): Call gdb_flush (gdb_stdout) before
1813 printing to gdb_stderr.
1814
1815 * remote-udi.c (udi_kill): Don't close the connection, just set
1816 inferior_pid to zero.
1817 (udi_mourn): Call remove_breakpoints.
1818
1819 * remote-udi.c: Remove obsolete need_artificial_traps comment.
1820
1821 * i386b-nat.c (sregmap): If sEAX, etc., not defined, use tEAX, etc.
1822
1823 Thu Jan 6 07:17:53 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1824
1825 * symtab.c (lookup_symbol): Don't try adding .c to the name.
1826
1827 * remote-bug.c: At the start of each section, reset srec_frame
1828 back to 160.
1829
1830 * target.h: Add TARGET_WAITKIND_LOADED and TARGET_WAITKIND_SPURIOUS.
1831 * target.c (store_waitstatus): Add CHILD_SPECIAL_WAITSTATUS hook.
1832 * infrun.c (wait_for_inferior): Replace SIGTRAP_STOP_AFTER_LOAD with
1833 code which looks for those two waitkinds. Use switch statement.
1834 * config/rs6000/tm-rs6000.h: Replace SIGTRAP_STOP_AFTER_LOAD with
1835 CHILD_SPECIAL_WAITSTATUS.
1836
1837 * procfs.c (procfs_wait): Fix argument name to match 4 Jan changes.
1838 * Move target_signal_from_host, target_signal_to_host, and
1839 store_waitstatus from inftarg.c to target.c. procfs needs them.
1840 * target.c: Include "wait.h" and <signal.h>.
1841 * target.h, infrun.c (proceed), proceed callers: Pass new code
1842 TARGET_SIGNAL_DEFAULT instead of -1. This avoids problems with
1843 enums being treated as unsigned and is cleaner.
1844 * infrun.c (signals_info): Don't print TARGET_SIGNAL_DEFAULT or
1845 TARGET_SIGNAL_0.
1846 * infcmd.c (signal_command), infrun.c (signals_info):
1847 Don't allow user to specify numeric equivalent of
1848 TARGET_SIGNAL_DEFAULT.
1849
1850 Tue Jan 4 15:34:36 1994 Stu Grossman (grossman@cygnus.com)
1851
1852 * config/alpha/alpha-netware.mt: New target support for Alpha
1853 running Netware.
1854 * configure.in: Add alpha-*-netware* target.
1855
1856 Tue Jan 4 14:51:35 1994 Stan Shebs (shebs@andros.cygnus.com)
1857
1858 * remote-mips.c (mips_wait): Fix ref to TARGET_WAITKIND_STOPPED.
1859
1860 Tue Jan 4 09:47:14 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1861
1862 * target.h: Add enum target_waitkind, enum target_signal, and
1863 struct target_waitstatus. Change status argument to target_wait to
1864 be struct target_waitstatus * instead of int *.
1865 * target.h, infrun.c, all targets: Change type of signal arguments
1866 to resume(), proceed(), and target_resume() from int to enum
1867 target_signal.
1868 * All targets (*_wait, *_resume): Change accordingly.
1869 * infcmd.c (program_info, signal_command), throughout infrun.c,
1870 * fork-child.c, solib.c, hppa-tdep.c, osfsolib.c: Use this stuff.
1871 * convex-xdep.c, convex-tdep.c: Add FIXME's (getting the Convex
1872 signal code stuff right with the new signals would be non-trivial).
1873 * inferior.h (stop_signal): Make it enum target_signal not int.
1874 * target.c, target.h (target_signal_to_string, target_signal_to_name,
1875 target_signal_from_name): New functions.
1876 * inftarg.c, target.h (target_signal_to_host, target_signal_from_host,
1877 store_waitstatus): New functions.
1878 * procfs.c (procfs_notice_signals): Use them.
1879 * i960-tdep.c (i960_fault_to_signal): New function, to replace
1880 print_fault.
1881 * config/i960/tm-i960.h: Don't define PRINT_RANDOM_SIGNAL.
1882
1883 * objfiles.c (build_objfile_section_table): Don't abort() if
1884 objfile->sections is already set.
1885
1886 * objfiles.c (add_to_objfile_sections): Check SEC_ALLOC not SEC_LOAD
1887 to match recent change to exec.c.
1888
1889 * Version 4.11.3.
1890
1891 * main.c (print_gdb_version): Change year to 1994.
1892
1893 * ChangeLog, ChangeLog-93: Split ChangeLog at 1994.
1894 * Makefile.in (NONSRC): Add ChangeLog-93.
1895
1896 Mon Jan 3 11:57:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1897
1898 * stabsread.c (read_type): Allow defining several type numbers
1899 at once (e.g. "(1,2)=(3,4)="...).
1900
1901 * stabsread.c (read_enum_type): Use TARGET_INT_BIT not sizeof (int).
1902
1903 * breakpoint.c (frame_in_dummy): Check PC as well as frame.
1904
1905 Mon Jan 3 02:47:03 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1906
1907 * mdebugread.c (psymtab_to_symtab_1): Only pass N_STAB symbols
1908 to process_one_symbol.
1909 * symtab.c (find_pc_psymbol): Search global_psymbols as well to
1910 avoid caching a bad endaddr in find_pc_partial_function.
1911
1912 Sun Jan 2 21:41:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1913
1914 * config/m68k/tm-sun3.h: Don't define BELIEVE_PCC_PROMOTION.
1915
1916 Sat Jan 1 04:35:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1917
1918 * infrun.c (wait_for_inferior): Do not step or step resume past
1919 the end of a one-line function we just stepped into.
1920
1921 For older changes see ChangeLog-93
1922 \f
1923 Local Variables:
1924 mode: indented-text
1925 left-margin: 8
1926 fill-column: 74
1927 version-control: never
1928 End:
This page took 0.073692 seconds and 5 git commands to generate.