* config.guess: about target *-hitachi-hiuxwe2, fixed
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
f93b941b
JK
1Tue Mar 15 10:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2
3 * environ.c (set_in_environ): Eliminate special handling of PATH and
4 GNUTARGET.
5 * putenv.c: Removed, conflicts with system declaration of
6 putenv on RS/6000 running AIX 3.2.5, and above change makes it
7 unnecessary.
8 * Makefile.in: Change accordingly.
9 * procfs.c (procfs_create_inferior): Change comment accordingly.
10
17221e41
JK
11Tue Mar 15 10:05:27 1994 Jim Kingdon (kingdon@cygnus.com)
12
13 * rs6000-tdep.c: Change value to value_ptr.
14
8eb79598
JK
15Sun Mar 13 09:45:51 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
16
c4ad6b09
JK
17 * i386m3-nat.c: Include floatformat.h.
18 (get_i387_state): Use memset not bzero.
19
5fa83062
JK
20 * Version 4.12.3.
21
22 * Makefile.in: Enable commented out getopt_h, bfd_h, etc. Change
23 ieee-float.h to floatformat.h.
24
79f3d586
JK
25 * valprint.c (val_print_string): Ignore error if the error
26 happened after a terminating '\0'.
27
28 * c-valprint.c (c_val_print): Never add 1 to return value from
29 val_print_string; just return what it returns.
30
8eb79598
JK
31 * target.h (enum target_signal): Add TARGET_SIGNAL_FIRST, for
32 looping through all of the enums.
33 * infrun.c (signals_info): Use it.
34
c4de6b30
JK
35Fri Mar 11 08:08:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
36
8e4c7b3e
JK
37 * main.c (main): When printing warning about bad baud rate, don't
38 use warning(); it relies on current_target which isn't set up yet.
39
c4de6b30 40 * breakpoint.c (_initialize_breakpoint): Update docstring for
d1bdad57
JK
41 tbreak to match what the code actually does. Don't mention tbreak
42 in docstrings for "enable once" or "enable breakpoints once".
c4de6b30 43
d78d4d16
JK
44Thu Mar 10 08:52:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
45
46 * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Don't put a semicolon after
47 while (0). That defeats the whole purpose of using do . . . while (0).
48 * mdebugread.c (parse_partial_symbols): Don't use ?: expression as
49 list for ADD_PSYMBOL_TO_LIST; the macro takes its address and
50 using a ?: expression as an lvalue is not portable.
51
52 * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR, also
53 convert a LOC_ARG to a LOC_REF_ARG. Update code which combines
54 'p' and 'r' symbol descriptors into a single symbol to look for a
55 LOC_REF_ARG.
56 * README, config/sparc/tm-sparc.h: Update comments.
57
10373914
PS
58Wed Mar 9 21:43:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
59
60 * mdebugread.c (parse_type): Do not complain for types with
61 an `indexNil' aux index, these are simply undefined types.
62 Remove indexNil check from caller of parse_type.
63 * mdebugread.c (parse_partial_symbols): Do not enter
64 stGlobal, scCommon symbols into the minimal symbol table, their
65 value is the size of the common, not its address.
66 Handle scInit, scFini, scPData and scXData sections.
67 Use minimal symbol type mst_file_* for stLabel symbols, instead of
68 mst_*.
69 Enter stProc symbols into the global_psymbols list once, not into
70 the static_psymbols_list.
71 Get rid of dummy psymtab if it is empty, to allow proper detection
72 of stripped executables.
73 * mdebugread.c (cross_ref): Allow cross references to Fortran
74 common blocks.
75
fddb9bda
JK
76Wed Mar 9 15:23:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
77
78 * stabsread.c (common_block_end, fix_common_block): Stash the
79 struct pending * in the SYMBOL_TYPE, not the SYMBOL_NAMESPACE, so
80 as to not assume that a pointer fits in an enum.
81
d9389f37
KH
82Wed Mar 9 18:56:36 1994 Kung Hsu (kung@mexican.cygnus.com)
83
84 * os9kread.c (fill_sym): check compiler verion number for pre-
85 UltraC compiler.
86 * os9kread.c (os9k_process_one_symbol): address of symbol is
87 relative to section not module.
88 * stabsread.c (define_symbol): add symbol type 's' as local
89 symbol for os9k.
90 * remote-os9k.c: add command 'set monitor_log' to turn on or off
91 monitor logging.
92 * remote-os9k.c: fix bug in delete breakpoint, single step trace.
93 * remote-os9k.c: fix bug in 'set remotebaud' function.
94 * remote-os9k.c (rombug_link): minimize checking so to improve
95 speed.
fddb9bda 96 * symfile.c (symbol_file_command): check if failed to link, also make
d9389f37
KH
97 the command be able to accept more than one filenames.
98 * target.c (target_link): check if failed to link with rombug.
99 * config/i386/tm-i386os9k.h : add #define DECR_PC_AFTER_BREAK 0.
100
cdc7029d
JK
101Wed Mar 9 15:23:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
102
103 * remote-es.c (es1800_child_ops): Don't declare it static.
104
352c21dd
JK
105Tue Mar 8 11:42:39 1994 Jim Kingdon (kingdon@cygnus.com)
106
107 * config/i386/tm-i386v4.h: Give just macro name, not args, to #undef.
108
ce2f21b2
JK
109Tue Mar 8 06:56:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
110
9d2b8d50
JK
111 * dbxread.c: New variable lowest_text_address.
112 (record_minimal_symbol, read_dbx_symtab): Set it.
113 (read_dbx_symtab): Use lowest_text_address + text_size instead of
114 end_of_text_address.
115 * config/gould/tm-pn.h: Add comment regarding END_OF_TEXT_DEFAULT.
116
117 * dbxread.c (end_psymtab): Remove old and commented out
118 capping_global and capping_static. Fix comments regarding
119 N_SO_ADDRESS_MAYBE_MISSING to match the real name of the macro.
120
79448221
JK
121 * parser-defs.h: Add "extern" to start of variable declarations so
122 we don't end up with commons.
123 * parse.c: Define these variables.
124
ce2f21b2
JK
125 * irix5-nat.c (find_solib): Cast o_path to CORE_ADDR when using it
126 as one.
127
7810d333
JK
128Mon Mar 7 13:00:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
129
130 * alpha-tdep.c: Change value to value_ptr.
131
a6e21fba
PS
132Sun Mar 6 17:36:53 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
133
134 * solib.c (elf_locate_base): New function to locate the address
135 of the dynamic linker's runtime structure in the dynamic info section.
136 * solib.c (locate_base): Use it instead of iterating over the list
137 of mapped address segments.
138 * solib.c (look_for_base, bfd_lookup_symbol): Removed, no longer
139 necessary.
140
70e43abe
JL
141Fri Mar 4 09:50:47 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
142
143 * hppa-tdep.c (pc_in_linker_stub): Move decl to beginning of file.
144 (pc_in_interrupt_handler): New function. Also add PARAM decl.
145 (find_proc_framesize): Deal with HPUX setting SAVE_SP bit for
146 signal trampoline and interrupt routines.
147 (frame_saved_pc): Handle signal trampolines and interrupt routines.
148 (frame_chain, frame_chain_valid): Likewise.
149 (hppa_frame_find_saved_regs): Likewise. Also deal with special
150 saved regs convention for SP.
151
152 * tm-hppa[bho].h: FRAME_FIND_SAVED_PC_IN_SIGTRAMP): Define.
153 (FRAME_BASE_BEFORE_SIGTRAMP): Define.
154 (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Define.
155
156 * tm-hppah.h (IN_SIGTRAMP): Define.
157
833a2895
JK
158Thu Mar 3 12:41:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
159
93dc3414
JK
160 * ch-exp.y (match_simple_name_string): Accept '_' as well as an
161 alphabetic character as the start of a name.
162
b855dfe7
JK
163 * sparclite/Makefile.in (all install): Build and install aload.
164
d9a5e91f
JK
165 * configure.in: Accept i[34]86-*-*sysv32 because that is what
166 config.guess and config.sub produce.
167
833a2895
JK
168 * mips-tdep.c: Change value to value_ptr.
169
82a2edfb
JK
170Wed Mar 2 09:17:55 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
171
172 * breakpoint.c, breakpoint.h, c-valprint.c, ch-valprint.c,
173 cp-valprint.c, eval.c, expprint.c, findvar.c, language.c,
174 objfiles.h, infcmd.c, printcmd.c, stack.c, typeprint.c,
175 valarith.c, valops.c, valprint.c, value.h, values.c: Replace
176 value with value_ptr. This is for the ptx compiler.
177 * objfiles.h, target.h: Don't declare a "sec_ptr" field using a
178 "sec_ptr" typedef.
179 * symm-nat.c: Add a bunch of stuff for symmetry's ptrace stuff.
180 #if 0 i386_float_info.
181 * symm-tdep.c (round): Remove. Also remove sgttyb.
182 * symm-tdep.c: Remove lots of stuff which duplicates stuff from
183 i386-tdep.c. Remove register_addr and ptx_coff_regno_to_gdb.
184 * i386-tdep.c (i386_frame_find_saved_regs): Put in
185 I386_REGNO_TO_SYMMETRY check in case it is needed for Dynix
186 someday.
187 * config/i386/nm-symmetry.h: Change KERNEL_U_ADDR. Move
188 stuff from PTRACE_READ_REGS, PTRACE_WRITE_REGS macros to
189 symm-nat.c. Define CHILD_WAIT and declare child_wait().
190 * config/i386/tm-symmetry.h: Remove call function stuff; stuff in
191 tm-i386v.h is apparently OK.
192 * config/i386/xm-symmetry.h [_SEQUENT_]: Define HAVE_TERMIOS not
193 HAVE_TERMIO. Define MEM_FNS_DECLARED, NEED_POSIX_SETPGID, and
194 USE_O_NOCTTY.
195
c485c7a9
PS
196Wed Mar 2 11:31:08 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
197
198 * osfsolib.c (xfer_link_map_member): Update to use new
199 target_read_string interface.
200
d1c0c6cf
JK
201Wed Mar 2 09:17:55 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
202
203 * infrun.c (wait_for_inferior): In checking
204 remove_breakpoints_on_following_step, check
205 through_sigtramp_breakpoint as well as step_resume_breakpoint.
206
25200748
JK
207Tue Mar 1 16:22:56 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
208
209 * os9kread.c (os9k_process_one_symbol): Rename
210 VARIABLES_INSIDE_BLOCK to OS9K_VARIABLES_INSIDE_BLOCK.
211 * symfile.c (symbol_file_command): Check for (CORE_ADDR)-1, not
212 (CORE_ADDR)0, from target_link, since that is what it uses.
213 Process name at end, not during parsing (like we did before Kung's
214 change), so that -readnow and -mapped can appear anywhere.
215 Make text_relocation a local variable.
216 * config/i386/i386os9k.mt: Fix comment.
217 * Makefile.in (ALLDEPFILES): Add remote-os9k.c.
218 * os9kread.c: Put "comments" after #endif inside /* */.
219 * stabsread.h: Add os9k_stabs variable.
220 * stabsread.c (start_stabs), os9kread.c (os9k_process_one_symbol):
221 Set it.
222 * stabsread.c (define_symbol): If os9k_stabs, put a 'V' symbol
223 descriptor in global_symbols not local_symbols.
224 (read_type): If os9k_stabs, accept 'c', 'i', and 'b' type
225 descriptors.
226 (read_type): If os9k_stabs, accept function parameters after 'f'
227 type descriptor.
228 (read_array_type): If os9k_stabs, don't expect index type and
229 expect lower and upper to be separated by ',' not ';'.
230 (read_enum_type): If os9k_stabs, read a number before the first
231 enumeration constant.
232 (os9k_init_type_vector): New function.
233 (dbx_lookup_type): Call it when starting new type vector.
234 * config/i386/tm-i386os9k.h: Define BELIEVE_PCC_PROMOTION.
235 * (os9k_process_one_symbol): Call define_symbol not os9k_define_symbol.
236 * os9kstab.c: Removed.
237 * Makefile.in: Update accordingly.
238 * objfiles.c (objfile_relocate_data): Removed.
239 * remote-os9k.c (rombug_wait): Call objfile_relocate
240 not objfile_relocate_data.
241 * objfiles.h, objfiles.c: Remove find_pc_objfile.
242 * remote-os9k.c (rombug_wait): Call find_pc_section not
243 find_pc_objfile.
244 * main.c (quit_command): Check inferior_pid; revert Kung change.
245 * remote-os9k.c (rombug_create_inferior): Set inferior_pid.
246
1340861c
KH
247Tue Mar 1 14:56:14 1994 Kung Hsu (kung@mexican.cygnus.com)
248
249 * os9kread.c: New file to read os9000 style symbo table.
250 * os9kstab.c: new file to read os9000 style stabs.
251 * remote-os9k.c: remote protocol talking to os9000 rombug monitor.
252 * objfiles.c (find_pc_objfile): new function to search objfile
253 from pc.
254 * objfiles.c (objfile_relocate_data): new function to relocate
255 data symbols in symbol table.
256 * objfiles.h: Add two aux fields in struct objfile to handle
257 multiple symbol table files situation like in os9000.
258 * symfile.c: Change so 'symbol-file' command can handle multiple
259 files. Also call target_link() to get relocation infos.
260 * target.c (target_link): new function to get relocation info when
261 a symbol file is requested to load.
262 * main.c (quit_command): take out 'inferior_pid != 0' condition,
263 because in cross mode there's no inferior pid, bit they need to
264 be detached.
265 Makefile.in: add os9kread.c os9kstab.c and .o's.
266 configure.in: add i386os9k target.
267 config/i386/i386os9k.mt: new add.
268 config/i386/tm-i386os9k.h: new add.
269
137b6849
PS
270Tue Mar 1 13:16:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
271
272 * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP): Handle ucbsigvechandler.
273 * sparc-tdep.c (sparc_frame_saved_pc): Handle ucbsigvechandler.
274
4ad0021e
JK
275Tue Mar 1 11:54:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
276
277 * target.c, target.h (target_read_string): Provide error detection to
278 caller. Put string in malloc'd space, so caller need not impose
279 arbitrary limits.
280 * solib.c (find_solib): Update to use new interface.
281 * irix5-nat.c (find_solib): Read o_path from inferior
282 (clear_solib): Free storage for o_path.
283 * valprint.c (val_print_string): Add comments.
284
e3d6ec4a
PS
285Mon Feb 28 23:54:39 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
286
287 * symtab.c (decode_line_1): Handle the case when skip_quoted does not
288 advance `p'.
289
c8ff77be
JK
290Mon Feb 28 12:40:46 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
291
30974778
JK
292 * value.h (struct value): Add modifiable field.
293 * values.c (allocate_value, record_latest_value, value_copy): Set it.
294 (record_latest_value): Don't mess with VALUE_LVAL of value.
295 * valops.c (value_assign): Check it. Reword existing error
296 message on not_lval.
297
b5aff268
JK
298 * mips-tdep.c (mips_step_skips_delay), config/mips/tm-mips.h
299 (STEP_SKIPS_DELAY): Added.
300 * infrun.c (proceed) [STEP_SKIPS_DELAY]: Check for a breakpoint in
301 the delay slot.
302
c8ff77be
JK
303 * valprint.c (val_print_string): If errcode is set, always print
304 an error, regardless of force_ellipsis. In the non-EIO case,
305 just print the error message rather than calling error(). Don't
306 access *(bufptr-1) if bufptr points to the start of the buffer.
307 When looking for '\0', don't increment bufptr and addr if bufptr
308 started out already at limit. If an error happens on fetching the
309 first character, don't print the string.
310
2882219f
JK
311Sun Feb 27 21:05:06 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
312
313 * config/m68k/tm-apollo68b.h: Remove HAVE_68881 define; it is
314 obsolete.
315
316 * i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c,
317 i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c
318 config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h,
319 m88k-tdep.c: Use floatformat.h instead of ieee-float.h.
320 * sparc-tdep.c: Remove now-obsolete ieee-float.h stuff
321 * findvar.c: Update comment regarding ieee-float.h.
322
28ee4b42
PS
323Sun Feb 27 21:39:48 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
324
325 * config/i386/tm-i386v4.h (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP,
326 FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC):
327 Define to make backtracing through the various sigtramp handlers
328 work.
329 * i386-tdep.c (i386v4_sigtramp_saved_pc): New routine to fetch
330 the saved pc from ucontext on the stack for SVR4 signal handling.
331
25354cef
JK
332Fri Feb 25 09:41:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
333
c20c1bdf
JK
334 * remote.c, remote-mon.c, remote-utils.c, remote-utils.h,
335 target.h, remote-es.c, remote-nindy.c: Don't set baud rate if
336 baud_rate is -1. Remove sr_get_baud_rate and sr_set_baud_rate;
337 just use the global variable itself. When printing baud rate,
338 don't print a baud rate if baud_rate is -1.
339
25354cef
JK
340 * coffread.c (read_coff_symtab): Pass mst_file_* to
341 record_minimal_symbol for C_STAT symbols. Put C_EXT and C_STAT
342 symbols in the minimal symbols regardless of SDB_TYPE.
343
7126c1d0
JK
344Thu Feb 24 08:30:33 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
345
bcc37718
JK
346 * breakpoint.h (enum bptype): New type bp_through_sigtramp.
347 (bpstat_what_main_action): New code BPSTAT_WHAT_THROUGH_SIGTRAMP.
348 * breakpoint.c (bpstat_what): Return BPSTAT_WHAT_THROUGH_SIGTRAMP
349 if we hit a bp_through_sigtramp breakpoint. Remove kludge which
350 ignored bs->stop for a bp_step_resume breakpoint.
351 * infrun.c (wait_for_inferior): Make a through_sigtramp_breakpoint
352 which performs one (the check_sigtramp2 one) of the functions
353 which had been handled by the step_resume_breakpoint. For each
354 use of the step_resume_breakpoint, make it still use the
355 step_resume_breakpoint, use the through_sigtramp_breakpoint, or
356 operate on both.
357 Deal with BPSTAT_WHAT_THROUGH_SIGTRAMP return from bpstat_what.
358 When setting the frame address of the step resume breakpoint, set
359 it to the address for frame *before* the call instruction is
360 executed, not after.
361
3fed1c4a
JK
362 * mips-tdep.c (mips_print_register): Print integers using
363 print_scalar_formatted rather than duplicating all the
364 CC_HAS_LONG_LONG and so on.
365 (mips_push_dummy_frame): Use read_register_gen rather than using
366 read_register and then putting it back in target format with
367 store_unsigned_integer. If registers are more than 4 bytes, give
368 an error rather than have some registers overwrite other
369 registers.
370 #if 0 unused include of opcode/mips.h.
371
372 * symfile.h: Don't declare arguments for coff_getfilename.
373
7126c1d0
JK
374 * defs.h: Revert Kung change regarding FORCE_LONG_LONG.
375
6bfd168c
JL
376Thu Feb 24 08:06:52 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
377
378 * configure.in (hppa*-*-osf*): New configuration.
379 * config/pa/hppaosf.mt: New target makefile fragment.
380 * config/pa/tm-hppao.h: New target include file.
381
5c07a10b
PS
382Thu Feb 24 04:29:19 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
383
384 * exec.c (print_section_info): Print entry point for exec_bfd only.
385 * ser-unix.c (wait_for): Fix typo in HAVE_TERMIO case.
8ce2cfc0
PS
386 * dwarfread.c: Remove second inclusion of <sys/types.h>, which
387 causes problems if <sys/types.h> has no multiple inclusion protection.
5c07a10b 388
fce7695f
JL
389Wed Feb 23 16:28:55 1994 Jeffrey A. Law (law@cygnus.com)
390
391 * tm-hppa.h (CALL_DUMMY): Add two NOP instructions to the end of
392 the call dummy to avoid kernel bugs in HPUX, BSD, and OSF1.
393 (CALL_DUMMY_LENGTH): Changed accordingly.
394
318ee78a
SG
395Wed Feb 23 16:21:25 1994 Stu Grossman (grossman at cygnus.com)
396
75a006d9
SG
397 * sparc-stub.c (trap_low): Make trap handler work for arbitrary
398 numbers of register windows.
399
318ee78a
SG
400 * sparclite/hello.c: Add factorial function for testing.
401 * salib.c: Use macros instead of constants for I/O addresses to
402 make 931 support easier.
403 * sparclite.h: Change constraint for LOC to "rJ" to force use of
404 register in sta/lda instructions.
405
56dd4126
JK
406Wed Feb 23 10:39:18 1994 Jim Kingdon (kingdon@rtl.cygnus.com)
407
408 * dbxread.c (process_one_symbol): Set
409 block_address_function_relative for COFF like we do for ELF and SOM.
410
847d9775
PS
411Sat Feb 19 03:17:32 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
412
413 * mdebugread.c (new_psymtab): Pass in section_offsets and set
414 them in the pst.
415 * mdebugread.c (handle_psymbol_enumerators): New function to enter
416 the enumerators of an ecoff enum into the partial symbol table.
417 * mdebugread.c (parse_partial_symbols): Call it.
418 * symfile.c (reread_symbols): Initialize objfile->*_psymbols.next.
419 * symmisc.c (dump_psymtab): Fix typo, clean up output of section
420 offsets. Cast psymtab->read_symtab to PTR before passing it to
421 gdb_print_address.
422 * i386-tdep.c (i386_skip_prologue): Skip over instructions that
423 set up the global offset table pointer in pic compiled code.
424 * config/mips/tm-mips.h (FIX_CALL_DUMMY): For big endian targets,
425 error() on TYPE_CODE_FLT arguments whose size is greater than 8,
426 swap all other TYPE_CODE_FLT arguments as mips_push_arguments
427 ensures that floats are promoted to doubles before they are pushed
428 on the stack.
429
9f35e15a
SG
430Fri Feb 18 23:12:59 1994 Stu Grossman (grossman at cygnus.com)
431
432 * sparclite/Makefile.in, sparclite/salib.c, sparclite/sparclite.h:
433 Fixup cache_on and flush_i_cache so that they work for both the
434 930 and 932 processors. Rewrite most low level funcs (uart
435 access & cache stuff) to use new ASI access macros in sparclite.h.
436 Also make it easy to access second serial port.
437
56173dc5
ILT
438Fri Feb 18 22:17:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
439
440 * hp300ux-nat.c: Don't incloude <sys/dir.h>, <sys/ioctl.h>, or
441 <sys/stat.h>; not needed.
442
c84bab2d
JK
443Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
444
445 * stack.c (print_frame_info): In "pathological" case, don't
446 distrust the line number information.
447
748d77d7
KH
448Fri Feb 18 16:51:14 1994 Kung Hsu (kung@mexican.cygnus.com)
449
450 * mips-tdep.c (mips_print_register): handle 64 bits register.
451 * valprint.c (print_longest): fix a bug in printing 64 bits value.
452
889f1f03
JK
453Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
454
1eb89b9e
JK
455 * Version 4.12.2.
456
ef1a0540
JK
457 * Makefile.in (install): Do the sed for program_transform_name
458 ourselves instead of worrying about INSTALL_XFORM. This enables
459 users to override INSTALL_PROGRAM in the standard way.
460
461 * Makefile.in (c-exp.tab.o, ch-exp.tab.o, m2-exp.tab.o): Don't
462 depend on Makefile.in.
463
fb0f4231
JK
464 * defs.h, valprint.c: Make longest_to_int a function not a macro.
465 Only test against INT_MIN if a LONGEST is bigger than an int.
466
889f1f03
JK
467 * README: Change GhostScript to Ghostscript.
468
662f3b3f
JK
469Fri Feb 18 07:30:55 1994 Jim Kingdon (kingdon@cygnus.com)
470
d5cb2f7d
JK
471 * config/rs6000/{tm-rs6000lynx.h,nm-rs6000lynx.h,xm-rs6000lynx.h}:
472 Rename to tm-rs6000ly.h, nm-rs6000ly.h, xm-rs6000ly.h for 14
473 character file names.
474 * Makefile.in (ALLPARAM): Add these files.
475
662f3b3f
JK
476 * config/mips/littlemips64.mt: Rename to mipsel64.mt for 14
477 character file names.
d5cb2f7d 478 * Makefile.in: Add Kung's new mips64 files.
662f3b3f 479
70126bf9
KH
480Thu Feb 17 17:25:47 1994 Kung Hsu (kung@mexican.cygnus.com)
481
482 * configure.in: add mips64-*-elf, mips64-*-ecoff, mips64el-*-elf,
483 mips64el-*-ecoff and mips64-big-*.
484 * defs.h: get rid of FORCE_LONG_LONG.
485 * mips-tdep.c (mips_find_saved_regs): add sd and sdc1 instruction
486 parsing. Change register size to be MIPS_REGSIZE.
487
c4a081e1
DM
488Thu Feb 17 09:30:22 1994 David J. Mackenzie (djm@thepub.cygnus.com)
489
490 * corelow.c, exec.c, irix5-nat.c, mipsread.c, objfiles.c,
491 osfsolib.c, rs6000-nat.c, solib.c, symfile.c, utils.c,
492 xcoffexec.c: Use bfd_get_error and bfd_set_error and new error names.
493
3b5442f9
SC
494Fri Feb 11 21:47:24 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
495
496 * remote-hms.c (readchar, hms_open, hms_fetch_register): Made more robust.
497 (remove_commands, add_commands): Add/remove hms-drain when target
498 is connected.
499
d87d7b10
SG
500Fri Feb 11 16:11:38 1994 Stu Grossman (grossman at cygnus.com)
501
502 * configure.in: Add Lynx/rs6000 support.
503 * lynx-nat.c: Clean up some Sparc stuff. Clean up ptrace error
504 messages. Add rs6000 support. Don't try to modify unwritable
505 registers.
506 * rs6000-nat.c: Move lots of native dependent stuff (like core
507 file support) from rs6000-tdep.c & xcoffexec.c to here.
508 * rs6000-tdep.c: Move native dependent stuff to nat.c.
509 * xcoffexec.c: Move native dependent stuff to nat.c.
510 * config/rs6000/nm-rs6000.h: Move defs of SOLIB_* macros to here
511 from tm file.
512 * config/rs6000/tm-rs6000.h: Remove defs of SOLIB_* funcs, cuz they're
513 really native.
514 * config/rs6000/tm-rs6000lynx.h, config/rs6000/xm-rs6000lynx.h:
515 New files to support Lynx/rs6000.
516
ba47c66a
PS
517Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
518
519 * README: Remove note about gcc warnings on alpha, these should be
520 gone now.
521 * c-exp.y, ch-exp.y, core.c, corelow.c, eval.c, fork-child.c,
522 m2-exp.y, minsyms.c, nlmread.c, parse.c, putenv.c, regex.c
523 remote-utils.c, stabsread.c: Include <string.h>.
524 * regex.c: Include "defs.h", change re_comp argument to const char *.
525 * infptrace.c (fetch_register, store_inferior_registers): Change
526 regaddr to type CORE_ADDR.
527 * config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS):
528 Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR.
529
530Mon Feb 7 09:21:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
531
532 * symtab.h: Always define BYTE_BITFIELD to nothing.
533
ea5dad7f
JK
534Mon Feb 7 08:44:17 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
535
536 * config/m68k/{m68k-em.mt,tm-m68k-em.h}: Remove; no longer used.
537 * configure.in: Remove comment about m68k-em.mt.
538 * Makefile.in: Remove references.
539
6ddba992
JK
540Mon Feb 7 08:22:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
541
542 * defs.h [BFD64]: Use BFD_HOST_64_BIT, not nonexistent
543 BFD_HOST_64_TYPE.
544
01cd70b9
JK
545Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
546
1dd29bef
JK
547 * target.c (target_preopen): If target_kill doesn't remove the
548 target from the stack, use pop_target to do it.
549
704aea43
JK
550 * coffread.c (process_coff_symbol, case C_TPDEF): Don't set name
551 of TYPE_CODE_PTR or TYPE_CODE_FUNC types. This parallels similar
552 changes to stabsread.c from summer 1993.
553
4a00e1de
JK
554 * remote-udi.c (udi_files_info): If prog_name is NULL, just skip
555 printing the program, rather than passing NULL to printf.
556 (udi_detach): Set udi_session_id to -1 so that udi_close doesn't
557 try to call UDIDisconnect again. Print better message.
558 (udi_kill): Just call UDIDisconnect ourselves, rather than doing
559 it via udi_close.
4a00e1de
JK
560 (udi_create_inferior): If udi_session_id is negative, open a new
561 TIP rather than giving an error.
562
01cd70b9
JK
563 * config/mips/mipsm3.mh, config/i386/i386m3.mh,
564 config/ns32k/ns32km3.mh: Define NAT_FILE.
565 * config/nm-m3.h: Change guard from _OS_MACH3_H_ and _OS_MACH3_H
566 (it was inconsistent and namespace-wrong) to NM_M3_H.
567 * m3-nat.c (mach_really_wait): Change parameter name to ourstatus.
568 (m3_open): New function.
569 (m3_ops): Use it.
570 * TODO: Update Mach section.
571
572 * Makefile.in: Remove "rapp" stuff; it is superseded by gdbserver.
573
d41b3eed
PB
574Sun Feb 6 13:26:21 1994 Per Bothner (bothner@kalessin.cygnus.com)
575
576 * printcmd.c (printf_command): Add missing single-letter
577 backslash-escape sequences, and improve error message.
578
7343d716
JK
579Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
580
842cf831
JK
581 * corelow.c (solib_add_stub, core_open): Pass address of from_tty
582 rather than trying to shove an int into a pointer and back out
583 again. This avoids compiler warnings.
584
7343d716
JK
585 * defs.h (alloca): Declare as void *, not char *, on hpux.
586 Don't prototype it, just declare the return type.
587
57a9fee3
PS
588Sun Feb 6 03:25:41 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
589
590 * config/i386/tm-sun386.h, config/i386/tm-symmetry.h
591 (REGISTER_CONVERT_TO_RAW): Add missing backslash.
592
a1bd6534
JK
593Sat Feb 5 08:03:41 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
594
021b10e3
JK
595 * remote-mips.c (mips_fetch_registers): If regno is FP_REGNUM or
596 ZERO_REGNUM, just read it as zero without talking to the board.
597
8b0a85ba
JK
598 * config/i386/tm-i386aix.h (REGISTER_CONVERT_TO_RAW): Add missing
599 backslash.
600 * i386-tdep.c (i386_extract_return_value): Pass TYPE_LENGTH (type)
601 to store_floating, not nonexistent variable len.
602
aa56c716
JK
603 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
604 New functions.
605 (mips_store_word): Change calling convention to return errors, and
606 to provide old contents if the caller wants it.
607 (mips_xfer_memory): Deal with errors from mips_store_word.
608 * config/mips/tm-idt.h, config/mips/tm-idtl.h: Remove BREAKPOINT
609 define now that remote-mips.c doesn't use BREAKPOINT.
610
611 * remote-mips.c (mips_create_inferior): Call warning if arguments
612 specified, and then execute "set args" command. Call error, not
613 mips_error, if executable file not specified.
614
29fc92e8
JK
615 * remote-e7000.c: Replace "snoop" command (e7000_noecho) with
616 remote_debug.
617
a1bd6534
JK
618 * config/rs6000/tm-rs6000.h (STORE_STRUCT_RETURN): Don't cast
619 to unsigned int.
620
65e98f5b
PS
621Sat Feb 5 05:27:05 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
622
623 * value.h (print_longest): Rename "value" to "val" in prototype
624 declaration because some compilers don't like arguments whose
625 names are the same as types.
626 * remote.c (remote_xfer_memory): Cast "myaddr" to unsigned char *
627 before passing it to remote_*_bytes.
628
edd01519
SC
629Fri Feb 4 15:53:18 1994 Steve Chamberlain (sac@cygnus.com)
630
631 * h8500-tdep.c (saved_pc_after_call): The size of the
632 pc is memory model dependent. (segmented_command,
633 unsegmented_command, _initialize_h8500_tdep): New commands to
634 change memory model.
29fc92e8 635 * remote-e7000.c (_initialize_remote_e7000): Change name of snoop
edd01519 636 command.
678ee700
SC
637 * remote-hms.c (hms_load): Remove breakpoints when loaded.
638 (hms_wait): Use new status structure
639 (hms_open): Push the target here. (hms_before_main_loop): Not
640 here. (supply_val, hms_fetch_register, hms_store_register): Cope
641 with H8/500 names too. (hms_fetch_register): Take out REGISTER_TYPE.
642 * sh-tdep.c (show_regs, initialize_sh_tdep): New command to print
643 all registers in a compact way.
edd01519 644
9c01440d
JK
645Fri Feb 4 07:41:13 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
646
647 * config/rs6000/tm-rs6000.h: Declare rs6000_struct_return_address
648 as CORE_ADDR to match definition in rs6000-tdep.c.
649
4386eff2
PS
650Fri Feb 4 01:14:20 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
651
652 * dwarfread.c (process_dies): Skip nested TAG_compile_unit DIEs.
653 * dwarfread.c (add_partial_symbol): Do not enter opaque aggregate
654 definitions into the psymtab.
655
d351c7a6
JK
656Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
657
658 * m68k-stub.c: Treat mc68332 like mc68020 most places. Provide
659 a special exceptionSize for the 68332.
660
661 * remote-udi.c (udi_attach): If no arguments, print error.
662
4901e77d
FF
663Thu Feb 3 17:34:05 1994 Fred Fish (fnf@cygnus.com)
664
665 * Makefile.in (VERSION): Bump to 4.12.1
666 * NEWS, README: Update to match 4.12 release.
667
159ada02
JK
668Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
669
4901e77d
FF
670 * command.c (empty_sfunc): New function.
671 (add_set_cmd): Use it instead of not_just_help_class_command.
672 (not_just_help_class_command): Change calling convention back to
673 what it was before yesterday's change.
674
159ada02
JK
675 * stabsread.c (read_sun_builtin_type): Skip the semicolon at the end
676 of the type if present.
677
5b3591ab
JK
678Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
679
eade0c6c
JK
680 * printcmd.c (decode_format): Don't blithely set the size for
681 an address to 'w'. Make it 'g' or 'h', depending on TARGET_PTR_BIT.
682
683 * defs.h: Just typedef CORE_ADDR to bfd_vma. Include bfd.h.
684 If BFD64, make a LONGEST a BFD_HOST_64_BIT.
685 * defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead
686 always just check against INT_MIN and INT_MAX (this also fixes things
687 if sizeof (long) > sizeof (int), e.g. Alpha).
688 * config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h:
689 Don't define LONGEST or BUILTIN_TYPE_LONGEST.
690 * gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and
691 BUILTIN_TYPE_UNSIGNED_LONGEST.
ce855594
JK
692 * language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: Remove
693 longest_int and longest_unsigned_int.
eade0c6c
JK
694 * value.h (struct value): Just align to LONGEST, rather than worrying
695 about CC_HAS_LONG_LONG.
b1de1647
JK
696 * valarith.c (value_binop): Figure out type ourself based on
697 sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The
698 point is that we don't depend on CC_HAS_LONG_LONG anymore.
eade0c6c
JK
699 * valprint.c (val_print_type_code_int): Just call
700 extract_unsigned_integer directly, rather than going through
701 unpack_long.
702 * printcmd.c (decode_format): Remove code which would sometimes
703 change 'g' size to 'w' for integers. print_scalar_formatted handles
704 printing huge integers well enough, thank you.
705
4901e77d 706 * command.c (add_set_cmd, not_just_help_class_command): Change
719d9abb
JK
707 to make this the sfunc, not cfunc, since that is how we call it.
708 * command.h: Comment difference between sfunc and cfunc.
709 * demangle.c (set_demangling_command): Add third arg since that
710 is how it is called.
711 (_initialize_demangler): Use sfunc, not cfunc, for
712 set_demangling_command, since that is how it is called.
713 Remove show_demangling_command; it has no effect.
714
5b3591ab
JK
715 * command.c (shell_escape): Report errors correctly (with error
716 message from strerror).
717
37f24dc9
ILT
718Wed Feb 2 14:35:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
719
720 * xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to use
721 x_scnlen.l rather than x_scnlen to match corresponding change in
722 coff/internal.h.
723
61932a8e
JK
724Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
725
726 * gdbtypes.h, ch-typeprint.c, ch-valprint.c:
727 Change comments regarding TYPE_CODE_BOOL.
728 * language.c (boolean_type): Always return 1 for TYPE_CODE_BOOL,
729 regardless of the language.
730 (value_true): Just call value_logical_not regardless of language.
731 * coffread.c (coff_read_enum_type), stabsread.c (read_enum_type):
732 Remove #if 0'd code which makes some enums TYPE_CODE_BOOL.
733 * language.h: Improve comment for la_builtin_type_vector.
734 * m2-lang.c (_initialize_m2_language): Don't add any fields to
735 builtin_type_m2_bool.
736
7bec77b4
JK
737Tue Feb 1 17:13:32 1994 Kevin Buettner (kev@cujo.geg.mot.com)
738
739 * config/m88k/{tm-delta88.h,tm-delta88v4.h}, m88k-tdep.c:
740 Define IN_SIGTRAMP and backtrace correctly through signal handlers.
741
8afd05c0
JK
742Tue Feb 1 22:13:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
743
744 * procfs.c (wait_fd): Handle EINTR error return from PIOCWSTOP ioctl
745 by restarting the ioctl.
746
10b9bb56
JK
747Tue Feb 1 16:16:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
748
749 * target.h (target_wait): Add comment about calling
750 return_to_top_level.
751
bf8d9d28
ILT
752Tue Feb 1 12:21:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
753
754 * coffread.c (read_one_sym): bfd_coff_swap_aux_in now takes
755 additional arguments.
756 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno): Likewise.
757
efe3ff3e
SG
758Mon Jan 31 16:10:41 1994 Stu Grossman (grossman at cygnus.com)
759
760 * sparc-stub.c: Remove unnecessary #include of memory.h.
761
37dea45f
JK
762Mon Jan 31 12:12:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
763
14d79562
JK
764 * mips-tdep.c: Remove code which sets saved_regs from
765 init_extra_frame_info and put it in new function mips_find_saved_regs.
766 (READ_FRAME_REG): Remove macro and replace uses with the expansion.
767 * mips-tdep.c, config/mips/tm-mips.h: When examining ->saved_regs,
768 check if it is NULL and call mips_find_saved_regs if so.
769
47d52968
JK
770 * remote-mips.c: Use unfiltered, not filtered, output most places.
771
37dea45f
JK
772 * blockframe.c (get_prev_frame_info): Detect and stop an infinite
773 backtrace. Revise comments.
774
0434c1a0
PS
775Mon Jan 31 09:40:33 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
776
777 * mdebugread.c (parse_procedure): Remove _sigtramp kludges for
778 alpha and irix. The _sigtramp case has to be handled properly
779 in the tdep files if we have no ecoff debugging info.
780 * alpha-tdep.c (alpha_frame_saved_pc, alpha_frame_chain),
781 mips-tdep.c (mips_frame_saved_pc): Handle signal handler frames
782 without PC_REGNUM kludge.
783 * mdebugread.c (fixup_sigtramp), mips-tdep.c (read_next_frame_reg):
784 Clean up handling of mips sigtramp frames, improve comments.
785
d64956fa
JL
786Sat Jan 29 23:25:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
787
788 * paread.c (read_unwind_info): Fix typo.
789
790 * paread.c (pa_symtab_read): Update the "check_strange_names"
791 filter to match GCC's current output. Filter out section symbols
792 (which the HP linker sometimes puts in the wrong place).
793
9db58d3a
JK
794Sat Jan 29 07:44:59 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
795
3a479851
JK
796 * serial.h (SERIAL_SET_TTY_STATE): Comment return value.
797
a0b352c0
JK
798 * Makefile.in (TAGS): Just echo one line, rather than the whole thing.
799
800 * Makefile.in: Remove all references to sparcly-nat.c.
801
802 * Makefile.in (HFILES_NO_SRCDIR): Include dcache.h remote-utils.h
803 remote-sim.h directly, rather than via $(remote_utils_h). This avoids
804 duplicating serial.h and target.h.
805
7a78db15
JK
806 * Makefile.in: Don't set M_INSTALL and M_UNINSTALL. These variables
807 are not used anywhere (a 5 Oct 1993 change removed the uses).
808
895efe6b
JK
809 * config/m68k/monitor.mt (TDEPFILE): Add remote-es.o.
810 * config/m68k/es1800.mt: Add comment.
3a479851 811 * remote-es.c: Extensive changes to update to current conventions.
895efe6b 812
9db58d3a
JK
813 * ser-unix.c (wait_for, hardwire_readchar) [HAVE_TERMIO, HAVE_TERMIOS]:
814 If the timeout is too big to fit in c_cc[VTIME], then do multiple reads
815 to achieve the desired timeout.
816 * serial.h (serial_t): Add field timeout_remaining.
817
f28c6e38
JK
818Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
819
820 * c-exp.y (yylex): Reenable nested type code.
821
b09f44d2
JK
822Fri Jan 28 15:40:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
823
7f2ffa58
JK
824 * a29k-tdep.c (examine_tag): Add comment regarding argcount.
825
796d1fd3
JK
826 * remote-mips.c (mips_ops): Fix docstring.
827
97cc0428
JK
828 * remote-bug.c (bug_ops): Remove spurious newline from docstring.
829
ddd0223e
JK
830 * config/m68k/tm-monitor.h: Changes to bring this into accordance
831 with the old tm-m68k-em.h:
832 (GDBINIT_FILENAME, DEFAULT_PROMPT): Remove.
97cc0428 833 (HAVE_68881): Don't undefine; HAVE_68881 is obsolete.
ddd0223e
JK
834 (REGISTER_NAMES): Don't muck with it; what tm-m68k.h has is fine.
835 Add FIXME regarding GET_LONGJMP_TARGET.
836
b09f44d2 837 * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.
97cc0428
JK
838 * infptrace.c (kill_inferior): Add comments.
839 * main.c (quit_command): Call target_close after we kill or
840 detach.
841 * remote-udi.c (udi_close): Don't error() if QUITTING.
b09f44d2 842
0ffba029
RS
843Fri Jan 28 11:55:52 1994 Rob Savoye (rob@darkstar.cygnus.com)
844
845 * configure.in: Make m68k-coff and aout add monitor support in
846 addition to the standard serial support.
847
bb7cb982
JK
848Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
849
850 * mdebugread.c (psymtab_to_symtab_1): Don't complain on stLabel with
851 index indexNil.
852
9fdb3f7a
JK
853Fri Jan 28 10:40:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
854
855 * config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS.
856 * elfread.c (record_minimal_symbol_and_info),
857 dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it.
858
a28d16d3
JK
859Thu Jan 27 15:12:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
860
6202263d
JK
861 * i386-stub.c: Add ".text" right before "mem_fault:".
862
9c41f6a6
JK
863 * main.c (baud_rate): Add FIXME comment about printing -1 value.
864
865 * remote-utils.c (usage): Fix message to be accurate and conform
866 more closely to normal conventions.
867
868 * remote-utils.c (gr_files_info): Have the exec_bfd test control
869 whether to show information about exec_bfd, and not control whether
870 to show information about device and speed.
871
872 * remote-utils.c (gr_open): If sr_get_device returns NULL, give
873 usage message, don't dump core.
874
875 * remote-bug.c (bug_write_memory): Use alloca, not GCC extension
876 for variable size array.
877 (bug_fetch_register, bug_store_register): Rename "value" to
878 "fpreg_buf" because some compilers don't like variables whose
879 names are the same as types.
880 (bug_store_register): Use a cast when converting char * to
881 unsigned char *.
882
d5c551c9
JK
883 * symmisc.c (maintenance_print_symbols): Don't refer to the name
884 of the command in error message (the text was referring to the old
885 name of the command).
886
887 * symmisc.c (dump_symtab): Fix args to fprintf_filtered.
888
0e4ad984
JK
889 * c-typeprint.c (c_type_print_base): Have SHOW == 0 mean to print
890 full details on structure elements without names. This partially
891 reverts the changes of 1 Jul 1993 and 31 Aug 1993; I think this aspect
892 of those changes was accidental.
893
577da8cb
JK
894 * stack.c (parse_frame_specification): If SETUP_ARBITRARY_FRAME is
895 defined, make it an error to specify a single argument which is not
896 a frame number.
897
a28d16d3
JK
898 * Makefile.in (version.c), main.c (print_gdb_version): Use
899 host_alias and target_alias, not host_canonical and
900 target_canonical, to print configuration.
901
833e0d94
JK
902Wed Jan 26 10:57:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
903
d92f3f08
JK
904 * parse.c (write_exp_msymbol): Use new type msymbol_addr_type instead
905 of builtin_type_long. It is necessary to get a type which is
906 TARGET_PTR_BIT bits in size; builtin_type_long might not be big enough.
907
833e0d94
JK
908 Fix many sins which will come up in 32 bit x 64 bit GDB, and
909 various miscellaneous things discovered in the process:
910 * printcmd.c, defs.h (print_address_numeric): New function.
911 * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print)
912 breakpoint.c (describe_other_breakpoints, breakpoint_1, mention),
913 cp-valprint.c (cplus_print_value), infcmd.c (jump_command),
914 printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c:
915 Use it.
916 * utils.c, defs.h (gdb_print_address): New function.
917 * expprint (dump_expression), gdbtypes.h: Use it.
918 * breakpoint.c (describe_other_breakpoints),
919 symmisc.c (dump_symtab, print_symbol):
920 Use filtered not unfiltered I/O.
921 (remove_breakpoints): Remove BREAKPOINT_DEBUG code. Might as well
922 just run gdb under a debugger for this (and it had problems with
923 printing addresses, how to print b->shadow, etc.).
924 * buildsym.c (make_blockvector), core.c (memory_error),
925 exec.c (print_section_info), maint.c (print_section_table),
926 mdebugread.c (parse_procedure), solib.c, source.c, symfile.c,
927 symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c:
928 Add comments saying code is broken. Marked with "FIXME-32x64".
929 * dbxread.c (process_one_symbol), partial-stab.h (default),
930 remote-vx.c (vx_run_files_info):
931 Don't cast int being passed to local_hex_string.
932 * symmisc.c (print_symbol): Don't cast long being passed to %lx.
933 * symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE
934 only being a long.
935 * symmisc.c (print_symbol): Print "offset" in message for LOC_ARG
936 and LOC_LOCAL.
937 * printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE.
938 * source.c: Include <sys/types.h> regardless of USG.
939
67e9b3b3
PS
940Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
941
942 * valops.c (value_assign): Set `type' after coercing toval.
943 * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print):
944 Use extract_unsigned_integer to get the address of a reference.
945
36464897
JK
946Tue Jan 25 11:31:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
947
91a0575c
JK
948 * stabsread.c (STABS_CONTINUE, error_type), partial-stab.h:
949 AIX can use ? instead of \ for continuation. Deal with it.
950
36464897
JK
951 * paread.c (read_unwind_info): Just assign to objfile->obj_private,
952 not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which
953 the HP compiler in ANSI mode doesn't like.
954
955 * main.c: When defaulting HAVE_SIGSETMASK based on USG, just do it
3bc45b7a
JK
956 based on USG, rather than defining HAVE_SIGSETMASK to an
957 expression containing defined. Having a macro used in #if expand
958 to an expression containing "defined" is undefined according to
959 ANSI, and the HP compiler in ANSI mode doesn't do what we wanted
960 it to.
36464897 961
2ba6182b
JG
962Mon Jan 24 20:51:29 1994 John Gilmore (gnu@cygnus.com)
963
964 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
965 Clean up the changes of 11 Jan, as recommended by Peter Schauer.
966
96b6b765
PB
967Fri Jan 21 19:10:44 1994 Per Bothner (bothner@kalessin.cygnus.com)
968
969 * ch-exp.y (match_string_literal): Allow a zero-length string.
970 * ch-lang.c (chill_printstr): Don't print zero-length string funny.
971
dfd4c728
JK
972Sat Jan 22 17:08:48 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
973
974 * i386aix-nat.c (i386_float_info): Reverse order of registers before
975 passing them to print_387_status.
976 (print_387_status): Don't subtract top from 7 before using it.
977 * i387-tdep.c: Remove comment about AIX wanting "top" subtracted
978 from 7; the above explains it.
979
5efd597b
PS
980Sat Jan 22 20:25:11 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
981
982 * mips-tdep.c (init_extra_frame_info): Use frame relative stack
67e9b3b3 983 pointer value when fixing up the frame at the start of a function.
5efd597b 984
e90445c9
SG
985Sat Jan 22 12:29:13 1994 Stu Grossman (grossman at cygnus.com)
986
987 * lynx-nat.c (fetch_core_registers): Load the I & L regs for the
988 Sparc from the stack.
989
08f74b92
JK
990Sat Jan 22 08:30:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
991
864df7e6
JK
992 * remote-mips.c (mips_initialize): Clear mips_initializing via
993 cleanup chain, not directly.
994
995 * ser-unix.c (wait_for) [HAVE_TERMIO, HAVE_TERMIOS]: Make a timeout
996 of -1 mean forever, like in the HAVE_SGTTY case. Warn if we are
997 munging the timeout due to the limited range of c_cc[VTIME].
998
08f74b92
JK
999 * fork-child.c, inferior.h (fork_inferior): New argument shell_file.
1000 * procfs.c (procfs_create_inferior), inftarg.c (child_create_inferior),
1001 m3-nat.c (m3_create_inferior): Pass it.
1002 * procfs.c: Remove ptrace function. It was declared in a way which
1003 conflicted with the prototype in unistd.h on Solaris.
1004
cdcf48be
PS
1005Sat Jan 22 01:37:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1006
1007 * sparc-tdep.c (frame_saved_pc): Get the pc from the saved pc
1008 in the sigcontext if it is a signal trampoline frame.
1009 * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET):
1010 Define for Solaris2.
1011
8bf94f44
SG
1012Sat Jan 22 00:34:47 1994 Stu Grossman (grossman at cygnus.com)
1013
1014 * sparc-tdep.c, lynx-nat.c, config/sparc/tm-sparc.h,
1015 config/sparc/tm-sparclynx.h: Move defs of FRAME_SAVED_I0/L0 to
1016 tm-sparc.h so they can be overridden if necessary.
1017
d575ddc0
SG
1018Fri Jan 21 17:49:28 1994 Stu Grossman (grossman at cygnus.com)
1019
1020 * lynx-nat.c: Add Sparc support.
1021 * sparcly-nat.c: Remove. It's useless.
1022 * config/sparc/nm-sparclynx.h: Rewrite.
1023 * config/sparc/sparclynx.mh (NATDEPFILES): Replace sparcly-nat.o
1024 with lynx-nat.o
1025 * config/sparc/tm-sparclynx.h: Rewrite.
1026
00240279
ILT
1027Fri Jan 21 19:08:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1028
1029 * rs6000-pinsn.c: Use the new disassembler in the opcodes
1030 directory. Old code was discarded, since the new opcode table has
1031 a different format.
1032
a2608ea1
FF
1033Fri Jan 21 14:28:30 1994 Fred Fish (fnf@cygnus.com)
1034
1035 * Makefile.in (realclean): Remove info files per make-stds.texi.
1036
6545c6a0
JK
1037Fri Jan 21 12:47:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1038
1039 * dbxread.c (end_psymtab): Only patch psymtab textlow and texthigh
1040 if N_SO_ADDRESS_MAYBE_MISSING is defined.
1041 * config/sparc/tm-sun4sol2.h: Define it.
1042
cd5ee294
JK
1043Thu Jan 20 15:04:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1044
1045 * printcmd.c (print_address_symbolic): Unconditionally use msymbol
1046 if we did not find a symbol.
1047
918fea3e
JL
1048Fri Jan 21 08:20:18 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1049
1050 * infptrace.c (child_xfer_memory): Only use if CHILD_XFER_MEMORY
1051 is not defined.
1052
1053 * hppab-nat.c (call_ptrace): Delete redundant function.
1054 (kill_inferior, attach, detach, child_resume): Likewise.
1055 (child_xfer_memory): Likewise.
1056
1057 * hppah-nat.c (call_ptrace): Delete redundant function.
1058 (kill_inferior, attach, detach, child_resume): Likewise.
1059
1060 * config/pa/hppabsd.mh (NATDEPFILES): Add infptrace.o.
1061
1062 * config/pa/hppahpux.mh (NATDEPFILES): Add infptrace.o.
1063
1064 * config/pa/nm-hppab.h (FETCH_INFERIOR_REGISTERS): Define.
1065
1066 * config/pa/nm-hppah.h (FETCH_INFERIOR_REGISTERS): define.
1067 (CHILD_XFER_MEMORY): Define.
1068 (PT_*): Define so that generic infptrace.c code can be used.
1069
27ad511f
JK
1070Fri Jan 21 09:23:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1071
1b880e74
JK
1072 * xcoffread.c (xcoff_symfile_read): Make second parameter a
1073 struct section_offsets *, not a (nonexistent) struct section_offset *.
1074
6657a0c7
JK
1075 * xcoffread.c (read_xcoff_symtab): Make main_aux just a union
1076 internal_xcoff_symtab, not an array of one of them. Change lots of
1077 "main_aux" to "&main_aux" and so on.
1078
27ad511f
JK
1079 * coffread.c, xcoffread.c: Include <coff/internal.h>
1080 before "symfile.h".
1081
d4a0983a
JK
1082Thu Jan 20 17:30:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1083
dbb0fae2
JK
1084 * coffread.c (coff_getfilename): Make it not static.
1085
d4a0983a
JK
1086 * xcoffread.c (read_xcoff_symtab): complain() not abort().
1087
1088 * xcoffread.c (struct coff_symbol): Rename c_nsyms to c_naux (removes
1089 a completely gratuitous difference between xcoffread.c and coffread.c).
1090
d7e7e851
JK
1091Wed Jan 19 15:09:44 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1092
1093 * infrun.c (wait_for_inferior): Don't set frame for
1094 step_resume_breakpoint for IN_SIGTRAMP cases.
1095
1096 * infrun.c (wait_for_inferior), breakpoint.h (struct bpstat_what),
1097 breakpoint.c (bpstat_what): Move step_resume from its own field of
1098 the struct bpstat_what into the main_action. Make it override
1099 other breakpoints. This is a conservative change in the sense
1100 that before the step resume breakpoint was a breakpoint.c
1101 breakpoint, hitting the step resume breakpoint overrode even
1102 calling bpstat_stop_status.
1103
f1de67d3
PS
1104Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1105
1106 * infrun.c (normal_stop): Set stop_pc after popping the dummy frame
1107 in case execution was stopped in the called function.
1108 * stack.c (print_frame_info, frame_info): If backtracing through
1109 a call dummy, handle the starting source line number on a line
1110 boundary like backtracing through sigtramp.
1111 * sparc-tdep.c (sparc_frame_find_saved_regs): Get frame address
1112 for call dummy frame right. Remove old test for dummy frame,
1113 it has been unused at least since gdb-3.5.
1114 * sparc-tdep.c (sparc_push_dummy_frame): Set return address register
1115 of the dummy frame.
1116
c6e0f918
JK
1117Tue Jan 18 16:16:35 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1118
1119 * infcmd.c (signal_command): Accept 0 as legitimate signal number.
1120
db4340a6
JK
1121Tue Jan 18 14:09:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1122
1123 * infrun.c (signals_info), target.c (target_signal_from_name):
1124 Use ugly casts to avoid enumvar < enumvar or enumvar++.
1125
4d4f2d50
JK
1126Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1127
d881dd86
JK
1128 * ser-unix.c (hardwire_noflush_set_tty_state): Don't muck with ICANON.
1129 * inflow.c (terminal_ours_1): When discussing how to deal with the
1130 tty state, make note of query() as well as readline.
1131
4d4f2d50
JK
1132 * infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of
1133 signals for which stop and print are cleared by default.
1134
5c38fcee
JL
1135Mon Jan 17 20:00:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1136
c7f3b703
JL
1137 * config/pa/tm-hppa.h (unwind_table_entry): Use one of the
1138 reserved fields to hold a stub unwind entry type. Fix typo.
1139 (stub_unwind_entry): New structure for raw stub unwind entries.
1140 (stub_unwind_types): The types of stubs we may encounter.
1141 (UNWIND_ENTRY_SIZE, STUB_UNWIND_ENTRY_SIZE): New defines.
1142 * hppa-tdep.c (rp_saved): Use additional information provided
1143 by linker stub unwind descriptors.
1144 (frameless_function_invocation): Likewise.
1145 (frame_chain_valid): Likewise.
1146 * paread.c (compare_unwind_entries): New function for sorting
1147 unwind table entries.
1148 (read_unwind_info): Rewrite to remove dependency on host endianness.
1149 Read in data from the $UNWIND_END$ subspace which contains linker
1150 stub unwind descriptors. Merge that data into the basic unwind
1151 table.
1152
5c38fcee
JL
1153 * hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions.
1154
af8b7906
JK
1155Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1156
1157 * xcoffread.c (read_xcoff_symtab, case C_FILE): Accept the name
1158 from either the symbol name or the auxent.
1159 * coffread.c, symfile.h (coff_getfilename): Renamed from getfilename,
1160 no longer static.
1161
0e7da49c
FF
1162Mon Jan 17 13:35:01 1994 Fred Fish (fnf@cygnus.com)
1163
1164 * Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h.
1165
b90811f9
PS
1166Mon Jan 17 12:35:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1167
1168 * README: Update notes for alpha port.
1169
24a11a79
JK
1170Mon Jan 17 11:15:57 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1171
1172 * i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL
1173 for operation fault, constraint fault, and type fault.
1174
b76dcd4b
JK
1175Sun Jan 16 12:46:01 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1176
623d7380
JK
1177 * Makefile.in (init.c): Add comment explaining formatting conventions.
1178
a39f7739
JK
1179 * c-exp.y (parse_number): Assign to temporary between the right
1180 shifts, to work around a bug in the SCO compiler.
1181
07919221
JK
1182 * Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR):
1183 Add various files which were added to GDB recently.
1184
91cc45da
JK
1185 * xcoffread.c (process_xcoff_symbol): Only change 'V' to 'S' if not
1186 within_function.
1187
b76dcd4b
JK
1188 * Makefile.in: Add mostlyclean target.
1189
d7a5ff3c
JK
1190Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1191
1192 * Version 4.11.4.
1193
8b564df8
PB
1194Sat Jan 15 18:27:34 1994 Per Bothner (bothner@kalessin.cygnus.com)
1195
1196 * main.c (show_commands): Make return type of extern
1197 history_get be HIST_ENTRY, rather than struct _hist_entry.
1198 (The latter loses with the upcoming merged readline.)
1199
dac317dc
JK
1200Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1201
ab5f7971
JK
1202 * minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
1203 const char *, not char *.
1204
fb155ce3
JK
1205 * symtab.h (struct symbol): Make section short, not unsigned short.
1206
87041845
JK
1207 * symtab.c (lookup_symbol): Add comment about QUIT here.
1208
f29351d9
JK
1209 * utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
1210
a9b32d61
JK
1211 * c-exp.y (parse_number): Check for overflow regardless of range
1212 checking. Fix overflow check to use unsigned LONGEST, not
1213 unsigned int.
1214
1215 * c-exp.y (parse_number): Make it so that integer constants are
1216 builtin_type_long_long if builtin_type_long isn't big enough or if
1217 an "LL" suffix is used. Properly handle "UL" or "LU" suffixes.
1218
dac317dc
JK
1219 * c-typeprint.c (c_type_print_varspec_suffix, case TYPE_CODE_FUNC):
1220 Print our "()" first, then recurse for the target type.
1221
4c0b3e57
JK
1222Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1223
831a39d7
JK
1224 * remote-udi.c (udi_create_inferior): Quote empty execfile argument.
1225
4c0b3e57
JK
1226 * gdbserver/low-lynx.c: Include <sys/wait.h> not "/usr/include/wait.h".
1227
44a09a68
JK
1228Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1229
1230 * utils.c (request_quit): Re-establish signal handler regardless
1231 of USG.
1232
1233 * config/mips/xm-irix4.h: Define HAVE_TERMIOS.
1234
98506620
JK
1235Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1236
1237 * i960-tdep.c: Include target.h.
1238
658821b9
SS
1239Fri Jan 14 17:12:28 1994 Stan Shebs (shebs@andros.cygnus.com)
1240
1241 * lynx-nat.c (sys/wait.h): Don't use absolute pathname.
1242
1243Fri Jan 14 11:06:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1244
1245 * lynx-nat.c (child_wait): Fix thinkos in struct target_waitstatus
1246 changes (status -> ourstatus; declare status, etc.).
1247 * config/nm-lynx.h: Fix child_wait prototype and include target.h.
1248
4e8bc56f
JK
1249Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1250
1251 * Makefile.in (ALLPARAM): Add config/nm-lynx.h.
1252
aeb145f8
ILT
1253Fri Jan 14 11:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1254
1255 * remote-mips.c (mips_request, mips_wait): Correct prototypes.
1256
d253eb7a
JK
1257Fri Jan 14 11:37:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1258
1259 * config/i386/xm-linux.h: Define HAVE_TERMIOS.
1260
52b3045e
PS
1261Fri Jan 14 01:04:36 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1262
1263 * config/alpha/tm-alpha.h (CALL_DUMMY): Improve comment.
1264
ae682b80
JK
1265Thu Jan 13 10:32:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1266
d0acb092
JK
1267 * remote-vx.c (vx_wait): Only call i960_fault_to_signal if I80960
1268 is defined. Otherwise just report TARGET_SIGNAL_UNKNOWN.
1269
1270 * mips-tdep.c (mips_push_arguments): Byteswap struct_addr before
1271 writing it.
1272
63dcc380
JK
1273 Add search to target vector (#if 0'd until after 4.12):
1274 * target.h (to_search, target_search): Add.
1275 * gdbcore.h, core.c (generic_search): Add.
1276 * remote.c (remote_search): Add.
1277 * a29k-tdep.c (init_frame_info): Use target_search to find traceback
1278 tag.
1279
d6596eee
JK
1280 * printcmd.c (print_address_symbolic): If set print fast-symbolic-addr
1281 is on, call find_pc_function rather than relying just on the minimal
1282 symbols (probably only matters for symbol readers which don't put
1283 statics in the minimal symbols, but changing this strikes me as
1284 not conservative enough).
1285 Initialize name_location in all cases.
1286 If no symbol and no msymbol, don't print anything symbolic.
1287
ae682b80
JK
1288 * a29k-tdep.c (push_dummy_frame): Add comment about saving lr0.
1289
314e6bf3
JG
1290Wed Jan 12 20:53:16 1994 John Gilmore (gnu@cygnus.com)
1291
1292 * printcmd.c (print_address_symbolic): Make it search the
1293 symtabs for variables as well as functions. Add `set print
1294 fast-symbolic-addr' and default it to fast (the old way).
1295 Print line numbers for data items as well as functions.
1296
1297 * symtab.c (find_addr_symbol): Return the symtab and the symbol
1298 address, if a symbol is found (take two more args pointing to
1299 where to store these results).
1300
1301 * symtab.h (find_addr_symbol): Add prototype.
1302
470dfa0c
JK
1303Wed Jan 12 19:32:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1304
1305 * objfiles.h: Fix comments to reflect the fact that the phrase
1306 "top of stack" always refers to where the pushing and popping takes
1307 place, regardless of whether it is at the highest or lowest address.
1308
a8c49897
PS
1309Wed Jan 12 13:23:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1310
1311 * mdebugread.c (parse_symbol): Do not set TYPE_TAG_NAME for
1312 compiler generated tag names.
1313 * mdebugread.c (parse_type): Handle cross references to qualified
1314 aggregate types.
1315 * valops.c (value_struct_elt): Improve error message if the
1316 address of a method is requested from an object instance.
1317 * valops.c (search_struct_method): Make name_matched non-static
1318 to get it initialized correctly.
1319 * config/i386/nm-i386sco.h (CANNOT_STORE_REGISTER): Define to
1320 exclude segment register which are not writable on newer SCO versions.
1321
4ad942bf
JK
1322Wed Jan 12 14:44:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1323
1324 * go32-xdep.c: Remove unused function uerror.
1325 (sigsetmask): Declare return type. Declare argument (to match the
1326 way it is called). Explicitly return 0.
1327
21578747
JG
1328Wed Jan 12 01:44:25 1994 John Gilmore (gnu@cygnus.com)
1329
1330 * symtab.h (struct symbol, general_symbol_info, minimal_symbol,
1331 partial_symbol): Shrink the storage sizes of symbols, by making
1332 enums into 1-byte bitfields when compiled __GNUC__, moving all the
1333 enums and small ints to the end of each struct to improve
1334 alignment, and switching the section number from int to unsigned
1335 short.
1336
e0ea0fbd
JG
1337Wed Jan 12 00:16:26 1994 John Gilmore (gnu@cygnus.com)
1338
1339 * symtab.c (find_addr_symbol): New routine that will find the nearest
1340 symbol associated with an address. It does so by exhaustive
1341 search of the symtabs, so it's slow but complete.
1342
011d4ed9
JG
1343Tue Jan 11 23:57:30 1994 John Gilmore (gnu@cygnus.com)
1344
1345 * coffread.c (read_coff_symtab): Set PC bounds of _globals_ symtab
1346 to [0,0] rather than [0, end of first source file]. This avoids
1347 problems with other parts of GDB looking for linetables in the
1348 _globals_ symtab. Eliminate variables num_object_files and
1349 first_object_file_end.
1350
eb5b74ca
JG
1351Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com)
1352
1353 * a29k-tdep.c (init_frame_info): Cast null arg to examine_tag.
1354 (pop_frame): Restore PC2 and LR0 from dummy frames.
1355 (push_dummy_frame): Save PC2 and LR0 into dummy frames.
1356 (setup_arbitrary_frame): Handle 3 args and set up real frames.
1357 * config/a29k/tm-a29k.h (FRAME_NUM_ARGS): Update comments.
1358 (DUMMY_FRAME_RSIZE): Add 2 longwords for PC2 and LR0.
1359 (SETUP_ARBITRARY_FRAME): Define.
1360
4d69cf57
JK
1361Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1362
1363 * infrun.c, config/mips/tm-irix5.h: Remove #if 0'd AT_FUNCTION_START.
1364
6a69975f
ILT
1365Tue Jan 11 14:27:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1366
1367 * remote-udi.c (udi_resume): Correct prototype.
1368
c598654a
JL
1369Tue Jan 11 11:10:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1370
1371 * config/pa/tm-hppa.h (FRAME_FIND_SAVED_REGS): Call
1372 hppa_frame_find_saved_regs.
1373 * hppa-tdep.c (dig_fp_from_stack): Delete function.
1374 (prologue_inst_adjust_sp): New function.
1375 (is_branch, inst_saves_gr, inst_saves_fr): New functions.
1376 (skip_prologue): Completely rewrite to use unwind information.
1377 (hppa_frame_find_saved_regs): Likewise.
1378
6397809b
JK
1379Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1380
f3fe8934
JK
1381 * remote-mips.c (mips_wait): Use new function mips_signal_from_protocol
1382 to convert a signal number with appropriate bounds checking.
1383
6397809b
JK
1384 * remote-mips.c (mips_wait): Fix typos (0x177 -> 0177, 0x377 -> 0377).
1385
c369b6a3
JG
1386Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com)
1387
a31f4b90
JG
1388 * stack.c (frame_info): If FRAME_FIND_SAVED_REGS isn't defined,
1389 print a newline to end the display anyway.
1390
c6d8db40
JG
1391 * sparc-tdep.c (sparc_pop_frame): Pop the fsr and csr (float and
1392 coprocessor status regs) when popping a frame. This fixes
1393 float exceptions that occur after calling inferior functions.
1394
c369b6a3
JG
1395 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
1396 Read and write the fsr (float status register) to/from the child
c6d8db40
JG
1397 process along with the float regs. Remove Peter Schauer's change
1398 of May 24 '93, which has higher overhead and doesn't solve the
1399 real problem (which was that FSR wasn't being set).
c369b6a3 1400
7b2bcbf5
JG
1401Mon Jan 10 23:16:42 1994 John Gilmore (gnu@cygnus.com)
1402
1403 * a29k-tdep.c (examine_prologue): Don't worry if the ASGEQ
1404 stack overflow check isn't right after the register stack
1405 adjustment instruction. Metaware R2.3u compiler moves other
1406 things in front of it. This fix isn't perfect but is what's
1407 running.
1408
6aaa61de
JK
1409Mon Jan 10 20:08:23 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1410
85b8aa88
JK
1411 * c-valprint.c (c_val_print): Treat TYPE_CODE_RANGE like TYPE_CODE_INT.
1412
6aaa61de
JK
1413 * config/alpha/alpha-netware.mt: Rename to alpha-nw.mt for 14
1414 character filenames.
1415 * configure.in: Change accordingly.
1416
ef118278
TL
1417Mon Jan 10 15:48:36 1994 Tom Lord (lord@rtl.cygnus.com)
1418
1419 * m68k-stub.c, sparc-stub.c: removed spurious introduction of
1420 _filtered io routines from these two files.
1421
9d51b3c5
PS
1422Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1423
1424 * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h,
1425 config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET): Define.
1426 * mdebugread.c (parse_symbol): Handle enum sh.type produced by
1427 DEC c89.
1428 * mdebugread.c (add_line): Handle zero linenos produced by DEC c89.
1429
11ebf939
JK
1430Fri Jan 7 12:55:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1431
17d059d4
JK
1432 * utils.c (print_sys_errmsg): Call gdb_flush (gdb_stdout) before
1433 printing to gdb_stderr.
1434
1435 * remote-udi.c (udi_kill): Don't close the connection, just set
1436 inferior_pid to zero.
1437 (udi_mourn): Call remove_breakpoints.
1438
1439 * remote-udi.c: Remove obsolete need_artificial_traps comment.
1440
11ebf939
JK
1441 * i386b-nat.c (sregmap): If sEAX, etc., not defined, use tEAX, etc.
1442
fcbc95a7
JK
1443Thu Jan 6 07:17:53 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1444
d8a66e60
JK
1445 * symtab.c (lookup_symbol): Don't try adding .c to the name.
1446
e3a7e9d5
JK
1447 * remote-bug.c: At the start of each section, reset srec_frame
1448 back to 160.
1449
fcbc95a7
JK
1450 * target.h: Add TARGET_WAITKIND_LOADED and TARGET_WAITKIND_SPURIOUS.
1451 * target.c (store_waitstatus): Add CHILD_SPECIAL_WAITSTATUS hook.
1452 * infrun.c (wait_for_inferior): Replace SIGTRAP_STOP_AFTER_LOAD with
1453 code which looks for those two waitkinds. Use switch statement.
1454 * config/rs6000/tm-rs6000.h: Replace SIGTRAP_STOP_AFTER_LOAD with
1455 CHILD_SPECIAL_WAITSTATUS.
1456
1457 * procfs.c (procfs_wait): Fix argument name to match 4 Jan changes.
1458 * Move target_signal_from_host, target_signal_to_host, and
1459 store_waitstatus from inftarg.c to target.c. procfs needs them.
1460 * target.c: Include "wait.h" and <signal.h>.
1461 * target.h, infrun.c (proceed), proceed callers: Pass new code
1462 TARGET_SIGNAL_DEFAULT instead of -1. This avoids problems with
1463 enums being treated as unsigned and is cleaner.
1464 * infrun.c (signals_info): Don't print TARGET_SIGNAL_DEFAULT or
1465 TARGET_SIGNAL_0.
1466 * infcmd.c (signal_command), infrun.c (signals_info):
1467 Don't allow user to specify numeric equivalent of
1468 TARGET_SIGNAL_DEFAULT.
1469
7f85a716
SG
1470Tue Jan 4 15:34:36 1994 Stu Grossman (grossman@cygnus.com)
1471
1472 * config/alpha/alpha-netware.mt: New target support for Alpha
1473 running Netware.
1474 * configure.in: Add alpha-*-netware* target.
1475
5efb3899
SS
1476Tue Jan 4 14:51:35 1994 Stan Shebs (shebs@andros.cygnus.com)
1477
1478 * remote-mips.c (mips_wait): Fix ref to TARGET_WAITKIND_STOPPED.
1479
67ac9759
JK
1480Tue Jan 4 09:47:14 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1481
1482 * target.h: Add enum target_waitkind, enum target_signal, and
1483 struct target_waitstatus. Change status argument to target_wait to
1484 be struct target_waitstatus * instead of int *.
1485 * target.h, infrun.c, all targets: Change type of signal arguments
1486 to resume(), proceed(), and target_resume() from int to enum
1487 target_signal.
1488 * All targets (*_wait, *_resume): Change accordingly.
1489 * infcmd.c (program_info, signal_command), throughout infrun.c,
1490 * fork-child.c, solib.c, hppa-tdep.c, osfsolib.c: Use this stuff.
1491 * convex-xdep.c, convex-tdep.c: Add FIXME's (getting the Convex
1492 signal code stuff right with the new signals would be non-trivial).
1493 * inferior.h (stop_signal): Make it enum target_signal not int.
1494 * target.c, target.h (target_signal_to_string, target_signal_to_name,
1495 target_signal_from_name): New functions.
1496 * inftarg.c, target.h (target_signal_to_host, target_signal_from_host,
1497 store_waitstatus): New functions.
1498 * procfs.c (procfs_notice_signals): Use them.
1499 * i960-tdep.c (i960_fault_to_signal): New function, to replace
1500 print_fault.
1501 * config/i960/tm-i960.h: Don't define PRINT_RANDOM_SIGNAL.
1502
1503 * objfiles.c (build_objfile_section_table): Don't abort() if
1504 objfile->sections is already set.
1505
1506 * objfiles.c (add_to_objfile_sections): Check SEC_ALLOC not SEC_LOAD
1507 to match recent change to exec.c.
1508
1509 * Version 4.11.3.
1510
1511 * main.c (print_gdb_version): Change year to 1994.
1512
1513 * ChangeLog, ChangeLog-93: Split ChangeLog at 1994.
1514 * Makefile.in (NONSRC): Add ChangeLog-93.
1515
b35885f2
JK
1516Mon Jan 3 11:57:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1517
4b404661
JK
1518 * stabsread.c (read_type): Allow defining several type numbers
1519 at once (e.g. "(1,2)=(3,4)="...).
1520
eaba7fae
JK
1521 * stabsread.c (read_enum_type): Use TARGET_INT_BIT not sizeof (int).
1522
b35885f2
JK
1523 * breakpoint.c (frame_in_dummy): Check PC as well as frame.
1524
ae5c71d6
PS
1525Mon Jan 3 02:47:03 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1526
1527 * mdebugread.c (psymtab_to_symtab_1): Only pass N_STAB symbols
1528 to process_one_symbol.
1529 * symtab.c (find_pc_psymbol): Search global_psymbols as well to
1530 avoid caching a bad endaddr in find_pc_partial_function.
1531
d568b76a
JK
1532Sun Jan 2 21:41:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1533
1534 * config/m68k/tm-sun3.h: Don't define BELIEVE_PCC_PROMOTION.
1535
9ddb33a8
PS
1536Sat Jan 1 04:35:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1537
1538 * infrun.c (wait_for_inferior): Do not step or step resume past
1539 the end of a one-line function we just stepped into.
1540
67ac9759 1541For older changes see ChangeLog-93
bd5635a1
RP
1542\f
1543Local Variables:
1544mode: indented-text
1545left-margin: 8
1546fill-column: 74
1547version-control: never
1548End:
This page took 0.549647 seconds and 4 git commands to generate.